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.
On Tuesday, June 9, 2020 at 10:51:28 PM UTC+5:30 Laura Fernández Becerra wrote: > Hi everyone > I would like to capture prometheus' containers metrics values for an > interval of time. > How can I record them? > Thanks in advance! > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/219adf02-4602-4105-8d5d-5e0612ba374dn%40googlegroups.com.

