-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Standby servers should not forward /sys/metrics calls #6802
Comments
I've encountered the same issue, and just assumed that telemetry metrics are only emitted from the active node. Looking at the linked discussion, it seems that is not the case. |
Hi @tstoermer! Thanks for opening this issue. This is indeed a bug and we came up with #8280 which not necessarily fixes the bug but at least returns the correct error message back to the client. By default, standby nodes don't have an active token store which is required to validate the provided token from the client. This makes it currently impossible for us to allow Cheers, |
Hi @tstoermer! I'm going to close this since we haven't heard from you for a while. Cheers, |
Describe the bug
Standby servers in a vault cluster are forwarding the "/sys/metrics" call to the active server.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Standby servers should provide their own metrics instead of forwarding the metrics call to active server. This would make more sense from monitoring perspective.
Environment:
Vault server configuration:
Additional context
Vault code looks like standby servers will always forward metrics requests to active server. There was also related discussion in vault group (I wasn't sure, if it was caused by a configuration error).
The text was updated successfully, but these errors were encountered: