-
Notifications
You must be signed in to change notification settings - Fork 410
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 Cpp Metrics with OTLP gRPC Exporter #1967
Comments
Which platform? I can successfully currencyservice from your branch on ubuntu 20.04. |
Oh, really? But the Dockerfile is using Alpine. |
I see 😢 Thanks for taking a look @lalitb 🤩 |
@lalitb is the OTLP Metric exporter actually working on release |
@julianocosta89 yes it is GA. What issue do you see in OTLP export? |
I don't see... That's the issue 😅 Do I need to use the |
Tried also the HTTP one, but then I couldn't find the temporality... It was a long day 😕 |
Did you follow the example here for gRPC OTLP - https://github.com/open-telemetry/opentelemetry-cpp/blob/main/examples/otlp/grpc_metric_main.cc. |
If these are still the build issues, they should be related to Alpine as it provides binary package for grpc, and we haven't tested this env. |
I'll try this out. Thx again for the Help @lalitb! |
Thanks for the help again @lalitb. |
request for assistance
I'm trying to add metrics to the OTel demo, but I'm struggling for some time.
Would someone be able to shed some light in my path?
I have everything that I've added in a branch: https://github.com/julianocosta89/opentelemetry-demo/tree/cpp-metrics/src/currencyservice
And the detailed changes below:
I'm using OTel version
1.8.2
I've added to the
target_link_libraries
the following:And at the moment I have everything in a single header file, just to test it out:
Whenever I try to build the sample, I'm getting:
Any ideas what am I missing?
The text was updated successfully, but these errors were encountered: