-
Notifications
You must be signed in to change notification settings - Fork 842
-
I'm currently using flask with guniciorn. I want to collect some metrics regarding a specific HTTP request, like request parameters. I'm using Gauge with GunicornInternalPrometheusMetrics.
The scenario is like 3 http calls come in and updated the metrics to [a, b, c] values. Due to load balance, these updates may be located to different gunicorn worker. I want to find a way to let the gauge metrics reports these value changes normally, i.e. only keep the latest metrics. However, the default aggregation mode only supports all, min, max and sum, which are definitly not what I'm looking for.
I'm wondering what the best approach would be to solve it with in the prometheus_client module.
Beta Was this translation helpful? Give feedback.