The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:
metrics:
<metric_name>:
enabled: false
Number of batch requests received by SQL Server.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{requests}/s | Gauge | Double |
Number of SQL compilations needed.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{compilations}/s | Gauge | Double |
Number of SQL recompilations needed.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{compilations}/s | Gauge | Double |
Number of lock requests resulting in a wait.
Unit | Metric Type | Value Type |
---|---|---|
{requests}/s | Gauge | Double |
Average wait time for all lock requests that had to wait.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
ms | Gauge | Double |
Pages found in the buffer pool without having to read from disk.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
% | Gauge | Double |
Number of pages flushed by operations requiring dirty pages to be flushed.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{pages}/s | Gauge | Double |
Number of lazy writes moving dirty pages to disk.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{writes}/s | Gauge | Double |
Time a page will stay in the buffer pool.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
s | Gauge | Int |
Number of physical database page operations issued.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{operations}/s | Gauge | Double |
Name | Description | Values |
---|---|---|
type | The page operation types. | Str: read , write |
Number of pages split as a result of overflowing index pages.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{pages}/s | Gauge | Double |
Number of transactions started for the database (not including XTP-only transactions).
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{transactions}/s | Gauge | Double |
Number of transactions that wrote to the database and committed.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{transactions}/s | Gauge | Double |
Total number of log bytes flushed.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
By/s | Gauge | Double |
Number of log flushes.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{flushes}/s | Gauge | Double |
Number of commits waiting for a transaction log flush.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{commits}/s | Gauge | Double |
Total number of transaction log expansions for a database.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
{growths} | Sum | Int | Cumulative | true |
Total number of transaction log shrinks for a database.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
{shrinks} | Sum | Int | Cumulative | true |
Percent of transaction log space used.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
% | Gauge | Int |
Number of users connected to the SQL Server.
This metric is only available when running on Windows.
Unit | Metric Type | Value Type |
---|---|---|
{connections} | Gauge | Int |
The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:
metrics:
<metric_name>:
enabled: true
The number of databases
This metric is only available when the receiver is configured to directly connect to SQL Server.
Unit | Metric Type | Value Type |
---|---|---|
{databases} | Gauge | Int |
Name | Description | Values |
---|---|---|
database.status | The current status of a database | Str: online , restoring , recovering , pending_recovery , suspect , offline |
Total time that the users waited for reads issued on this file.
This metric is only available when the receiver is configured to directly connect to SQL Server.
Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
---|---|---|---|---|
s | Sum | Double | Cumulative | true |
Name | Description | Values |
---|---|---|
physical_filename | The physical filename of the file being monitored. | Any Str |
logical_filename | The logical filename of the file being monitored. | Any Str |
file_type | The type of file being monitored. | Any Str |
The number of processes that are currently blocked
This metric is only available when the receiver is configured to directly connect to SQL Server.
Unit | Metric Type | Value Type |
---|---|---|
{processes} | Gauge | Int |
The number of read operations that were throttled in the last second
This metric is only available when the receiver is configured to directly connect to SQL Server.
Unit | Metric Type | Value Type |
---|---|---|
{reads}/s | Gauge | Int |
The number of write operations that were throttled in the last second
This metric is only available when the receiver is configured to directly connect to SQL Server.
Unit | Metric Type | Value Type |
---|---|---|
{writes}/s | Gauge | Double |
Name | Description | Values | Enabled |
---|---|---|---|
sqlserver.computer.name | The name of the SQL Server instance being monitored. | Any Str | false |
sqlserver.database.name | The name of the SQL Server database. | Any Str | true |
sqlserver.instance.name | The name of the SQL Server instance being monitored. | Any Str | false |