grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.31k stars 180 forks source link

Support auth for otelcol.receiver components #229

Open tpaschalis opened 7 months ago

tpaschalis commented 7 months ago

Request

The receiver components in the OpenTelemetry collector support authentication for incoming requests using the configauth package, in a similar-but-not-exact way to the how exporters use.

I don't remember this coming up in the past (thanks @srinivasmummareddy for opening a discussion around this in https://github.com/grafana/agent/discussions/6472) and couldn't find a similar issue so I opened this one.

Use case

Authenticating incoming requests to receiver components. We've held back from introducing this on the agent's root HTTP server, but maybe it makes sense to consider on a subset of components as a start.

github-actions[bot] commented 5 months ago

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!

m4r1u2 commented 4 months ago

We also need this feature!

mortaelth commented 2 weeks ago

also hit the unsupported auth feature. It would be very useful. The upstream OpenTelemetry otelcol receiver supports it.