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

add support for monitoring LVM caches #159

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Jun 6, 2023

This is basically a copy-paste of the snapshots code, and seems to work on my end.

Closes: #158

@anarcat anarcat changed the title add support for monitoring LVM caches (Closes: #158) add support for monitoring LVM caches Jun 6, 2023
@anarcat anarcat force-pushed the caches branch 2 times, most recently from 98135fd to d5b9ef3 Compare June 6, 2023 22:25
anarcat added a commit to anarcat/node-exporter-textfile-collector-scripts that referenced this pull request Jun 6, 2023
It seems rather inconvenient to have to specify all those switches by
hand. Right now, I need to specify -gpst to get all the stats and, if
some new metric get added (e.g. prometheus-community#159 hopefully), I need to remember to
update my callers to match. This is annoying.

Let's make a -a that's going to do it all for us. Hell, i'd make it
the default, personally, if I wasn't worried about breaking people's
stuff...

This obviously conflicts with other PRs that might add another flag
like this, like prometheus-community#159. Please prioritize the latter.

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase this with the -a flag and include a display_usage() update?

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
This is basically a copy-paste of the snapshots code, and seems to
work on my end.

Closes: prometheus-community#158

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
@anarcat
Copy link
Contributor Author

anarcat commented Jun 8, 2023

this has been rebased on top of #161 and #160 (master).

@anarcat
Copy link
Contributor Author

anarcat commented Oct 11, 2023

@SuperQ ping

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

Successfully merging this pull request may close these issues.

monitor LVM cache usage
2 participants