Help needed. Trying to create a metric for counting by ranges

10 views
Skip to first unread message

Nadav Kremer

unread,
Mar 1, 2020, 4:40:33 AM3/1/20
to Prometheus Users
Hi
I am trying to use Prometheus to create a metric I need but I'm not sure how to do it or if it is even possible

My system gets events about users at different rates at different times of day.
What I am trying to do is have a metric telling me the count of users for different amounts of events
For example:
0-10 events: 50 users
10-50 events: 20 users
50-100 events: 9 users

Is this possible using Prometheus? If so how would you suggest I do this?
One idea I have was having a gauge for each range and managing it internally but I feel like there should be a better way


Thank you
Reply all
Reply to author
Forward
0 new messages