Increase ntp clockskewdetected accuracy to 5ms

This commit is contained in:
Hahn, Dominik
2019-07-05 11:40:07 +02:00
parent a5ba4c5116
commit 552b341bf6

View File

@@ -41,7 +41,7 @@
message: 'Clock skew detected on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}. Ensure NTP is configured correctly on this host.', message: 'Clock skew detected on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}. Ensure NTP is configured correctly on this host.',
}, },
expr: ||| expr: |||
abs(node_timex_offset_seconds{%(nodeExporterSelector)s}) > 0.03 abs(node_timex_offset_seconds{%(nodeExporterSelector)s}) > 0.05
||| % $._config, ||| % $._config,
'for': '2m', 'for': '2m',
labels: { labels: {