IIS receiver

Grabs metrics about an IIS instance using Windows Performance Counters.

The IIS receiver grabs metrics from an IIS instance using Windows Performance Counters. The supported pipeline type is metrics. See Process your data with pipelines for more information.

Note: This component is only available for the Collector for Windows.

Deploy the collector

See Install the Collector for Windows with the installer script.

Configure the receiver

Edit your OpenTelemetry Collector configuration file as follows.

  1. Add iss to the receivers section:

    YAML
    receivers:
      iis:
        collection_interval: 10s
        initial_delay: 1s

    The IIS receiver has two optional settings:

    • collection_interval. 10s by default. The interval at which the receiver emits metrics.
    • initial_delay. 1s by default. Defines how long this receiver waits before starting.
  2. Add iss to service.pipelines.metrics:

    YAML
    service:
      pipelines:
        metrics:
          receivers: [iss]

Restart the collector

The restart command varies depending on what platform you deployed the collector on and what tool you used to deploy it. Here are general examples of the restart command:

Linux

Linux with installer script:

BASH
sudo systemctl restart splunk-otel-collector
Windows

Windows with installer script:

BASH
stop-service splunk-otel-collector
start-service splunk-otel-collector
Kubernetes

Kubernetes with Helm:

BASH
helm upgrade your-splunk-otel-collector splunk-otel-collector-chart/splunk-otel-collector -f your-override-values.yaml

where splunk-otel-collector-chart is the name you gave to the Helm chart in the helm repo add command.

Settings reference

The following table shows the configuration options for the IIS receiver:

included

https://raw.githubusercontent.com/splunk/collector-config-tools/main/cfg-metadata/receiver/iis.yaml

Metrics reference

To see the available metrics, resource attributes, and attributes refer to IIS default metrics in GitHub.

Troubleshooting

See Troubleshoot the Splunk OpenTelemetry Collector.