Skip to content

lindeskar/otelcol-31018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistent Queue in Loki exporter breaks Headers Setter extension

Repo for testing issue: open-telemetry/opentelemetry-collector-contrib#31018

The Loki exporter in combination with the Headers Setter extension seems to break when adding the sending_queue.storage config.

Testing

Run:

docker-compose down --remove-orphans && docker-compose up

Query Loki:

logcli --org-id foobar query '{exporter="OTLP"}'

Enabling sending_queue.storage in otelcol_config.yaml causes:

otelcol-1       | 2024-02-02T15:14:01.829Z      error   exporterhelper/common.go:95     Exporting failed. Dropping data.        {"kind": "exporter", "data_type": "logs", "name": "loki/loki_gateway", "error": "not retryable error: Permanent error: HTTP 401 \"Unauthorized\": no org id", "dropped_items": 179}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published