-
Notifications
You must be signed in to change notification settings - Fork 194
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
storcli.py: Add cachevault status #202
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Pat Riehecky <[email protected]>
@SuperQ I need a second opinion here. What does the Big Book of Prometheus Best Practices say about this sort of thing? Should we go with three different metric names, or a single |
FWIW: https://github.com/prometheus-community/systemd_exporter/tree/main provides:
|
There are essentially three ways we can go about this. For example, if a CacheVault is degraded, we could expose:
or
or merely
The first two methods are largely the same, although I would argue that the second method is slightly more user-friendly, as it would allow the contents of the The third method will result in stale metrics for 5 minutes whenever the state changes, due to Prometheus' default look-behind window and the fact that a series effectively disappears when the state label changes. |
Signed-off-by: Pat Riehecky <[email protected]>
f0bf28e
to
799b73e
Compare
Updated to try and use example output 2 |
Any further thoughts on this? |
Waiting for input / review from @SuperQ |
Any further thoughts on this? |
Adds metrics for the cachevault status.
Hardware tested:
LSI MegaRAID SAS-3 3108 [Invader] (rev 02)