Skip to content

pkg/collector/corechecks/system/disk/disk_nix.go spam in newer version of agents #12676

Open
@kvitaly2005

Description

@kvitaly2005

Output of the info page (if this is a bug)

EDT | CORE | WARN | (pkg/collector/corechecks/system/disk/disk_nix.go:68 in collectPartitionMetrics) | Unable to get disk metrics of /run/docker/netns/[id] mount point: permission denied

Describe what happened:
After upgrade to 7.32.4 logs are filled with spam from disk_nix.go messages hundreds of the same every minute

Describe what you expected:
I expect logs to be clear as in version 6.18
Adding following blacklists configuration does not help:

/etc/datadog-agent/conf.d/disk.d/conf.yaml
init_config:
instances:

  • use_mount: false
    file_system_blacklist:
    • tracefs
      mount_point_blacklist:
    • /sys/kernel/debug/tracing
    • /var/lib/docker/(containers|overlay2)/.*/(shm|merged)
    • /run/docker/netns.*

Steps to reproduce the issue:
Install 7.32.4 on Linux with Docker daemon running.

Additional environment details (Operating System, Cloud provider, etc):
Debian Linux / Docker

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions