Files
windows_exporter/docs/collector.printer.md
T
2026-10-09 09:36:59 +02:00

2.1 KiB

printer collector

The printer collector exposes metrics about printers and their jobs.

Metric name prefix printer
Data source Print spooler API (EnumPrintersW, EnumJobsW)
Classes Values match Win32_Printer and Win32_PrintJob
Enabled by default? false

Flags

--collector.printer.include

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

--collector.printer.exclude

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

Metrics

Name Description Type Labels
windows_printer_status Status of the printer at the time the performance data is collected counter printer, status
windows_printer_job_count Number of jobs processed by the printer since the last reset gauge printer
windows_printer_job_status A counter of printer jobs by status gauge printer, status