Skip to content

Commit

Permalink
Add cpu frequency metric
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Oct 4, 2023
1 parent 2c065be commit d5cd8c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ release.
([#350](https://github.com/open-telemetry/semantic-conventions/pull/350))
- Improve network attribute briefs.
([#352](https://github.com/open-telemetry/semantic-conventions/pull/352))
- Add `system.cpu.frequency` metric.
([#337](https://github.com/open-telemetry/semantic-conventions/pull/337))

## v1.21.0 (2023-07-13)

Expand Down
9 changes: 9 additions & 0 deletions model/metrics/system-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ groups:
- ref: system.cpu.state
- ref: system.cpu.logical_number

- id: metric.system.cpu.frequency
type: metric
metric_name: system.cpu.frequency
brief: "Reports the current frequency of the CPU core in MHz"
instrument: gauge
unit: "{MHz}"
attributes:
- ref: system.cpu.logical_number

- id: metric.system.cpu.physical.count
type: metric
metric_name: system.cpu.physical.count
Expand Down

0 comments on commit d5cd8c7

Please sign in to comment.