aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Branczyk <fbranczyk@gmail.com>2020-04-30 17:54:06 +0200
committerGitHub <noreply@github.com>2020-04-30 17:54:06 +0200
commitb42819b69d4d6f81c9b13ab6c7cefcb7aa6a395a (patch)
tree08a54e6280e48e95e66bcf5629024a40def6be7e
parent53e3418e5ff092dd055aa01a445d95042112c074 (diff)
parentbd3e6d224cf1559c1c11992bbf1e0e73f46dce81 (diff)
downloadprometheus_node_collector-b42819b69d4d6f81c9b13ab6c7cefcb7aa6a395a.tar.bz2
prometheus_node_collector-b42819b69d4d6f81c9b13ab6c7cefcb7aa6a395a.tar.xz
prometheus_node_collector-b42819b69d4d6f81c9b13ab6c7cefcb7aa6a395a.zip
Merge pull request #1657 from povilasv/NodeTextFileCollectorScrapeError
Add NodeTextFileCollectorScrapeError alert to mixin
-rw-r--r--docs/node-mixin/alerts/alerts.libsonnet17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/node-mixin/alerts/alerts.libsonnet b/docs/node-mixin/alerts/alerts.libsonnet
index a5572a0..9ef18d5 100644
--- a/docs/node-mixin/alerts/alerts.libsonnet
+++ b/docs/node-mixin/alerts/alerts.libsonnet
@@ -190,8 +190,21 @@
190 (node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75 190 (node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
191 ||| % $._config, 191 ||| % $._config,
192 annotations: { 192 annotations: {
193 summary: 'Number of conntrack are getting close to the limit', 193 summary: 'Number of conntrack are getting close to the limit.',
194 description: '{{ $value | humanizePercentage }} of conntrack entries are used', 194 description: '{{ $value | humanizePercentage }} of conntrack entries are used.',
195 },
196 labels: {
197 severity: 'warning',
198 },
199 },
200 {
201 alert: 'NodeTextFileCollectorScrapeError',
202 expr: |||
203 node_textfile_scrape_error{%(nodeExporterSelector)s} == 1
204 ||| % $._config,
205 annotations: {
206 summary: 'Node Exporter text file collector failed to scrape.',
207 description: 'Node Exporter text file collector failed to scrape.',
195 }, 208 },
196 labels: { 209 labels: {
197 severity: 'warning', 210 severity: 'warning',