Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTelemetry authentication #42

Open
sonOfRa opened this issue Nov 18, 2022 · 0 comments
Open

OpenTelemetry authentication #42

sonOfRa opened this issue Nov 18, 2022 · 0 comments

Comments

@sonOfRa
Copy link
Contributor

sonOfRa commented Nov 18, 2022

While #40 adds support for OpenTelemetry-based tracing, for now all 3 interaction points lack authentication:

  • Jaeger UI
  • Jaeger collector endpoint
  • OpenTelemetry collector endpoint

The Jaeger UI cannot be secured on its own, but this is easily doable via any HTTP reverse proxy that supports OIDC.
The collector endpoints.

The Jaeger collection endpoint also does not support authentication out of the box, but there are some blog posts by the developers that outline how it could be done: https://medium.com/jaegertracing/protecting-the-collection-of-spans-1948d88682e5

The OTEL collector endpoint supports OIDC out of the box: https://opentelemetry.io/docs/collector/configuration/#authentication, but the agent does not. It looks like the suggested way of doing things is having the collector on localhost (or a sidecar) of the application, where only the application can talk to the collector. The collector then forwards them to Jaeger. This whole setup needs some proper investigation to see how and if it all works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant