Skip to content

Commit

Permalink
add namespace to jvm metric attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Jun 23, 2023
1 parent 9b45531 commit eef5a16
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions schemas/1.21.0
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,33 @@ versions:
# https://github.com/open-telemetry/semantic-conventions/pull/53
- rename_metrics:
process.runtime.jvm.cpu.utilization: process.runtime.jvm.cpu.recent_utilization
# https://github.com/open-telemetry/opentelemetry-specification/pull/3464
- rename_attributes:
attribute_map:
memory: memory.type
pool: memory.pool.name
apply_to_metrics:
- metric.process.runtime.jvm.memory.usage
- metric.process.runtime.jvm.memory.init
- metric.process.runtime.jvm.memory.committed
- metric.process.runtime.jvm.memory.limit
- metric.process.runtime.jvm.memory.usage_after_last_gc
- rename_attributes:
attribute_map:
name: gc.name
action: gc.action
apply_to_metrics:
- process.runtime.jvm.gc.duration
- rename_attributes:
attribute_map:
daemon: thread.daemon
apply_to_metrics:
- process.runtime.jvm.threads.count
- rename_attributes:
attribute_map:
pool: buffer.pool.name
apply_to_metrics:
- attributes.process.runtime.jvm.buffer
1.20.0:
spans:
changes:
Expand Down

0 comments on commit eef5a16

Please sign in to comment.