Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Disable default metric collection #7

@dominics

Description

@dominics

There are a bunch of default metrics that the agent tries to collect that aren't relevant for collecting postgres metrics from Aptible. Many of these can apparently be turned off by removing the .default files in /etc/dd-agent/conf.d

For example:

root@deadbeef:/etc/dd-agent/conf.d# ls -l *.default
-rw-r--r-- 1 root root  525 Feb 13 19:30 agent_metrics.yaml.default
-rw-r--r-- 1 root root 2118 Feb 13 19:30 disk.yaml.default
-rw-r--r-- 1 root root  790 Feb 13 19:30 network.yaml.default
-rw-r--r-- 1 root root  329 Feb 13 19:30 ntp.yaml.default

Not a major concern, but just annoying to see irrelevant failures in the logs like:

IOError: [Errno 2] No such file or directory: '/host/proc/filesystems'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions