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

Commit

Permalink
Merge pull request #111 from jrasell/fix-metrics-cli-type-bug
Browse files Browse the repository at this point in the history
cmd: fix system metric CLI listing samples incorrectly as counter.
  • Loading branch information
jrasell committed Nov 20, 2019
2 parents 2d67e08 + 99e6e4d commit 0590253
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 0590253

Please sign in to comment.