Metric <app>.worker.respawns aggregrated incorrectly
Opened this issue · 0 comments
leighpauls commented
Inside uwsgi, the backing variable of <app>.worker.respawns
is equal to the total number of respawns for the lifetime of the process, but uwsgi-dogstatsd treats it as a statsd type "counter", and the result is as if it was respawning N times per period where N is <num_respawns> * <flushes_per_period>
for every period.
This metric in particular should be logged as a statsd gauge, but I suspect more of uwsgi's "counter" types also translate more correctly to statsd gauges than counters.