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

otlphttp export metric lost resource attributes #9961

Open
halleystar opened this issue Apr 13, 2024 · 3 comments
Open

otlphttp export metric lost resource attributes #9961

halleystar opened this issue Apr 13, 2024 · 3 comments

Comments

@halleystar
Copy link

Describe the bug
otlphttp export metric lost resource attributes

Steps to reproduce
when use otlphttp export metric, there has no resource attributes

What did you expect to see?
when use otlphttp export metric, want the resource attributes

What did you see instead?
when use otlphttp export metric, there has no resource attributes

What version did you use?
0.98.0

What config did you use?

Environment

Additional context

@halleystar halleystar added the bug Something isn't working label Apr 13, 2024
@TylerHelmuth
Copy link
Member

@halleystar are you saying that data exported by the otlphttpexporter have no resource attributes or that the metrics emitted by the otlphttpexporter don't have resource attributes?

@TylerHelmuth TylerHelmuth added need more info and removed bug Something isn't working labels Apr 16, 2024
@halleystar
Copy link
Author

When I export metrics using otlphttpexporter, there is no resource attribute in the metric labels

@TylerHelmuth
Copy link
Member

Please add the debugexporter with verbosity: detailed and check in the collector logs if you have resource attributes.

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

No branches or pull requests

3 participants