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

Resource is not populated to OTLP proto data #757

Closed
ThomsonTan opened this issue May 15, 2021 · 0 comments · Fixed by #758
Closed

Resource is not populated to OTLP proto data #757

ThomsonTan opened this issue May 15, 2021 · 0 comments · Fixed by #758
Assignees
Labels
bug Something isn't working

Comments

@ThomsonTan
Copy link
Contributor

In previous PR #706, resource is passed to exporter recordable structure, but it is still not populated to proto::collector::trace::v1::ExportTraceServiceRequest, so the OTLP receiver will not get any resource from the OpenTelemetry C++ SDK.

Steps to reproduce
Run example_otlp and OpenTelemetry collector with OTLP collector.

What is the expected behavior?
We should see "Resource labels" in the receive data.

What is the actual behavior?
No "Resource labels" sent to OpenTelemetry collector.

Additional context
Add any other context about the problem here.

@ThomsonTan ThomsonTan added the bug Something isn't working label May 15, 2021
@ThomsonTan ThomsonTan self-assigned this May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant