Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow Prometheus ServiceMonitor to target vault-internal service in HA mode #1085

Open
krarey opened this issue Jan 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@krarey
Copy link
Member

krarey commented Jan 7, 2025

Problem:
The ServiceMonitor resource that is created by this chart will only target the vault-active service if Vault is deployed in HA mode. Nodes in the Standby and Performance Standby state emit metrics that are useful when diagnosing cluster performance and request errors, which are not collected in this configuration.

Solution:
Add a flag or other logic which allows the user to target the vault-internal service, even when HA mode is enabled. This will let Prometheus scrape all Vault pods in the service's endpoint list to collect standby metrics. This should be accompanied by a note that unauthenticated metrics access should be enabled in this configuration, since non-performance standbys cannot otherwise serve the request.

@krarey krarey added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant