You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a **logs-only** app. For collecting **metrics** and enabling comprehensive **monitoring** on both **Linux** and **Windows**, use the [Microsoft SQL Server - OpenTelemetry App](https://help.sumologic.com/docs/integrations/microsoft-azure/opentelemetry/sql-server-opentelemetry).
16
+
:::
17
+
14
18
The Sumo Logic app for Microsoft SQL Server is a logs-based app that provides insight into your SQL Server for Linux. The app consists of predefined dashboards, providing visibility into your environment for real-time or historical analysis on backup, restore mirroring, general health and operations of your system.
15
19
16
20
This app has been tested with following SQL Server versions:
@@ -142,7 +146,7 @@ Following is the query from **Error and warning count** panel from the **SQL Ser
142
146
143
147
### Overview
144
148
145
-
The **SQL Server - Overview** dashboard provides a snapshot overview of your SQL Server instance. Use this dashboard to understand CPU, memory, and disk utilization of your SQL Server(s) deployed in your cluster. This dashboard also provides login activities and methods by users.
149
+
The **SQL Server Linux - Overview** dashboard provides a snapshot overview of your SQL Server instance. Use this dashboard to understand CPU, memory, and disk utilization of your SQL Server(s) deployed in your cluster. This dashboard also provides login activities and methods by users.
146
150
147
151
Use this dashboard to:
148
152
- Keep track of deadlocks, errors, backup failures, mirroring errors, and insufficient space issue counts.
@@ -152,7 +156,7 @@ Use this dashboard to:
152
156
153
157
### General Health
154
158
155
-
The **SQL Server - General Health** dashboard provides you the overall health of SQL Server. Use this dashboard to analyze server events including stopped/up servers and its corresponding down/uptime, monitor disk space percentage utilization, wait time trend, and app-domain issues by SQL server.
159
+
The **SQL Server Linux - General Health** dashboard provides you the overall health of SQL Server. Use this dashboard to analyze server events including stopped/up servers and its corresponding down/uptime, monitor disk space percentage utilization, wait time trend, and app-domain issues by SQL server.
156
160
157
161
Use this dashboard to:
158
162
@@ -164,7 +168,7 @@ Use this dashboard to:
164
168
165
169
### Backup Restore Mirroring
166
170
167
-
The **SQL Server - Backup Restore Mirroring** dashboard provides information about:
171
+
The **SQL Server Linux - Backup Restore Mirroring** dashboard provides information about:
168
172
169
173
- Transaction log backup events
170
174
- Database backup events
@@ -176,7 +180,7 @@ The **SQL Server - Backup Restore Mirroring** dashboard provides information abo
176
180
177
181
### Operations
178
182
179
-
The **SQL Server - Operations** dashboard displays recent server configuration changes, number and type of configuration updates, error and warnings, high severity error, and warning trends.
183
+
The **SQL Server Linux - Operations** dashboard displays recent server configuration changes, number and type of configuration updates, error and warnings, high severity error, and warning trends.
180
184
181
185
Use this dashboard to:
182
186
@@ -195,10 +199,10 @@ import CreateMonitors from '../../../reuse/apps/create-monitors.md';
|`SQL Server - AppDomain`| This alert is triggered when AppDomain-related issues are detected in your SQL Server instance. | Count `>=` 1 | Count `<` 1 |
199
-
|`SQL Server - Backup Fail`| This alert is triggered when the SQL Server backup fails. | Count `>=` 1 | Count `<` 1 |
200
-
|`SQL Server - Deadlock`| This alert is triggered when deadlocks are detected in a SQL Server instance. | Count `>` 5 | Count `<=` 5 |
201
-
|`SQL Server - Instance Down`| This alert is triggered when the SQL Server instance is down for 5 minutes. | Count `>` 0 | Count `<=` 0 |
202
-
|`SQL Server - Insufficient Space`| This alert is triggered when the SQL Server instance cannot allocate a new page for the database due to insufficient disk space in the filegroup. | Count `>` 0 | Count `<=` 0 |
203
-
|`SQL Server - Login Fail`| This alert is triggered when the user is unable to login to the SQL Server. | Count `>=` 1 | Count `<` 1 |
204
-
|`SQL Server - Mirroring Error`| This alert is triggered when an error occurs in SQL Server mirroring. | Count `>=` 1 | Count `<` 1 |
202
+
|`SQL Server Linux - AppDomain`| This alert is triggered when AppDomain-related issues are detected in your SQL Server instance. | Count `>=` 1 | Count `<` 1 |
203
+
|`SQL Server Linux - Backup Fail`| This alert is triggered when the SQL Server backup fails. | Count `>=` 1 | Count `<` 1 |
204
+
|`SQL Server Linux - Deadlock`| This alert is triggered when deadlocks are detected in a SQL Server instance. | Count `>` 5 | Count `<=` 5 |
205
+
|`SQL Server Linux - Instance Down`| This alert is triggered when the SQL Server instance is down for 5 minutes. | Count `>` 0 | Count `<=` 0 |
206
+
|`SQL Server Linux - Insufficient Space`| This alert is triggered when the SQL Server instance cannot allocate a new page for the database due to insufficient disk space in the filegroup. | Count `>` 0 | Count `<=` 0 |
207
+
|`SQL Server Linux - Login Fail`| This alert is triggered when the user is unable to login to the SQL Server. | Count `>=` 1 | Count `<` 1 |
208
+
|`SQL Server Linux - Mirroring Error`| This alert is triggered when an error occurs in SQL Server mirroring. | Count `>=` 1 | Count `<` 1 |
Copy file name to clipboardExpand all lines: docs/integrations/microsoft-azure/opentelemetry/sql-server-opentelemetry.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,14 +106,25 @@ This will generate a command you can execute on the machine that you need to mon
106
106
-**Linux**: For SQL Server on Linux, logs are typically located at: `/var/opt/mssql/log/errorlog*`
107
107
108
108
2.**SQL Server Connection Configuration**: To collect metrics, you'll need to provide connection details:
109
-
-**Server Address**: The hostname or IP address of your SQL Server instance (default: localhost)
109
+
-**Server Address**: The hostname or IP address of your SQL Server instance (default: 0.0.0.0)
110
110
-**Port**: The port number for SQL Server connection (default: 1433)
111
111
-**Username**: SQL Server authentication username (required for Linux, optional for Windows if using Windows Authentication)
112
112
-**Password**: SQL Server authentication password (required for Linux, optional for Windows if using Windows Authentication)
113
113
114
-
3.**Named Instance Configuration**: To collect from a SQL Server with a named instance, both **Computer Name** and **Instance Name** are required for Windows and only **Instance Name** for Linux. Toggle the `Enable metric collection for SQL Server with a named instance.` button. For a default SQL Server setup, these settings are optional.
115
-
-**Computer Name**: The computer name identifies the SQL Server name or IP address of the computer being monitored. This is the network name of the machine hosting SQL Server. (Only required for Windows)
116
-
-**Instance Name**: The instance name identifies the specific SQL Server instance being monitored. This is required when SQL Server is installed as a named instance (e.g., SQLEXPRESS, INSTANCE01) rather than the default instance.
114
+
3.**Monitoring a Named SQL Server Instance (Windows Only)**
115
+
116
+
To collect metrics from a specific named instance of SQL Server on a **Windows** host, enable the `Enable metric collection for SQL Server with a named instance` option. For a default SQL Server setup, these settings are optional.
117
+
118
+
***Computer Name**: The computer name identifies the SQL Server name or IP address of the computer being monitored. This is the network name of the machine hosting SQL Server.
119
+
***Instance Name**: The instance name identifies the specific SQL Server instance being monitored. This is required when SQL Server is installed as a named instance (e.g., SQLEXPRESS, INSTANCE01) rather than the default instance.
120
+
121
+
---
122
+
:::note
123
+
**For Linux Users**
124
+
These settings are not used for SQL Server on Linux because its instance architecture is different.
125
+
126
+
On Linux, SQL Server does not use named instances in the same way Windows does. Instead, each SQL Server instance on a Linux host is configured to listen on a unique TCP port. To connect to a specific instance, you specify its port number directly in the connection string (e.g., `your_server_hostname,1401`), rather than resolving an instance name.
127
+
:::
117
128
118
129
4. You can add any custom fields which you want to tag along with the data ingested in Sumo Logic.
0 commit comments