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

ignore squashfs type for inodes #519

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

Conversation

aogereau
Copy link
Contributor

Currently both inodes detectors on module smart-agent_system-common can detect squashfs partitions , triggering false positive alerts at 100% utilisation .

System disk inodes utilization :

image

System filesystem inodes utilization :

image

This fix will add a filter on squashfs partitions for both detectors , to prevent false positive alerts

@@ -6,10 +6,10 @@ value_unit: "%"
signals:
used:
metric: system.filesystem.inodes.usage
filter: filter('state', 'used')
filter: "(filter('state', 'used') and not filter('type', 'squashfs'))"
Copy link
Member

Choose a reason for hiding this comment

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

This sort of filtering is supposed to happen at the collection level (smartagent or otel-collector).

And squashfs is already excluded by default.

How are you collecting the metrics?
Do you have a custom configuration?

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.

None yet

2 participants