mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 18:19:04 +02:00
1.6 KiB
1.6 KiB
msmq collector
The collector reads the PDH object MSMQ Queue with pdh.CounterTypeRaw. The
object exists only where the Message Queuing feature (MSMQ service) is
installed. It is multi-instance. These notes were recorded on Windows Server
2025 (build 26100) with no application queues.
- All four counters are
PERF_COUNTER_LARGE_RAWCOUNTand are gauges: the help text says they count messages or bytes that "currently reside" in the queue.Bytes ...counters are bytes. - Instances:
Computer Queuesplus one instance per queue, named<computer>\private$\<queue>in lower case. A fresh install already has the internal queuesserver2025\private$\admin_queue$andserver2025\private$\order_queue$. The collector uses the instance name unchanged as thenamelabel. - For
Computer Queues,Messages/Bytes in Queueis the dead-letter queue andMessages/Bytes in Journal Queueis the computer journal. - All values were 0 on the recording host.
Counter reference
Recorded on Windows Server 2025 (build 26100). Raw and Base are the first and second
values that pdh.CounterTypeRaw returns for the sample instance.
MSMQ Queue
Multi-instance. Instances: Computer Queues, server2025\private$\admin_queue$, server2025\private$\order_queue$. Sample instance: Computer Queues.
Counters the collector reads:
| Counter | Type | Raw | Base |
|---|---|---|---|
Bytes in Journal Queue |
PERF_COUNTER_LARGE_RAWCOUNT |
0 | |
Bytes in Queue |
PERF_COUNTER_LARGE_RAWCOUNT |
0 | |
Messages in Journal Queue |
PERF_COUNTER_LARGE_RAWCOUNT |
0 | |
Messages in Queue |
PERF_COUNTER_LARGE_RAWCOUNT |
0 |