Skip to content

Commit

Permalink
set cpu load unit to "{run_queue_item}" to match open-telemetry/seman…
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Jun 20, 2023
1 parent 0efa8ce commit 0eb0e83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void registerObservers() {
assertThat(metricData)
.hasInstrumentationScope(EXPECTED_SCOPE)
.hasDescription("Average CPU load of the whole system for the last minute")
.hasUnit("1")
.hasUnit("{run_queue_item}")
.hasDoubleGaugeSatisfying(
gauge -> gauge.hasPointsSatisfying(point -> point.hasValue(2.2)))));
testing.waitAndAssertMetrics(
Expand Down

0 comments on commit 0eb0e83

Please sign in to comment.