Component ยท Data side
amp-observer (agent-manager-observer)
BOTH Service Observability plane
What it is
amp-observer (agent-manager-observer) is Agent Manager's read-only service for telemetry. It returns traces, logs, build logs and metrics for agents, tags trace spans by type such as LLM call or tool call, and also offers an MCP endpoint. It sits in the observability plane and holds no data.
Why it exists
The console and CLI need one agent-focused API for telemetry, with Agent Manager's own permission checks, on top of OpenChoreo's general query service.
How it works
- Listens on port 9098. Endpoints include /api/v1/traces, /logs, /metrics and trace export.
- Forwards each query to the OpenChoreo observer with its own service token. It does not query OpenSearch itself.
- Checks the user's JWT for amp:observability scopes first.
- AMS is not in the trace read path.
- On Choreo Cloud it runs on cloud-dp-oc-ob and passes the caller's token through the cloud-obs-proxy, which pins queries to the caller's organization.
Identity and access
Callers send a Bearer JWT with amp:observability scopes. Tokens meant for evaluation publishers are limited to reading traces. Towards OpenChoreo it uses its own client am-observer-client (client_credentials).
Key facts
- Port
- 9098
- Language
- Go
- Namespace
- openchoreo-observability-plane
- Side
- Observability plane
Talks to (2)
- calls OC observer Observer is a stateless facadeHTTP :8080 /api/v1alpha1/traces/query, /api/v1/logs/query
- calls cloud-obs-proxy SaaS observer reads through proxyHTTPS /wso2cloud-obs
Used by (4)
- called by Console (React SPA) Traces, logs, metrics read directly; URL from GET /api/v1/configHTTP :9098
- called by amctl CLI logs, metrics, tracesHTTP :9098
- called by agent-manager-service (AMS) Monitor run logs onlyHTTP :9098
- called by evaluation-job Fetch tracesHTTP :9098 /api/v1/traces/export
Inside and around
Part of: cloud-dp-oc-ob (observability plane)