the_drow
the_drow

Reputation: 19201

How to create an empty metric in Graphite?

I have three counters created from StatsD that I'm using but only one has ever been hit.
I'm trying to present all three counters in a graph in Grafana but Grafana doesn't treat non-existent metrics.
What's the best way to add an empty counter to Graphite?

Upvotes: 1

Views: 494

Answers (1)

BenSorter
BenSorter

Reputation: 364

Manually send the metric as a 0 counter as @dukebody says. This will create an entry for the metric in whisper so, although empty, the metric will exist.

Upvotes: 1

Related Questions