We are trying to monitor Vault using Prometheus in production like in the docs: Monitor Telemetry with Prometheus & Grafana | Vault - HashiCorp Learn
when we create a token it’s expired after 32 days. how do you suggest we will monitor this in production? it will be great if we can have a long-live token.
My approach has been to simply turn on
unauthenticated_metrics_access in the Vault config file.
If on production you have sensitive data, and want auth a prometheus scraper, You should implement for example vault agent and get new token from vault.