Skip to content

Commit

Permalink
disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadnoveljic committed Sep 23, 2024
1 parent 281c301 commit 616d9b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sqlserver/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ files:
options:
- name: enabled
description: |
Enable the collection of deadlock data. Requires `dbm: true`. Enabled by default.
Enable the collection of deadlock data. Requires `dbm: true`. Disabled by default.
value:
type: boolean
example: false
Expand Down
2 changes: 1 addition & 1 deletion sqlserver/datadog_checks/sqlserver/deadlocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, check, config: SQLServerConfig):
super(Deadlocks, self).__init__(
check,
run_sync=True,
enabled=self._config.deadlocks_config.get('enabled', True),
enabled=self._config.deadlocks_config.get('enabled', False),
expected_db_exceptions=(),
min_collection_interval=self._config.min_collection_interval,
dbms="sqlserver",
Expand Down

0 comments on commit 616d9b5

Please sign in to comment.