unbit / uwsgi

uWSGI application server container
http://projects.unbit.it/uwsgi
Other
3.45k stars 686 forks source link

Is it possible to not export all metrics? #2555

Open ppi-agray opened 1 year ago

ppi-agray commented 1 year ago

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!

viginti23 commented 10 months ago

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