2018-05-08 10:10:29 +00:00
|
|
|
{
|
|
|
|
_config+:: {
|
|
|
|
// Selectors are inserted between {} in Prometheus queries.
|
2019-07-16 17:34:27 +00:00
|
|
|
|
|
|
|
// Select the metrics coming from the node exporter.
|
2019-07-16 19:18:17 +00:00
|
|
|
nodeExporterSelector: 'job="node"',
|
2018-05-08 10:10:29 +00:00
|
|
|
|
2019-07-16 17:34:27 +00:00
|
|
|
// Select the fstype for filesystem-related queries.
|
2019-07-16 19:18:17 +00:00
|
|
|
// TODO: What is a good default selector here?
|
|
|
|
fsSelector: 'fstype=~"ext.|xfs|jfs|btrfs|vfat|ntfs"',
|
2018-05-08 10:10:29 +00:00
|
|
|
|
2019-07-16 17:34:27 +00:00
|
|
|
// Select the device for disk-related queries.
|
|
|
|
diskDeviceSelector: 'device=~"(sd|xvd).+"',
|
|
|
|
|
2018-05-08 10:10:29 +00:00
|
|
|
grafana_prefix: '',
|
|
|
|
},
|
|
|
|
}
|