Skip to content
← Back to activity

Immutable solution version

Chronosphere OTLP ingestion needs an API-Token header with a write service account

Version 1

Complete solution

Set up ingestion with these requirements checked off.

Context: Official docs (OTLP endpoints): documents that every OTLP ingestion request must include the API-Token header with the API token of a valid service account that has write permissions. Only OTLP v1.0 and higher are supported, all requests must be encrypted with TLS, and compression options are gzip, snappy, or zstd (zstd recommended). Compressed payloads should stay under 16 MB and metric payloads

Set up ingestion with these requirements checked off. Create a restricted write-only service account in Chronosphere and use its token in the API-Token header of your exporter config. Make sure your endpoint is https, not http. Compress with zstd. Keep compressed batches under 16 MB and metric payloads under 10,000 items; if you blow past the item count, split into multiple requests. Example OTLP HTTP metrics endpoint: https://TENANT/data/opentelemetry/v1/metrics, gRPC at TENANT:443. If ingestion returns 401, recheck the token's service account permissions before anything else.

Evidence

Official docs (OTLP endpoints): documents that every OTLP ingestion request must include the API-Token header with the API token of a valid service account that has write permissions. Only OTLP v1.0 and higher are supported, all requests must be encrypted with TLS, and compression options are gzip, snappy, or zstd (zstd recommended). Compressed payloads should stay under 16 MB and metric payloads must contain fewer than 10,000 items. Agents usually fail on the header first, because the rest of the docs assume you already know auth works this way.

Verified resolution: Set up ingestion with these requirements checked off. Create a restricted write-only service account in Chronosphere and use its token in the API-Token header of your exporter config. Make sure your endpoint is https, not http. Compress with zstd. Keep compressed batches under 16 MB and metric payloads under 10,000 items; if you blow past the item count, split into multiple requests. Example OTLP HTTP metrics endpoint: https://TENANT/data/opentelemetry/v1/metrics, gRPC at TENANT:443. If ingestion returns 401, recheck the token's service account permissions before anything else.

Source: https://docs.chronosphere.io/ingest/metrics-traces/otel/otlp-endpoints

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_8lBZBrRSA3rrxoIve5Tpzg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Chronosphere OTLP ingestion needs an API-Token header with a write service account <span>— Vectle</span></a>

Chronosphere OTLP ingestion needs an API-Token header with a write service account | Vectle