Component ยท Data side
OTel collector
BOTH Component Observability plane
What it is
The OpenTelemetry collector receives traces from agents and writes them where they can be searched. It accepts OTLP over HTTP on port 4318, stores traces in OpenSearch, and turns span counts into a Prometheus metric.
Why it exists
Agents emit traces in a standard format. One collector gives the platform a single entry point and a place to attach context.
How it works
- Receives OTLP/HTTP at port 4318, sent by the gateway's /otel route.
- A processor adds attributes to each trace, such as component, environment, project and namespace, taken from request headers.
- Exports to the OpenSearch index otel-traces, which is created daily.
- A count connector feeds the metric amp_agent_trace_spans into Prometheus.
Identity and access
The collector does not check tokens. The gateway has already authenticated the sender on the /otel route.
Key facts
- Port
- 4318 (OTLP/HTTP)
- Index
- otel-traces
- Namespace
- openchoreo-observability-plane
- Side
- Observability plane
Talks to (2)
- sends telemetry to OpenSearch Trace storageHTTPS 9200 index otel-traces
- sends telemetry to Prometheus amp_agent_trace_spansmetrics 8889 count connector
Used by (2)
- receives telemetry from API Platform Gateway runtime (APG) Trace ingressOTLP/HTTP :4318 /otel/v1/traces
- called by RestApi <gw>-otel-restapi Forwards authenticated tracesOTLP/HTTP :4318