Scrapping different metrics at different intervals..

9 views
Skip to first unread message

Debashish Ghosh

unread,
Feb 29, 2020, 11:33:46 AM2/29/20
to promethe...@googlegroups.com

Hi,

I have an application that uses spring actuator/micrometer framework to expose a myriad of metrics..

There are some that are volume and latency related which needs to be scraped every 10sec.. There are some resource monitoring metrics that are very process heavy that needs to be scraped every 2 minutes..

How do I ensure these two set of metrics are scraped in an isolated manner since l don’t want my resource metrics to be scraped every 10 seconds?

One solution could be to probably expose 2 different end points with two Prometheus jobs for the endpoint..

Is there any other better way of handling this?

Thanks
Debashish

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages