mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-26 21:49:03 +01:00
docs: move the 0.32 upgrade guide to docs/upgrade (#2753)
Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
b3500f7aef
commit
1e48663824
@@ -88,7 +88,7 @@ for file in $(cat "$out/generated"); do
|
||||
diff -u {{vars.dashboards}}/"$file" "$out/$file" \
|
||||
|| { echo "{{vars.dashboards}}/$file is out of date; run mise run dashboard"; exit 1; }
|
||||
done
|
||||
promtool check rules windows_rules.yaml windows_alerts.yaml tests/custom_rules.yaml tests/custom_alerts.yaml ../../docs/example-0.32-compatibility-rules-new-to-old.yml
|
||||
promtool check rules windows_rules.yaml windows_alerts.yaml tests/custom_rules.yaml tests/custom_alerts.yaml ../../docs/upgrade/0.32.prom
|
||||
pint --offline lint windows_rules.yaml windows_alerts.yaml
|
||||
pint --offline lint tests/custom_rules.yaml tests/custom_alerts.yaml
|
||||
'''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
rule_files:
|
||||
- ../../../docs/example-0.32-compatibility-rules-new-to-old.yml
|
||||
- ../../../docs/upgrade/0.32.prom
|
||||
evaluation_interval: 1m
|
||||
|
||||
tests:
|
||||
@@ -14,6 +14,10 @@ tests:
|
||||
values: '3600000000'
|
||||
- series: 'windows_cpu_time_seconds_total{job="w",instance="h:9182",core="0,0",mode="idle"}'
|
||||
values: '42'
|
||||
- series: 'windows_container_cpu_usage_kernelmode_seconds_total{job="w",instance="h:9182",container_id="c1"}'
|
||||
values: '7'
|
||||
- series: 'windows_exchange_workload_queued_tasks{job="w",instance="h:9182",workload="W1"}'
|
||||
values: '5'
|
||||
promql_expr_test:
|
||||
- expr: windows_mscluster_resource_restart_delay
|
||||
eval_time: 0
|
||||
@@ -35,3 +39,18 @@ tests:
|
||||
exp_samples:
|
||||
- labels: 'windows_cpu_time_total{job="w",instance="h:9182",core="0,0",mode="idle"}'
|
||||
value: 42
|
||||
- expr: windows_container_cpu_usage_seconds_kernelmode
|
||||
eval_time: 0
|
||||
exp_samples:
|
||||
- labels: 'windows_container_cpu_usage_seconds_kernelmode{job="w",instance="h:9182",container_id="c1"}'
|
||||
value: 7
|
||||
- expr: windows_container_cpu_usage_seconds_kernelmode_total
|
||||
eval_time: 0
|
||||
exp_samples:
|
||||
- labels: 'windows_container_cpu_usage_seconds_kernelmode_total{job="w",instance="h:9182",container_id="c1"}'
|
||||
value: 7
|
||||
- expr: windows_exchange_workload_queued_tasks_total
|
||||
eval_time: 0
|
||||
exp_samples:
|
||||
- labels: 'windows_exchange_workload_queued_tasks_total{job="w",instance="h:9182",name="W1"}'
|
||||
value: 5
|
||||
|
||||
Reference in New Issue
Block a user