
OpenTelemetry endpoint
Openlayer accepts OTel traces at the following endpoint:https://api.openlayer.com/v1/otel
.
This endpoint uses the OTLP protocol and expects telemetry data in protobuf format over HTTPS.
Most OTel-instrumented SDKs use this format by default, but be sure to check your SDK’s documentation
to confirm your setup.
To send OTel data to Openlayer, configure your SDK to use the endpoint above and include
the correct authentication headers. This is typically done using the environment variables shown below.
If you use an OTel Collector that requires signal-specific environment
variables, the export endpoint must be
https://api.openlayer.com/v1/otel/v1/traces
.Property mapping
When Openlayer receives OTel data, it transforms it into its own trace format. This involves mapping properties from the GenAI semantic convention and popular frameworks into Openlayer’s trace data model.The OTel GenAI semantic convention is still evolving. If an integration does
not work as expected or if Openlayer does not parse all attributes correctly,
please reach out.