Replies: 6 comments
-
As far as filesystem metrics are concerned, using a whitelist should be the easiest and safest way to achieve what a user wants. I suspect the list of FS to consider this way would be pretty small (ext*, xfs, zfs, btrfs). It's also worth noting
As a user, this behaviour seems a bit awkward: could we make it blacklist first, then whitelist entries after that? That would allow us to blacklist every FS by default, then "punch holes" by whitelisting a small set of FS that provide meaningful stats. |
Beta Was this translation helpful? Give feedback.
-
Well if you want just a specific set of FS, you just need to whitelist them, and only the whitelisted ones will be considered, no need to explicitly blacklist the ones you don't want. This is the way we have implemented blacklist/whitelist in other integrations as well. |
Beta Was this translation helpful? Give feedback.
-
I was bitten by this recently. Mine looked something like this:
And the end-result in Datadog was that the value For a tool such as DataDog, I don't think I'm alone in assuming that a monitor with something like Just wanted to share this example. |
Beta Was this translation helpful? Give feedback.
-
Faced similar issues (related to certain partitions) in our agent (version 7.17). Had to go with the workaround of adding |
Beta Was this translation helpful? Give feedback.
-
Does anyone have a ready-to-use example of Helm values that one can use to ignore /host/proc/sys/fs/binfmt_misc? |
Beta Was this translation helpful? Give feedback.
-
#7378 adds an option to ignore non physical file systems that is relevant for this goal. We still track all devices by default to avoid breaking changes. |
Beta Was this translation helpful? Give feedback.
-
Continuation of DataDog/datadog-agent#1961
Advanced filtering logic introduced in #2483
Adding new things to blacklist by default will be a breaking change and will likely require a major Agent release. As such, let's take the time to compile everything that should be excluded by default.
So far we have:
file_system_blacklist
autofs$
iso9660$
(cdrom) note we already do this onedevice_blacklist
mount_point_blacklist
/proc/sys/fs/binfmt_misc
(added now, see Ignore/proc/sys/fs/binfmt_misc
by default #7650)It should also be noted that since blacklists take precedence over whitelists,
users would need to update both to re-enable something. Therefore, reducing the occurrence of that should be a goal.Implemented a better way: #7648cc @DataDog/agent-integrations @DataDog/agent-core @DataDog/container-integrations
cc original participants @techdragon @amineo @coreypobrien @sudermanjr @steinnes @j-vizcaino @nerdinand
Beta Was this translation helpful? Give feedback.
All reactions