uwsgi icon indicating copy to clipboard operation
uwsgi copied to clipboard

Is it possible to not export all metrics?

Open ppi-agray opened this issue 2 years ago • 1 comments

My uwsgi.ini happily pushes all metrics to a statsd server:

    enable-metrics = true
    plugin = stats_pusher_statsd
    stats-push = statsd:$(LOCAL_IPV4):9191

But there are a ton of metrics! We only care about a few.

Is it possible to filter out all metrics except for the ones we care about?

Just curious if this is possible.

Thanks!

ppi-agray avatar Aug 20 '23 11:08 ppi-agray

You can whitelist needed metrics using dogstatsd-whitelist-metric.

viginti23 avatar Oct 20 '23 08:10 viginti23