Jaeger: Add service dependency graph support (#72200)

* Jaeger: Add service dependency graph support

Add support for visualizing Jaeger's service dependency graph via the
Jaeger data source. Per the discussion[1], this is done by proxying the
internal Jaeger HTTP API endpoint used by Jaeger's own UI for fetching
graph data, and transforming it into a format suitable for the node
graph panel in Grafana.

---
[1] https://github.com/grafana/grafana/discussions/52035

* Small lint fixes

* Type fix

---------

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
This commit is contained in:
Máté Szabó
2024-01-15 13:02:00 +01:00
committed by GitHub
co-authored by Andrej Ocenas
parent 6a36525d61
commit e2b706fdd3
6 changed files with 258 additions and 1 deletions
@@ -369,3 +369,8 @@ To configure this feature, see the [introduction to exemplars][exemplars] docume
[variable-syntax]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/dashboards/variables/variable-syntax"
[variable-syntax]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/dashboards/variables/variable-syntax"
{{% /docs/reference %}}
## Visualizing the dependency graph
If service dependency information is available in Jaeger, it can be visualized in Grafana.
Use the Jaeger data source with the "Dependency Graph" query type on a Node Graph panel for this.