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

[vault] metrics name of secret engine #546

Closed
phac008 opened this issue Sep 11, 2024 · 1 comment
Closed

[vault] metrics name of secret engine #546

phac008 opened this issue Sep 11, 2024 · 1 comment

Comments

@phac008
Copy link
Contributor

phac008 commented Sep 11, 2024

Vault use secret engines as metrics names -> due to character conversation (- to _) some of grafana dashboard functions are not working properly...

there was a change request some time ago:
hashicorp/vault#9068

currently i try to investigate if this could be solved with variable conversion in grafana ....
alternative: make specifications that secrets must only consist of [a-zA-Z0-9]_

@phac008
Copy link
Contributor Author

phac008 commented Sep 12, 2024

solved for my case with label_replace - must not be valid in some other cases with more dashes or other special characters:

https://github.com/suxess-it/sx-cnp-oss/blob/22c4dbd67d7c8289eeeb93190d016bf95c5fcdd6/platform-apps/charts/vault/dashboard-files/vault-dashboard.json#L4601

@phac008 phac008 closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant