jaeger_get_dependencies
Retrieve service dependency graphs from Jaeger to analyze call patterns, identify high-traffic connections, and verify service topology within specified time windows.
Instructions
Retrieve the service-to-service call graph from Jaeger.
Wraps GET /api/dependencies. Returns directed edges (parent → child)
with call_count — the number of spans where parent called child in
the lookback window.
Use this to understand service topology, find high fan-out services, or verify that a new service is connected as expected.
Examples:
- Use when: "What services does order-service call?"
→ check edges where parent='order-service'.
- Use when: "Map the full service dependency graph for the last 7 days"
→ lookback_hours=168.
- Use when: "Which services are called most frequently?"
→ sort edges by call_count descending.
- Don't use when: You want detailed span timings (use
jaeger_search_traces + jaeger_get_trace instead).
- Don't use when: You need real-time data — Jaeger's dependency graph
is aggregated and may lag by minutes.
Returns:
dict with end_ts_us / lookback_hours / edge_count /
edges (list of {parent, child, call_count}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ts | No | End timestamp in microseconds since Unix epoch UTC (optional). Defaults to now. Example: 1713400000000000. | |
| lookback_hours | No | Number of hours to look back from end_ts (1-720, default 24). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ts_us | Yes | ||
| lookback_hours | Yes | ||
| edge_count | Yes | ||
| edges | Yes |