mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 18:19:04 +02:00
Split alerts/alerts.libsonnet into one file per collector under alerts/, like kubernetes-mixin. Each rule is a plain Prometheus alerting rule with the PromQL written out in an expr block and %(name)s placeholders for the _config values; lib/alerts.libsonnet keeps the collector and per-alert gating and keep_firing_for. The pagefile, diskdrive and license alerts get groups of their own so that one file is one group. The rendered default rules are unchanged apart from expr block scalars. Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Documentation
This directory contains documentation of the collectors in the windows_exporter, with information such as what metrics are exported, any flags for additional configuration, and some example usage in alerts and queries.
The alert runbooks describe how to diagnose and mitigate alerts from
the Windows exporter mixin. Preview the runbook site
from the repository root with hugo server --source docs; its dedicated GitHub
Actions workflow publishes default-branch changes to GitHub Pages.
Running as a least-privilege service account describes the rights the exporter needs and which collectors lose data without administrator rights.
Collectors
adadcsadfscachecontainercpucpu_infodfsrdhcpdmidiskdrivednsexchangefilefsrmquotagpuhyperviislicenselogical_diskmemorymsclustermsmqmssqlnetnetframeworknpsospagefileperformancecounterphysical_diskprinterprocessregistryremote_fxscheduled_taskservicesmbsmbclientsmtpstorage_spacessystemtcpterminal_servicestextfiletimeudpupdatevmwarewmi