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

OTLP gRPC metrics exporter fails to connect #1593

Closed
ahadnagy opened this issue Sep 5, 2022 · 1 comment · Fixed by #1598
Closed

OTLP gRPC metrics exporter fails to connect #1593

ahadnagy opened this issue Sep 5, 2022 · 1 comment · Fixed by #1598
Assignees
Labels
bug Something isn't working

Comments

@ahadnagy
Copy link
Contributor

ahadnagy commented Sep 5, 2022

Hi,

I was trying to use the metrics gRPC exporter, but I can't seem to get it to work.

I'm getting a connection error:

[Error] File: [OMITTED]/opentelemetry-cpp-src/exporters/otlp/src/otlp_grpc_metric_exporter.cc:151[OTLP METRIC GRPC Exporter] Export() failed: failed to connect to all addresses

The collector service is running, and I'm able to export traces with the same setup. Similarly, I'm able to export metrics using the OTLP HTTP exporter.

Is there anything else that's needed to get the gRPC exporter working, or this is bug?

@ahadnagy ahadnagy added the bug Something isn't working label Sep 5, 2022
@lalitb lalitb self-assigned this Sep 5, 2022
@lalitb lalitb added this to the Metrics v1.0.0 (GA) milestone Sep 5, 2022
@lalitb
Copy link
Member

lalitb commented Sep 8, 2022

@ahadnagy - Have added the OTLP gRPC example in PR #1598. The metrics export should work using new version of Collector.

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.

2 participants