Atatus monitors self-hosted SQL Server instances, capturing performance metrics and offering query-level insights such as execution plans, wait events, and database load.
SQL Server versions 2012, 2014, 2016, 2017, 2019, and 2022 are fully supported.

1. Grant the Agent Access

Create a read-only login for the Atatus Agent and assign the necessary permissions.

SQLSERVER 2014+

SQLSERVER 2012

Create the atatus user in each additional application database:

2. Configuration

Step 1: Configure the SQL Server Integration

Edit the /etc/atatus-infra-agent/conf.d/sqlserver.d/sqlserver.yml configuration file in your Atatus Agent installation directory:

Step 2: Restart the Atatus Infra Agent


Enable Schema Collection for SQL Server 2017+ (Optional)

Atatus Agent can collect schema information from SQL Server 2017 and above.

Requirements

  • Agent v3.4.0 or higher
  • collect_database_info: true
  • collect_settings: true
  • Use auto_discovery: true to auto-detect all databases

Configuration Examples

  • Collect schemas from all logical databases

Collect Metrics Using Custom Queries (Optional)

You can collect custom metrics from SQL Server using the custom_queries option in your configuration.

Configuration Example