Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
cmd: fix system metric CLI listing samples incorrectly as counter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell committed Nov 14, 2019
1 parent 5f4485b commit 99e6e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/system/metrics/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 99e6e4d

Please sign in to comment.