Skip to content

Add Grafana dashboard JSON for MCP aggregator#25

Merged
rockfordlhotka merged 1 commit into
mainfrom
add-grafana-dashboard
May 12, 2026
Merged

Add Grafana dashboard JSON for MCP aggregator#25
rockfordlhotka merged 1 commit into
mainfrom
add-grafana-dashboard

Conversation

@rockfordlhotka
Copy link
Copy Markdown
Member

Summary

  • Adds k8s/grafana-dashboard.json — the Grafana dashboard for the live aggregator (overview stats, tool usage, latency, connection health, HTTP traffic, traces, logs)
  • Prometheus queries use job="mcp-aggregator" (alloy's otelcol.exporter.prometheus maps OTel service.name onto Prom's job label and does not promote it to a service_name series label). Loki queries keep service_name="mcp-aggregator" (Loki exporter does promote it); Tempo uses resource.service.name.

Test plan

  • Verified metrics are flowing into Prometheus (mcp_tool_invocations_total, mcp_active_connections, mcp_tool_invocation_duration_seconds_*, connection counters)
  • Pasted JSON into Grafana → Save → panels now populate

🤖 Generated with Claude Code

Prometheus queries use the `job` label (set from OTel service.name by
alloy's prometheus exporter) rather than `service_name`, which is not
promoted to a per-series label. Loki and Tempo queries use their native
service.name label/attribute.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rockfordlhotka rockfordlhotka merged commit 5a3408a into main May 12, 2026
1 check failed
@rockfordlhotka rockfordlhotka deleted the add-grafana-dashboard branch May 12, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant