printer collector

May 17, 2024 ยท View on GitHub

The printer collector exposes metrics about printers and their jobs.

Metric name prefixprinter
Data sourceWMI
ClassesWin32_Printer
Win32_PrintJob
Enabled by default?false

Flags

--collector.printer.include

If given, a printer needs to match the include regexp in order for the corresponding printer metrics to be reported

--collector.printer.exclude

If given, a printer needs to not match the exclude regexp in order for the corresponding printer metrics to be reported

Metrics

NameDescriptionTypeLabels
windows_printer_statusStatus of the printer at the time the performance data is collectedcounterprinter, status
windows_printer_job_countNumber of jobs processed by the printer since the last resetgaugeprinter
windows_printer_job_statusA counter of printer jobs by statusgaugeprinter, status