-
Notifications
You must be signed in to change notification settings - Fork 871
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
Inconsistency on non_heap
vs. nonheap
value for memory metrics
#7876
Closed
AlexanderWert opened this issue
Feb 22, 2023
· 4 comments
· Fixed by open-telemetry/opentelemetry-specification#3250
Closed
Inconsistency on non_heap
vs. nonheap
value for memory metrics
#7876
AlexanderWert opened this issue
Feb 22, 2023
· 4 comments
· Fixed by open-telemetry/opentelemetry-specification#3250
Labels
bug
Something isn't working
Comments
@jack-berg should we change semantic conventions or the code? |
+1 on using i'll send a spec PR to float the proposal |
Agreed on |
carlosalberto
closed this as completed
in
open-telemetry/opentelemetry-specification#3250
Feb 24, 2023
carlosalberto
added a commit
to open-telemetry/opentelemetry-specification
that referenced
this issue
Feb 24, 2023
Fixes open-telemetry/opentelemetry-java-instrumentation#7876 (the implementation used `non_heap`, which seems better) ## Changes Renames JVM metric attribute value from `nonheap` to `non_heap`. --------- Co-authored-by: Carlos Alberto Cortez <[email protected]>
done, thx for noticing this @AlexanderWert! |
jsuereth
pushed a commit
to jsuereth/opentelemetry-specification
that referenced
this issue
Feb 28, 2023
Fixes open-telemetry/opentelemetry-java-instrumentation#7876 (the implementation used `non_heap`, which seems better) ## Changes Renames JVM metric attribute value from `nonheap` to `non_heap`. --------- Co-authored-by: Carlos Alberto Cortez <[email protected]>
jsuereth
pushed a commit
to jsuereth/otel-semconv-test
that referenced
this issue
Apr 19, 2023
Fixes open-telemetry/opentelemetry-java-instrumentation#7876 (the implementation used `non_heap`, which seems better) ## Changes Renames JVM metric attribute value from `nonheap` to `non_heap`. --------- Co-authored-by: Carlos Alberto Cortez <[email protected]>
jsuereth
pushed a commit
to open-telemetry/semantic-conventions
that referenced
this issue
May 11, 2023
Fixes open-telemetry/opentelemetry-java-instrumentation#7876 (the implementation used `non_heap`, which seems better) ## Changes Renames JVM metric attribute value from `nonheap` to `non_heap`. --------- Co-authored-by: Carlos Alberto Cortez <[email protected]>
6 tasks
carlosalberto
added a commit
to carlosalberto/opentelemetry-specification
that referenced
this issue
Oct 31, 2024
Fixes open-telemetry/opentelemetry-java-instrumentation#7876 (the implementation used `non_heap`, which seems better) ## Changes Renames JVM metric attribute value from `nonheap` to `non_heap`. --------- Co-authored-by: Carlos Alberto Cortez <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Describe the bug
In the semantic conventions for JVM runtime metrics (on the
process.runtime.jvm.memory.*
metrics) the attribute values for thetype
attribute are defined asheap
andnonheap
.Here (in the Java instrumentation) the values are
heap
andnon_heap
(with underscore!) which is not what the semantic conventions define:opentelemetry-java-instrumentation/instrumentation/runtime-metrics/library/src/main/java/io/opentelemetry/instrumentation/runtimemetrics/MemoryPools.java
Line 50 in 335e36d
Steps to reproduce
Run the Java agent and observe the JVM memory metrics.
What did you expect to see?
The attribute values for
type
to be aligned with the semantic conventions.What did you see instead?
non_heap
instead ofnonheap
What version are you using?
1.23.0
Environment
not relevant
Solution alternatives
Since this aspect of the semantic conventions only affects Java, Option 2 seems to be the simpler and less intrusive approach.
The text was updated successfully, but these errors were encountered: