aboutsummaryrefslogtreecommitdiff
path: root/docs/node-mixin/config.libsonnet
blob: 701d9bea61a46d558404a71e72b2e84d935d2c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  _config+:: {
    // Selectors are inserted between {} in Prometheus queries.

    // Select the metrics coming from the node exporter.
    nodeExporterSelector: 'job="node"',

    // Select the fstype for filesystem-related queries.
    // TODO: What is a good default selector here?
    fsSelector: 'fstype=~"ext.|xfs|jfs|btrfs|vfat|ntfs"',

    // Select the device for disk-related queries.
    diskDeviceSelector: 'device=~"(sd|xvd).+"',

    grafana_prefix: '',
  },
}