Skip to content

Commit

Permalink
add cpu count to system metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
  • Loading branch information
frzifus committed Jun 8, 2023
1 parent 4456e4d commit 7f076c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ release.
attributes for GCP Compute Engine VMs. ([#15](https://github.com/open-telemetry/semantic-conventions/pull/15))
- Add note that HTTP duration metrics should match HTTP span duration.
([#69](https://github.com/open-telemetry/semantic-conventions/pull/69))
- Add `system.cpu.count` metric.
([#99](https://github.com/open-telemetry/opentelemetry-specification/pull/99))
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ instruments not explicitly defined in the specification.
| | | | | | cpu | CPU number [0..n-1] |
| system.cpu.utilization | Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of CPUs | 1 | Gauge | Double | state | idle, user, system, interrupt, etc. |
| | | | | | cpu | CPU number (0..n) |
| system.cpu.count | Reports the and number of available CPUs - may changes over time | 1 | UpDownCounters | Int64 | device | (identifier e.g. `machine-id`) |

### `system.memory.` - Memory metrics

Expand Down

0 comments on commit 7f076c4

Please sign in to comment.