AI agent spans recorded with the AgentVista SDK and infrastructure spans sent
over OTLP appear together in a single unified trace. This is the core value of
the platform: one view of what your agents and your infrastructure did during
the same request.
Endpoints
| Signal | Method | URL |
|---|---|---|
| Traces | POST | https://api.agentvista.dev/api/v1/otlp/v1/traces |
| Metrics | POST | https://api.agentvista.dev/api/v1/otlp/v1/metrics |
| Logs | POST | https://api.agentvista.dev/api/v1/otlp/v1/logs |
Authorization: Bearer av_... header.
The service.name resource attribute on each incoming payload is used to identify the service or agent in the AgentVista UI. Set it to a meaningful name so your services appear correctly in the service map and trace views.
Configuration
- OpenTelemetry SDK (Python)
- OpenTelemetry Collector
Configure the OTLP exporter to point at AgentVista when you set up your
tracer provider:From this point, any span created via
trace.get_tracer(__name__) is
automatically exported to AgentVista. No other changes to your service are
needed.For metrics, use OTLPMetricExporter from
opentelemetry.exporter.otlp.proto.http.metric_exporter with the same
endpoint and headers. For logs, use OTLPLogExporter from
opentelemetry.exporter.otlp.proto.http._log_exporter.Correlating agents with infrastructure
When both the AgentVista SDK and OTLP data flow into the platform, traces can span your entire stack in a single waterfall view — from the user request through the agent orchestrator, through every LLM call, all the way down to the database query that determined the result.How correlation works
The AgentVista SDK injects a W3Ctraceparent header on outbound requests via agentvista.inject_traceparent(headers). Any downstream service instrumented with standard OpenTelemetry will automatically propagate this header and include it in the spans it exports. When those OTLP spans arrive at AgentVista they are stitched into the same trace by trace_id.
payments-api is instrumented with the OpenTelemetry Python SDK (or any OTel-compatible library), its spans automatically appear as children of the order-processor trace in AgentVista — no additional configuration needed.