2018-05-08 03:10:29 -07:00
|
|
|
{
|
|
|
|
_config+:: {
|
|
|
|
// Selectors are inserted between {} in Prometheus queries.
|
2019-07-16 10:34:27 -07:00
|
|
|
|
|
|
|
// Select the metrics coming from the node exporter.
|
2018-05-08 03:10:29 -07:00
|
|
|
nodeExporterSelector: 'job="node-exporter"',
|
|
|
|
|
2019-07-16 10:34:27 -07:00
|
|
|
// Select the fstype for filesystem-related queries.
|
2019-07-10 11:09:01 -07:00
|
|
|
fsSelector: 'fstype=~"ext.|xfs",mountpoint!="/var/lib/docker/aufs"',
|
2018-05-08 03:10:29 -07:00
|
|
|
|
2019-07-16 10:34:27 -07:00
|
|
|
// Select the device for disk-related queries.
|
|
|
|
diskDeviceSelector: 'device=~"(sd|xvd).+"',
|
|
|
|
|
2018-05-08 03:10:29 -07:00
|
|
|
grafana_prefix: '',
|
|
|
|
},
|
|
|
|
}
|