You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to push logs from otelcol.exporter.olpthttp directly to a Loki 3.1.0 OTLP endpoint seems to fail i.e. logs are not acklowledged as being sent even though I can see the logs appear in Loki. This seems to be caused by Loki responding with a HTTP 204 which is not recognized as success by the oltphttp component.
I found a possible otel related upstream issue which was recently fixed:
This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
What's wrong?
Attempting to push logs from
otelcol.exporter.olpthttp
directly to a Loki 3.1.0 OTLP endpoint seems to fail i.e. logs are not acklowledged as being sent even though I can see the logs appear in Loki. This seems to be caused by Loki responding with aHTTP 204
which is not recognized as success by theoltphttp
component.I found a possible otel related upstream issue which was recently fixed:
open-telemetry/opentelemetry-cpp#2632
open-telemetry/opentelemetry-cpp#2712
If the
otlphttp
component is using this library then this would explain the above observation.When I introduce a Caddy proxy in between with the following config, the problem goes away!
Can alloy update to the latest
opentelementry-cpp
version to solve this?Steps to reproduce
System information
Linux grafana-alloy-1 6.1.92
Software version
Grafana Alloy v1.2.1
Configuration
Logs
The text was updated successfully, but these errors were encountered: