Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2.12 KB

collector.printer.md

File metadata and controls

28 lines (19 loc) · 2.12 KB

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? No

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. Default: .+

--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. Default: empty

Metrics

Name Description Type Labels
windows_printer_status Printer status. 1 for the current status, 0 otherwise gauge printer, status
windows_printer_jobs Number of jobs in the queue of the printer gauge printer
windows_printer_job_status A counter of printer jobs by status gauge printer, status