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

support auth header? #94

Open
ddatsh opened this issue Feb 28, 2025 · 3 comments
Open

support auth header? #94

ddatsh opened this issue Feb 28, 2025 · 3 comments

Comments

@ddatsh
Copy link

ddatsh commented Feb 28, 2025

http {
    otel_exporter {
        endpoint "http://your-otel-collector-endpoint";
        header "Authorization" "Bearer your-auth-token";
    }

nginx: [emerg] unknown directive "header" in "otel_exporter"

@p-pautov
Copy link
Contributor

How do you obtain the module? These changes might not have been published in prebuilt binaries.

@richshadman
Copy link

I am unable to use this either, currently using the otel image from nginx docker (nginx:bookworm-otel). I thought it had not been released yet?

@TitanFighter
Copy link

TitanFighter commented Mar 11, 2025

Hi @p-pautov

I see you already added support for custom headers in this commit and in this one. Thanks a lot!

I have a question: can you release a new version of nginx-otel (v0.1.2 I suppose) and add a new Nginx image with updated Otel support to the official docker hub page? Currently otel version of nginx uses nginx-otel v0.1.1 (ie without headers).

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

4 participants