Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Disabling collectors

Alexey Lesovsky edited this page May 5, 2021 · 4 revisions

Disabling collectors

TLDR: Disable specific collectors

Sometimes there is no need some metrics, and you would like to disable exposing them.

  1. Disabling collectors is possible by specifying their names in disable_collectors list. For example, the following example disables two collectors:
disable_collectors:
  - postgres/storage
  - system/filesystems
  1. After editing configuration, restart the service.
systemctl restart pgscv

The full list of available collectors and their names could be found here.