Does Prometheus support pagination of the results?
68 views
Skip to first unread message
Hello World
unread,
Apr 28, 2021, 6:43:47 AM4/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi,
Is there a way to paginate the results coming from Prometheus server?
or can we form the paginated queries something like (offset=2, limit=20 up{svc_name="mysvc"})
Thanks.
Julien Pivotto
unread,
Apr 28, 2021, 6:46:01 AM4/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hello World, Prometheus Users
It is not possible at the moment. Given how dynamic Prometheus is, this
would be quite a challenge to get consistent results with pagination,
because the data behind would change between two API calls.