how to capture prometheus values

14 views
Skip to first unread message

Laura Fernández Becerra

unread,
Jun 9, 2020, 1:21:28 PM6/9/20
to Prometheus Users
Hi everyone
I would like to capture prometheus' containers metrics values for an interval of time.
How can I record them?
Thanks in advance!

Harkishen Singh

unread,
Jun 22, 2020, 3:26:05 PM6/22/20
to Prometheus Users
Assuming you mean, prometheus running inside a docker container or a pod on a k8s cluster, expose them via Kubernetes service and use the API. For recording, I hope recording rules are what you are looking for. Also, if this doesn't answer your question, kindly mention more details as per the requirements. Trying seeing docker daemon exporter if you are concerned with docker.
Reply all
Reply to author
Forward
0 new messages