Skip to content

Commit

Permalink
fix(linux/cpu): 🐛 cpu process state counts should not be totalincreas…
Browse files Browse the repository at this point in the history
…ing state class
  • Loading branch information
joshuar committed Nov 16, 2024
1 parent 302cf54 commit 0183281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/linux/cpu/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func newCountSensor(name, icon, valueStr string) sensor.Entity {

return sensor.Entity{
Name: name,
StateClass: types.StateClassTotalIncreasing,
StateClass: types.StateClassMeasurement,
Category: types.CategoryDiagnostic,
State: &sensor.State{
ID: strcase.ToSnake(name),
Expand Down

0 comments on commit 0183281

Please sign in to comment.