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

inotify_instance: add commandline arguments for command and user parsing #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UiP9AV6Y
Copy link

on systems with many short lived processes, the cardinality of the rendered metrics can become quite bad.

this change adds commandline arguments to the script to support filtering of processes based on the process command or user. the script logic remains backwards compatible as it continues to emit metrics for all accessible process information if not filters are provided.

@UiP9AV6Y UiP9AV6Y force-pushed the feature_inotify_filters branch 3 times, most recently from 2ac8c57 to 6757e73 Compare January 22, 2025 20:10
…ering

on systems with many short lived processes, the cardinality of the
rendered metrics can become quite bad.

this change adds commandline arguments to the script to support
filtering of processes based on the process command or user. the
script logic remains backwards compatible as it continues to
emit metrics for all accessible process information if not filters
are provided.

alternatively the rendered metrics can be summed up by user to
reduce the cardinality even further.

Signed-off-by: Gordon Bleux <[email protected]>
@UiP9AV6Y UiP9AV6Y force-pushed the feature_inotify_filters branch from 6757e73 to d823f80 Compare January 24, 2025 19:51
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.

1 participant