Use bytes rather than decbytes (power of 2)

This commit is contained in:
Marco Munizaga 2022-06-23 15:33:12 -07:00
parent d34b9cba64
commit 6d5898aa99
2 changed files with 4 additions and 7 deletions

View File

@ -1224,7 +1224,7 @@
}
]
},
"unit": "decbytes"
"unit": "bytes"
},
"overrides": []
},
@ -1311,7 +1311,7 @@
}
]
},
"unit": "decbytes"
"unit": "bytes"
},
"overrides": []
},
@ -1398,7 +1398,7 @@
}
]
},
"unit": "decbytes"
"unit": "bytes"
},
"overrides": []
},
@ -1485,7 +1485,7 @@
}
]
},
"unit": "decbytes"
"unit": "bytes"
},
"overrides": [
{

View File

@ -329,9 +329,6 @@ func (r StatsTraceReporter) ConsumeEvent(evt rcmgr.TraceEvt) {
tags := []tag.Mutator{tag.Upsert(Scope, scope), tag.Upsert(Resource, resource)}
// TODO fix the graph in the dashboard for blocked resources.
// TODO change bytes to iec
if evt.DeltaIn != 0 {
stats.RecordWithTags(ctx, tags, blockedResources.M(int64(1)))
}