From 99e6e4da8e807db34d738f5131d16a1e19d3994b Mon Sep 17 00:00:00 2001 From: James Rasell Date: Thu, 14 Nov 2019 16:07:56 +0100 Subject: [PATCH] cmd: fix system metric CLI listing samples incorrectly as counter. --- cmd/system/metrics/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/system/metrics/command.go b/cmd/system/metrics/command.go index c1e80bf..8c7ea16 100644 --- a/cmd/system/metrics/command.go +++ b/cmd/system/metrics/command.go @@ -58,7 +58,7 @@ func runInfo(_ *cobra.Command, _ []string) { for i := range metrics.Samples { out = append(out, fmt.Sprintf("%s|%s|%v", - metrics.Samples[i].Name, "Counter", metrics.Samples[i].Mean)) + metrics.Samples[i].Name, "Samples", metrics.Samples[i].Mean)) } // If there are no metrics to print (happens during initial server startup)