Windows Service Receiver
OpenTelemetry Collector receiver · contrib distribution
The Windows Service Receiver is a receiver for scraping information about the state of services running on a Windows machine.
- Component ID:
contrib-windowsservicereceiver - Name:
windowsservicereceiver - Type: receiver
- Distribution: contrib
- Repository:
opentelemetry-collector-contrib
Stability
| Level | Signals |
|---|---|
| alpha | metrics |
Metrics
| Metric | Type | Value type | Unit | Stability | Enabled | Attributes | Description |
|---|---|---|---|---|---|---|---|
windows.service.status | gauge | int | {status} | development | yes | name (string), startup_mode (string) | Gauge value containing service status as an integer value. Gauge values map to service status as follows: 0 - Failed to retrieve service status, 1 - Stopped, 2 - Start Pending, 3 - Stop Pending, 4 - Service Running, 5 - Continue Pending, 6 - Pause Pending, 7 - Service Paused |
Attributes
| Attribute | Type | Description |
|---|---|---|
name | string | The name of the windows Service being reported. |
startup_mode | string | Startup mode of Windows Service |