Docs » Supported integrations in Splunk Observability Cloud » Collector components: Receivers » Microsoft SQL server receiver

Microsoft SQL server receiver πŸ”—

The Microsoft SQL Server receiver queries and retrieves metrics from Microsoft SQL Server instances. The supported pipeline type is metrics. See Process your data with pipelines for more information.

The receiver works by either using the Windows Performance Counters, or by directly connecting to the instance and querying it. Windows Performance Counters are only available when running on Windows.


Make sure to run the Collector as an administrator in order to collect all performance counters for metrics.

Get started πŸ”—

Follow these steps to configure and activate the component:

  1. Deploy the Splunk Distribution of the OpenTelemetry Collector to your host or container platform:

  1. Configure the MSSQL Server receiver as described in the next section.

  2. Restart the Collector.

Sample configuration πŸ”—

To activate the receiver, add sqlserver to the receivers section of your configuration file:

      collection_interval: 10s
      collection_interval: 5s
      username: sa
      password: securepassword
      port: 1433

Next, include the receiver in the metrics pipeline of the service section of your configuration file:

        - sqlserver

Configure a named instance on Windows πŸ”—

If you’re using a named instance on Windows, you need to specify a computer and instance name, for example:

    collection_interval: 10s
    computer_name: CustomServer
    instance_name: CustomInstance
        enabled: true
        enabled: true

Advanced configuration πŸ”—

The following settings are optional:

  • collection_interval. 10s by default. The interval at which the receiver emits metrics.

  • instance_name. Optional. The instance name identifies the specific SQL Server instance to monitor. If unspecified, metrics are scraped from all instances. If configured, you must also set computer_name when running on Windows.

These are the optional direct connection options:

  • username. The username used to connect to the SQL Server instance.

  • password. The password used to connect to the SQL Server instance.

  • server. IP address or hostname of the SQL Server instance to connect to.

  • port. Port of the SQL Server instance to connect to.

The following are Windows-specific optional options:

  • computer_name. The computer name identifies the SQL Server name or IP address of the computer being monitored. If specified, instance_name is also required. This option is ignored in non-Windows environments.

Settings πŸ”—

The following table shows the configuration options for the Microsoft SQL server receiver:

Metrics πŸ”—

The following metrics, resource attributes, and attributes, are available.

Activate or deactivate specific metrics πŸ”—

You can activate or deactivate specific metrics by setting the enabled field in the metrics section for each metric. For example:

        enabled: true
        enabled: false

The following is an example of host metrics receiver configuration with activated metrics:

            enabled: true


Deactivated metrics aren’t sent to Splunk Observability Cloud.

Troubleshooting πŸ”—

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers

Available to prospective customers and free trial users

  • Ask a question and get answers through community support at Splunk Answers .

  • Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.

To learn about even more support options, see Splunk Customer Success .