Our global Prometheus scrape interval on k8s is 60s, but I want one application has 300s scrape interval.
I attach the following to my pod so the metrics are scraped.
prometheus.io/scrape: 'true'
prometheus.io/port: '{{ .Values.prometheus.port }}'
prometheus.io/path: '{{ .Values.prometheus.path }}'
Now I want to slow down the frequency of this application specifically, and tested with
prometheus.io/interval: '300s'
However it does not work. I think it requires relabel, or any other suggestion?
https://github.com/prometheus/prometheus/blob/master/documentation/examples/prometheus-kubernetes.yml#L251