Skip to content

Commit

Permalink
Fix metric display format
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 8, 2015
1 parent 87336b1 commit 00bbcbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/types.go
Expand Up @@ -177,8 +177,8 @@ func (store *storage) Get(family string, name string) float64 {
metric, _ := store.find(family, name)
if metric == nil {
// This can happen when using an Inspeqtor Pro .inq file
// with Inspeqtor, since metrics like mysql(Queries) won't exist.
util.Warn("BUG: Metric %s(%s) does not exist", family, name)
// with Inspeqtor, if the metric only exists in Pro (e.g. memstats)
util.Warn("BUG: Metric %s:%s does not exist", family, name)
return 0
}
return metric.Get()
Expand Down

0 comments on commit 00bbcbe

Please sign in to comment.