The service map requires trace data to exist. If you have just created your account or have not yet ingested any traces, the map will be empty. Start the quickstart to send your first trace.
How it works
Every time a span is ingested, AgentVista records itsparent_span_id. When a span from service A has a child span in service B, that means A called B. The service map aggregates all of these parent-child relationships across all your traces and renders them as a directed graph:
- Nodes represent individual services and agents
- Edges represent call relationships, directed from caller to callee
- Edge weight is the number of spans that crossed that relationship (call volume)
Node types
Every node has anode_type derived from the span type that produced it:
| Node type | Produced by span type | Examples |
|---|---|---|
agent | agent spans | Your AI agents instrumented with the AgentVista SDK |
service | http spans | REST APIs, microservices, internal HTTP services |
database | db spans | PostgreSQL, Redis, any database query span |
external | custom spans | Third-party APIs, external services |
Time range filtering
By default, the map shows topology derived from traces in the last 24 hours. You can change this using thehours query parameter:
API response format
id and name match the service name or agent name used in the span data. The span_count tells you how active that node was in the selected time window. Edge weight reflects the number of spans observed crossing that relationship.
Common use cases
Dependency discovery
Ask “which services does my agent depend on?” — the map shows you every downstream dependency your agent touches, including any you may have missed during development.
Traffic flow analysis
See how traffic flows through your system. Identify which services carry the most call volume and which are potential bottlenecks.
Unexpected connections
Spot call relationships you did not expect — for example, an agent calling a service it should not, or a service making calls to an external API that bypasses your intended architecture.
Incident scoping
When an agent starts failing, check the service map to quickly identify which downstream services are in its call path and narrow down where the problem may originate.