0

I have a vault standalone instance running in Kubernetes cluster and i was able to get vault metrics in prometheus format using below command

curl http://172-77-77-32.default.pod.cluster.local:8200/v1/sys/metrics?format=prometheus
 # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
 # TYPE go_gc_duration_seconds summary
 go_gc_duration_seconds{quantile="0"} 9.1311e-05

I've also installed sysdig agent in the same cluster and added below annotations to vault pod but i don't see the vault metrics in sysdig UI. Is prometheus.io/path: "/v1/sys/metrics?format=prometheus" a valid entry?? TIA

annotations:
  prometheus.io/scrape: "true"
  prometheus.io/path: "/v1/sys/metrics?format=prometheus"
  prometheus.io/port: "8200"
Raghavendra
  • 521
  • 5
  • 11
  • Is not your case, but maybe it could help in some way: [issue on github](https://github.com/prometheus/prometheus/issues/1417) – markalex Mar 28 '23 at 14:02

0 Answers0