For best results, ingest telemetry through a local OpenTelemetry Collector
for processing and batching. Sending telemetry directly from an OpenTelemetry SDK
can be less reliable.
Requirements
Your OTLP configuration must meet certain requirements.API-Tokenheader: All requests must include theAPI-TokenHTTP header, and its value must be the API token of a valid service account with write permissions.- OTLP version support: Only v1.0 and higher are supported.
- Supported compression methods: Cortex XCOR supports
gzip,snappy, andzstdcompression, and recommendszstd. - Encryption: All requests must be encrypted using TLS.
Recommendations
Cortex XCOR recommends setting the timeout value for a logs request to 30 seconds, and to enable retries to prevent transient network errors from causing data loss.OTLP endpoint URLs
Cortex XCOR provides HTTP endpoints for logs, metrics, and traces.TENANT: The name of your Cortex XCOR tenant.
OpenTelemetry exporters complete the path based on the telemetry type. For the
otlphttp exporter, set the endpoint base path as follows: