mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-02 05:47:12 +00:00
scx_utils: Display the tag value for nested counters in log_recorder
The log_recorder was incorrectly displaying the tag name instead of the value for nested counters. Signed-off-by: Jose Fernandez <josef@netflix.com>
This commit is contained in:
parent
e268c589ca
commit
a63bf77d68
@ -172,7 +172,7 @@ pub trait MetricFormatter {
|
||||
Some(percentage) => {
|
||||
// Assuming only one label for now
|
||||
let name = match key.labels().next() {
|
||||
Some(label) => label.key(),
|
||||
Some(label) => label.value(),
|
||||
None => "Unknown",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user