Skip to content

Commit

Permalink
Fix "process/memory/rss" metric units (#2112)
Browse files Browse the repository at this point in the history
This metric is in bytes, it was incorrectly marked as unitless.
  • Loading branch information
tigrannajaryan authored Nov 12, 2020
1 parent 32efe81 commit 15ea413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/internal/telemetry/process_telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var viewCPUSeconds = &view.View{
var mRSSMemory = stats.Int64(
"process/memory/rss",
"Total physical memory (resident set size)",
stats.UnitDimensionless)
stats.UnitBytes)
var viewRSSMemory = &view.View{
Name: mRSSMemory.Name(),
Description: mRSSMemory.Description(),
Expand Down

0 comments on commit 15ea413

Please sign in to comment.