-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Metric - Error in collected metric http_server_duration
#737
Metric - Error in collected metric http_server_duration
#737
Comments
Hm, this seems like a mismatch between metrics somehow. Do we have the same metric in two places with mismatched help? |
Interesting, that metric seems to have changed. At head... # TYPE http_server_duration histogram
http_server_duration_bucket{http_flavor="HTTP/2",http_host="cartservice:7070",http_method="POST",http_scheme="http",http_status_code="200",http_target="/hipstershop.CartService/AddItem",job="opentelemetry-demo/cartservice",service_name="cartservice",service_namespace="opentelemetry-demo",telemetry_sdk_language="dotnet",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="1.4.0.665",le="0"} 0 1.3.0
However, I think what's happening is that these metrics are in head and 1.3, but what's happening is that they're racing each other. The problem is, the |
Keeping this open as we'll need to take the release from .NET which fixes it upstream. |
I tried taking the latest 1.4.0/1.0.0-rc9.14 from the .NET SDKs and still got the error. This PR should fix it. I will test it again after it's released. |
Looks like we need to manually request a release. open-telemetry/opentelemetry-dotnet-contrib#1063 (comment) @puckpuck would our ask be to update this to rc9.9? |
I worked with @martinjt on this ... and it turns out I was barking up the wrong tree and I misunderstood how .NET instrumentation packages were done 🤦 We still see this error because JS also had the same incorrect description that the .NET SDK had. I have this PR in the JS repo to address this. log entry from collector
|
The JS PR to fix this was merged (open-telemetry/opentelemetry-js#3710) |
we just need a new release now 🤞🏽 |
I believe this is all resolved now, and we can close this issue. |
Bug Report
Which version of the demo you are using?
6af2bdc.
Symptom
A clear and concise description of what the bug is.
What is the expected behavior?
I expect the sample to run without any errors.
What is the actual behavior?
After starting the sample, I started getting the following error on the OTel collector logs:
Reproduce
Clone the repo and simply run:
We will close this issue if:
Additional Context
The app runs normally, but from the logs it seems that some metrics are not being sent to Prometheus.
The text was updated successfully, but these errors were encountered: