Skip to content

Commit

Permalink
apply_to_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Aug 2, 2023
1 parent a51b5de commit d07c5f7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion schema-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,35 @@ versions:
next:
metrics:
changes:
# https://github.com/open-telemetry/opentelemetry-specification/pull/3464
# https://github.com/open-telemetry/semantic-conventions/pull/20
- rename_attributes:
attribute_map:
type: jvm.memory.type
pool: jvm.memory.pool.name
apply_to_metrics:
- process.runtime.jvm.memory.usage
- process.runtime.jvm.memory.committed
- process.runtime.jvm.memory.limit
- process.runtime.jvm.memory.usage_after_last_gc
- process.runtime.jvm.memory.init
- rename_attributes:
attribute_map:
name: jvm.gc.name
action: jvm.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: jvm.buffer.pool.name
apply_to_metrics:
- process.runtime.jvm.buffer.usage
- process.runtime.jvm.buffer.limit
- process.runtime.jvm.buffer.count
1.21.0:
spans:
changes:
Expand Down

0 comments on commit d07c5f7

Please sign in to comment.