@@ -137,7 +137,9 @@ files:
137
137
description : |
138
138
Configure collection of AlwaysOn availability group metrics.
139
139
140
- When the `ao_metrics.enabled` is True, use `ao_metrics.availability_group` to specify the
140
+ Set `ao_metrics.enabled` to true to enable collection of AlwaysOn metrics. Defaults to false.
141
+
142
+ When `ao_metrics.enabled` is True, use `ao_metrics.availability_group` to specify the
141
143
resource group id of a specific availability group that you would like to monitor.
142
144
If no availability group is specified, then we will collect AlwaysOn metrics for all
143
145
availability groups on the current replica.
@@ -163,6 +165,9 @@ files:
163
165
- name : db_backup_metrics
164
166
description : |
165
167
Configure collection of database backup metrics.
168
+
169
+ Set `db_backup_metrics.enabled` to true to enable collection of database backup metrics. Defaults to true.
170
+
166
171
Use `db_backup_metrics.collection_interval` to set the interval (in seconds) for the collection of
167
172
database backup metrics. Defaults to 300 seconds (5 minutes). If you intend on updating this value,
168
173
it is strongly recommended to use a consistent value throughout all SQL Server agent deployments.
@@ -180,6 +185,8 @@ files:
180
185
- name : db_files_metrics
181
186
description : |
182
187
Configure collection of database files metrics.
188
+
189
+ Set `db_files_metrics.enabled` to true to enable collection of database files metrics. Defaults to true.
183
190
hidden : true
184
191
value :
185
192
type : object
@@ -190,6 +197,8 @@ files:
190
197
- name : db_stats_metrics
191
198
description : |
192
199
Configure collection of database stats metrics
200
+
201
+ Set `db_stats_metrics.enabled` to true to enable collection of database stats metrics. Defaults to true.
193
202
hidden : true
194
203
value :
195
204
type : object
@@ -203,6 +212,9 @@ files:
203
212
Note these queries can be resource intensive on large datasets. Recommend to limit these via
204
213
autodiscovery or specific database instances.
205
214
215
+ Set `db_fragmentation_metrics.enabled` to true to enable collection of
216
+ database index fragmentation statistics. Defaults to false.
217
+
206
218
Use `db_fragmentation_metrics.enabled_tempdb` to enable collection of database index fragmentation statistics
207
219
in tempdb database from the `sys.dm_db_index_physical_stats` DMF.
208
220
By default, we do not collect index fragmentation statistics in the tempdb database, as those queries
@@ -219,7 +231,7 @@ files:
219
231
- name : enabled
220
232
type : boolean
221
233
example : false
222
- - name : enabled_tempdb
234
+ - name : enabled_tempdb
223
235
type : boolean
224
236
example : false
225
237
- name : collection_interval
@@ -228,8 +240,11 @@ files:
228
240
display_default : 300
229
241
- name : fci_metrics
230
242
description : |
231
- Configure collection of failover Cluster Instance metrics. Note that these metrics
243
+ Configure collection of Failover Cluster Instance metrics. Note that these metrics
232
244
requires a SQLServer set up with Failover Clustering enabled.
245
+
246
+ Set `fci_metrics.enabled` to true to enable collection of Failover Cluster Instance metrics.
247
+ Defaults to false.
233
248
value :
234
249
type : object
235
250
properties :
@@ -239,6 +254,8 @@ files:
239
254
- name : file_stats_metrics
240
255
description : |
241
256
Configure collection of file stats metrics.
257
+
258
+ Set `file_stats_metrics.enabled` to true to enable collection of file stats metrics. Defaults to true.
242
259
hidden : true
243
260
value :
244
261
type : object
@@ -252,6 +269,9 @@ files:
252
269
Because the `sys.dm_db_index_usage_stats` view is scoped to the current database, enable
253
270
`database_autodiscovery` or set `database`.
254
271
272
+ Set `index_usage_metrics.enabled` to true to enable collection of user table index usage statistics.
273
+ Defaults to false.
274
+
255
275
Use `index_usage_metrics.enabled_tempdb` to enable collection of user table index usage statistics in tempdb
256
276
database from the `sys.dm_db_index_usage_stats` DMV.
257
277
By default, we do not collect index usage statistics in the tempdb database, as those queries
@@ -279,6 +299,9 @@ files:
279
299
description : |
280
300
Configure collection of server-level instance metrics. When setting up multiple instances for
281
301
different databases on the same host these metrics will be duplicated unless this option is turned off.
302
+
303
+ Set `instance_metrics.enabled` to true to enable collection of server-level instance metrics.
304
+ Defaults to true.
282
305
value :
283
306
type : object
284
307
properties :
@@ -288,6 +311,9 @@ files:
288
311
- name : master_files_metrics
289
312
description : |
290
313
Configure collection of database file size and state from `sys.master_files`
314
+
315
+ Set `master_files_metrics.enabled` to true to enable collection of database file size and state metrics.
316
+ Defaults to false.
291
317
value :
292
318
type : object
293
319
properties :
@@ -299,6 +325,9 @@ files:
299
325
Configure collection of metrics for a log shipping setup. Required to run against the
300
326
primary instance in a transaction log shipping configuration. Note that
301
327
the Datadog user needs to be present in msdb and must be added to the db_datareader role.
328
+
329
+ Set `primary_log_shipping_metrics.enabled` to true to enable collection of primary log shipping metrics.
330
+ Defaults to false.
302
331
value :
303
332
type : object
304
333
properties :
@@ -310,6 +339,9 @@ files:
310
339
Configure collection of metrics for a log shipping setup. Required to run against the
311
340
secondary instance in a transaction log shipping configuration. Note that
312
341
the Datadog user needs to be present in msdb and must be added to the db_datareader role.
342
+
343
+ Set `secondary_log_shipping_metrics.enabled` to true to enable collection of secondary log shipping metrics.
344
+ Defaults to false.
313
345
value :
314
346
type : object
315
347
properties :
@@ -319,6 +351,8 @@ files:
319
351
- name : server_state_metrics
320
352
description : |
321
353
Configure collection of server state metrics
354
+
355
+ Set `server_state_metrics.enabled` to true to enable collection of server state metrics. Defaults to true.
322
356
hidden : true
323
357
value :
324
358
type : object
@@ -329,6 +363,9 @@ files:
329
363
- name : task_scheduler_metrics
330
364
description : |
331
365
Configure collection of additional Task and Scheduler metrics.
366
+
367
+ Set `task_scheduler_metrics.enabled` to true to enable collection of additional Task and Scheduler metrics.
368
+ Defaults to false.
332
369
value :
333
370
type : object
334
371
properties :
@@ -338,23 +375,28 @@ files:
338
375
- name : tempdb_file_space_usage_metrics
339
376
description : |
340
377
Configure collection of tempdb file space usage metrics for how space is used in tempdb data files.
378
+
379
+ Set `tempdb_file_space_usage_metrics.enabled` to true to enable collection of
380
+ tempdb file space usage metrics. Defaults to true.
341
381
value :
342
382
type : object
343
383
properties :
344
384
- name : enabled
345
385
type : boolean
346
- example : false
386
+ example : true
347
387
- name : xe_metrics
348
388
description : |
349
389
Configure collection of extended events (XE) metrics.
390
+
391
+ Set `xe_metrics.enabled` to true to enable collection of extended events metrics. Defaults to false.
350
392
value :
351
393
type : object
352
394
properties :
353
395
- name : enabled
354
396
type : boolean
355
397
example : false
356
398
- name : agent_jobs
357
- description : Configure collection of agent jobs events and metrics
399
+ description : Configure collection of SQL Server Agent jobs events and metrics
358
400
options :
359
401
- name : enabled
360
402
description : |
0 commit comments