Help us improve
Share bugs, ideas, or general feedback.
From cce-grafana
Queries Prometheus and Loki billing metrics via Grafana API for active series, ingestion rates, storage usage, cardinality, and observability costs.
npx claudepluginhub nodnarbnitram/claude-code-extensions --plugin cce-grafanaHow this skill is triggered — by the user, by Claude, or both
Slash command
/cce-grafana:grafana-billingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query key billing metrics from Prometheus and Loki through Grafana's data source proxy API.
Provides Prometheus queries and templates for SLO/SLI definitions on availability/latency, error budget calculations, and burn rate alerting for service reliability.
Generates PromQL queries, alerting/recording rules, and Prometheus dashboards via interactive workflow clarifying goals, metrics, and use cases like Grafana viz or troubleshooting.
Analyzes Prometheus metric DPM rates for Grafana Cloud stacks to identify high data points per minute drivers with per-label breakdowns. Uses gcx for stack discovery and presents sorted tables.
Share bugs, ideas, or general feedback.
Query key billing metrics from Prometheus and Loki through Grafana's data source proxy API.
# Query both staging and prod (default)
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py
# Query specific environment
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py --env staging
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py --env prod
# JSON output for automation
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py --json
# Filter to specific service
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py --service prometheus
uv run ${CLAUDE_PLUGIN_ROOT}/skills/grafana-billing/scripts/billing_metrics.py --service loki
GRAFANA_STAGING_API_KEY - API key for staging Grafana workspaceGRAFANA_PROD_API_KEY - API key for prod Grafana workspace| Metric | Description |
|---|---|
| Active Time Series | Current count of active series (billing dimension) |
| Samples/sec | Ingestion rate (DPM = samples/sec * 60) |
| TSDB Storage | On-disk storage bytes |
| Top Cardinality | Top 10 metrics by series count |
| Metric | Description |
|---|---|
| Ingestion Rate | GB/day being ingested |
| Total Bytes | Cumulative bytes received |
| Active Streams | Number of active log streams |
| Memory Chunks | Chunks held in memory |
Use this skill when the user asks about:
--json flag when you need to process the output programmatically