Files
windows_exporter/contrib/mixin/config.libsonnet
T

32 lines
1009 B
Jsonnet

{
_config+:: {
// Prometheus label matchers, without enclosing braces.
windowsExporterSelector: 'job="windows_exporter"',
volumeSelector: 'volume!=""',
nicSelector: 'nic!=""',
rateInterval: '5m',
// Opt in only for targets with the ad collector enabled.
enableActiveDirectory: false,
// Requires the time collector with its ntp subcollector enabled.
enableTime: false,
runbookURLPattern: 'https://prometheus-community.github.io/windows_exporter/runbooks/%s/',
cpuHighUsageThreshold: 90,
memoryHighUsageThreshold: 90,
memoryCommitHighUsageThreshold: 90,
diskLatencyThresholdSeconds: 0.05,
networkErrorRateThreshold: 1,
networkDiscardRateThreshold: 1,
clockOffsetThresholdSeconds: 0.05,
diskFreeWarningThreshold: 10,
diskFreeCriticalThreshold: 5,
diskPredictionWindow: '6h',
diskPredictionHours: 24,
criticalSeverity: 'critical',
adPendingReplicationThreshold: 50,
adReplicationFailureRateThreshold: 0,
},
}