Hi guys, I’m trying to scrape the metrics endpoint via annotations, unfortunately I can’t put ?format=prometheus
in path
. I can’t find any documentation on how to pass it via annotations, does anyway know how to do it?
prometheus.io/scrape: 'true'
prometheus.io/path: '/v1/sys/metrics?format=prometheus'
prometheus.io/port: '8200'
I used helm charts to deploy both vault and prometheus (via loki-stack).