opentelemetry-collector
opentelemetry-collector copied to clipboard
otlphttp export metric lost resource attributes
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 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?
When I export metrics using otlphttpexporter, there is no resource attribute in the metric labels
Please add the debugexporter with verbosity: detailed and check in the collector logs if you have resource attributes.