Closed julianocosta89 closed 8 months ago
If you look at the metrics endpoint on the collector then search for the name of the metric then you should see one with the description and the one without. Might just need an update for Java agent across things...
@austinlparker sorry about my ignorance 😅 , but how do I look at the metrics endpoint on the collector?
Hi, I'm using v1.4 and also came across this. Is there anything to solve this?
@trask any ideas how to proceed here? The error is happening because the Java-Instrumentation is setting a description on the metric: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/4eddec07fca5701e82ffbf15e70b3141181a65da/instrumentation-api-semconv/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/rpc/RpcServerMetrics.java#L42
The other services that produce the same metric do not set that description: productcatalog
and checkoutservice
both implemented in Go.
I also saw that we have this issue opened in the collector: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/20885
But I don't think the issue is there.
all language instrumentation should be emitting the description that's listed in the RPC metrics semantic conventions, and then all the descriptions will match and the collector should no longer emit this warning.
unfortunately it looks like none of the instrumentations are emitting the correct description (Java is emitting an old description).
I just sent https://github.com/open-telemetry/semantic-conventions/pull/275 to suggest changes to the RPC metric descriptions. once this is resolved, I think all languages will need to update the description they emit to make this collector warning go away
I'm seeing another variation of what it seems to be the same issue: https://github.com/open-telemetry/opentelemetry-collector/issues/8340 . Any ETA on the fix? Thanks!
The initial issue is fixed, and we are further tracking all SDK metrics issues in #1147
Closing this one
Bug Report
Which version of the demo you are using? 51dcd8b4f7e3e915dd3a4436715f7c4146766f25.
Symptom
A clear and concise description of what the bug is.
Demo is up and running, but collector is raising an issue every now and then.
What is the expected behavior?
I dosn't expect to see any error.
What is the actual behavior?
otel-col
is logging the following:Reproduce
We will close this issue if:
Additional Context
Add any other context about the problem here.