Skip to main content

Windowsservice Receiver

Status Available in: contrib Maintainers: @pjanotti, @shalper2 Source: opentelemetry-collector-contrib

Supported Telemetry

Metrics

Overview

Getting Started

By default the Windows Service Receiver will attempt to identify and monitor the status of all specified services on the host machine. An example of monitoring three services on a host:
windowsservice:
  collection_interval: <duration> # default = 1m
  include_services:
    - service1
    - service2
    - service3
    ...
The case where you wish to monitor all services present on a host machine, except for service3:
windowsservice:
  collection_interval: <duration> # default = 1m
  include_services:
  exclude_services:
    - service3
    ...

Metrics

Metric NameDescriptionUnitTypeAttributes
✅ windows.service.statusGauge value containing service status as an integer value.{status}Gaugename, startup_mode

Attributes

Attribute NameDescriptionTypeValues
nameThe name of the windows Service being reported.string
startup_modeStartup mode of Windows Servicestringboot_start, system_start, auto_start, demand_start, disabled

Last generated: 2026-04-13