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:
Jose Fernandez 2024-07-15 15:20:44 -06:00
parent e268c589ca
commit a63bf77d68
No known key found for this signature in database
GPG Key ID: B78CF7DCA7950576

View File

@ -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",
};