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

OTEL_EXPORTER_OTLP_HEADERS is not support by opentelemetry-spring-boot-starter #300

Closed
brunorabaca opened this issue Jan 10, 2024 · 4 comments

Comments

@brunorabaca
Copy link

Hello,

OTEL_EXPORTER_OTLP_HEADERS is not support by
opentelemetry-spring-boot-starter 1.32.0-alpha

I've tryed with environment variable
OTEL_EXPORTER_OTLP_HEADERS=api-key=xxx
and vm option
-Dotel.exporter.otlp.headers=api-key=xxx

With both got this error:
Failed to export metrics. Server responded with gRPC status code 16. Error message:

Dependencyes
<dependencyManagement> <dependencies> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-bom</artifactId> <version>1.34.0</version> <type>pom</type> </dependency> <dependency> <groupId>io.opentelemetry.instrumentation</groupId> <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId> <version>1.32.0-alpha</version> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.opentelemetry.instrumentation</groupId> <artifactId>opentelemetry-spring-boot-starter</artifactId> </dependency> </dependencies>

@jeanbisutti
Copy link
Member

@brunorabaca This feature should be supported from the next OTel Java instrumentation release (open-telemetry/opentelemetry-java-instrumentation#9950), thanks to @zeitlinger. Did you plan to create or update an example in this example repo or just wanted to report a missing/not working feature?

@jeanbisutti jeanbisutti added the needs author feedback Waiting for additional feedback from the author label Jan 10, 2024
@brunorabaca
Copy link
Author

@jeanbisutti Thanks for the reply.
Just to report a missing feature.
Any ETA for the new release?

@github-actions github-actions bot removed the needs author feedback Waiting for additional feedback from the author label Jan 10, 2024
@trask
Copy link
Member

trask commented Jan 10, 2024

Any ETA for the new release?

hopefully by end of this week

@brunorabaca
Copy link
Author

@jeanbisutti @trask
Thanks for all the help!

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

3 participants