Repository navigation
Backlog
Backlog
Copy link
Labels
Description
Problem
The Service map (beta) builds its nodes and edges from spans in a Traces source. Some teams can't or don't store every span, so they use the OpenTelemetry servicegraph connector to produce parent → child metrics instead:
traces_service_graph_request_totaltraces_service_graph_request_failed_totaltraces_service_graph_request_server_seconds/_client_seconds(histograms)
These are queried through a Prometheus-compatible endpoint with PromQL. Dashboard tiles can show them as time series and tables, but there is no way to draw them as a node-and-edge graph like the Service map. Teams that want a service-map view from metrics have to run a separate tool.
Use case
- See which services call which, with req/s, error rate and p95 per edge, for a chosen service and its upstream and downstream neighbours.
- Use the same interaction as the Service map: pick a service, set depth, colour nodes by error rate, latency or throughput.
- Keep the view inside ClickStack, next to the dashboards it complements.
Proposal
Any of these would meet the need. We would appreciate maintainer input on which fits the roadmap:
- A graph panel type for dashboards that takes node and edge data from a PromQL or SQL query.
- A data-source option for the Service map page so it can read from service_graph metrics instead of spans.
- Documentation of a recommended way to render service-graph metrics, if a built-in view is out of scope.
Known limitations we have seen
- The connector pairs client and server spans only when both reach the same collector instance within its store TTL. With several replicas, some edges are missed or appear as
server="unknown". A view built on these metrics inherits that gap, so the docs should say so. - Histogram-based p95 is an estimate, especially for short windows.
- The Service map and the metrics view can disagree because of sampling and pairing differences.
Environment
- ClickStack / HyperDX version: 2.47.0
- Metrics store: Prometheus-compatible (PromQL)
- Collector: OpenTelemetry Collector with the
servicegraphconnector
Questions
- Is a graph view over service_graph metrics in scope for ClickStack?
- If so, should it be a dashboard panel or a data source for the existing Service map?
- Is there a preferred way to handle missing edges from pairing gaps?
Service-map-style graph based on ServiceGraph metrics (please note this is on the basis of demo data)

Activity