service: Add parameter to filer service by start mode (#2405)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-05-23 15:23:25 +02:00
committed by GitHub
parent d82a387e5b
commit a40424d8f1
3 changed files with 64 additions and 16 deletions

View File

@@ -2,11 +2,11 @@
The service collector exposes metrics about Windows Services
|||
-|-
Metric name prefix | `service`
Classes | none
Enabled by default? | Yes
| | |
|---------------------|-----------|
| Metric name prefix | `service` |
| Classes | none |
| Enabled by default? | Yes |
## Flags
@@ -22,6 +22,12 @@ Regexp of service to include. Process name (not the display name!) must both
match `include` and not match `exclude` to be included.
Recommended to keep down number of returned metrics.
### `--collector.service.start-mode-include`
Comma separated list of service start modes to include.
Possible values: auto, manual, disabled, system.
Recommended to keep down number of returned metrics.
## Metrics
| Name | Description | Type | Labels |