Agent tool calls in your observability stack
Operators can now see agent tool calls in Datadog, Honeycomb, Grafana or any other backend that
accepts OpenTelemetry. Set one variable on apiome-mcp and every tools/call arrives as a trace and
two metrics.
- One trace per call. An
apiome.agent.invocationspan carries the same facts as the call's audit row: workspace, key id, toolset, tool, target, outcome, error code, HTTP status, latency and sizes. It hasvault.resolveandupstream.requestchild spans, so you can see whether time went to opening the credential or to the API. - Joined to the agent's trace. A
traceparentfrom the caller (HTTP header or_meta) makes the span part of the caller's trace, and the caller's sampling decision is honoured. - Exact metrics.
apiome.agent.invocationsandapiome.agent.latency_mscount every call whatever the trace sampling ratio (25% by default). They are labelled without the key id, so they stay cheap in any backend. - Nothing sensitive leaves. Arguments, bodies, headers, URLs and credentials are never exported, and a broken collector never fails or slows a call.
Set APIOME_MCP_OTEL_EXPORTER_OTLP_ENDPOINT to your collector to start. See
Agent telemetry for the settings, the attribute table and recipes for
Datadog, Grafana and Honeycomb.
