You can use the OpenTelemetry Collector for Microsoft SQL Server to monitor your instance. The OpenTelemetry Collector is a community-supported project that collects telemetry data from Microsoft SQL Server and sends it to New Relic.
By default, the OpenTelemetry Collector collects limited metrics from Microsoft SQL Server. To send query performance, wait-time, session, and other advanced metrics, you'll need to configure the OpenTelemetry Collector. This guide shows you how to configure it to collect advanced metrics from Microsoft SQL Server and send them to New Relic.
Prerequisites
- OpenTelemetry Collector Contrib (
otelcol-contrib) installed and configured on your system. You can download the latest release from the OpenTelemetry Collector releases page.
Enable UI metrics
You can enrich your New Relic platform experience by adding and enabling metrics in your otelcol-contrib configuration file. Using the configuration provided in this section, you can populate data for the following pages in the New Relic platform:
Overview
Query performance
Wait events
Sessions
Clients
Stored procedures
Restart the OpenTelemetry Collector
Restart the OpenTelemetry Collector to apply the configuration changes by running the following command:
Restart-Service -Name "otelcol-contrib"