Skip to content

Commit 912b6e7

Browse files
committed
Remove deprecated config options from spec and updated conf.yaml
1 parent 290aba1 commit 912b6e7

2 files changed

Lines changed: 14 additions & 32 deletions

File tree

disk/assets/configuration/spec.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ files:
3434
type: array
3535
items:
3636
type: string
37-
- name: file_system_whitelist
38-
description: |
39-
Deprecated, use file_system_include instead.
4037
- name: file_system_exclude
4138
description: |
4239
Instruct the check to not collect from matching file systems.
@@ -57,9 +54,6 @@ files:
5754
type: array
5855
items:
5956
type: string
60-
- name: file_system_blacklist
61-
description: |
62-
Deprecated, use file_system_exclude instead.
6357
- name: device_include
6458
description: |
6559
Instruct the check to only collect from matching devices.
@@ -74,9 +68,6 @@ files:
7468
type: array
7569
items:
7670
type: string
77-
- name: device_whitelist
78-
description: |
79-
Deprecated, use device_include instead.
8071
- name: device_exclude
8172
description: |
8273
Instruct the check to not collect from matching devices.
@@ -93,9 +84,6 @@ files:
9384
type: array
9485
items:
9586
type: string
96-
- name: device_blacklist
97-
description: |
98-
Deprecated, use device_exclude instead.
9987
- name: mount_point_include
10088
description: |
10189
Instruct the check to only collect from matching mount points.
@@ -110,9 +98,6 @@ files:
11098
type: array
11199
items:
112100
type: string
113-
- name: mount_point_whitelist
114-
description: |
115-
Deprecated, use mount_point_include instead.
116101
- name: mount_point_exclude
117102
description: |
118103
Instruct the check to not collect from matching mount points.
@@ -128,9 +113,6 @@ files:
128113
type: array
129114
items:
130115
type: string
131-
- name: mount_point_blacklist
132-
description: |
133-
Deprecated, use mount_point_exclude instead.
134116
- name: include_all_devices
135117
description: |
136118
Instruct the check to collect from all devices, including non-physical devices.

disk/datadog_checks/disk/data/conf.yaml.default

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ instances:
2626
# - <KEY_1>:<VALUE_1>
2727
# - <KEY_2>:<VALUE_2>
2828

29-
## @param file_system_whitelist - list of strings - optional
29+
## @param file_system_include - list of strings - optional
3030
## Instruct the check to only collect from matching file systems.
3131
##
3232
## Character casing is ignored. For convenience, the regular expressions
3333
## start matching from the beginning and therefore to match anywhere you
3434
## must prepend `.*`. For exact matches append `$`.
3535
#
36-
# file_system_whitelist:
36+
# file_system_include:
3737
# - ext[34]$
3838
# - ntfs$
3939

40-
## @param file_system_blacklist - list of strings - optional
40+
## @param file_system_exclude - list of strings - optional
4141
## Instruct the check to not collect from matching file systems.
4242
##
4343
## Character casing is ignored. For convenience, the regular expressions
@@ -47,56 +47,56 @@ instances:
4747
## Devices from pseudo or memory-based file systems can be excluded by disabling the
4848
## `include_all_devices` option.
4949
##
50-
## When conflicts arise, this will override `file_system_whitelist`.
50+
## When conflicts arise, this will override `file_system_include`.
5151
#
52-
# file_system_blacklist:
52+
# file_system_exclude:
5353
# - tmpfs$
5454
# - rootfs$
5555
# - autofs$
5656

57-
## @param device_whitelist - list of strings - optional
57+
## @param device_include - list of strings - optional
5858
## Instruct the check to only collect from matching devices.
5959
##
6060
## Character casing is ignored on Windows. For convenience, the regular
6161
## expressions start matching from the beginning and therefore to match
6262
## anywhere you must prepend `.*`. For exact matches append `$`.
6363
#
64-
# device_whitelist:
64+
# device_include:
6565
# - /dev/sda[1-3]
6666
# - 'C:'
6767

68-
## @param device_blacklist - list of strings - optional
68+
## @param device_exclude - list of strings - optional
6969
## Instruct the check to not collect from matching devices.
7070
##
7171
## Character casing is ignored on Windows. For convenience, the regular
7272
## expressions start matching from the beginning and therefore to match
7373
## anywhere you must prepend `.*`. For exact matches append `$`.
7474
##
75-
## When conflicts arise, this will override `device_whitelist`.
75+
## When conflicts arise, this will override `device_include`.
7676
#
77-
# device_blacklist:
77+
# device_exclude:
7878
# - /dev/sde
7979
# - '[FJ]:'
8080

81-
## @param mount_point_whitelist - list of strings - optional
81+
## @param mount_point_include - list of strings - optional
8282
## Instruct the check to only collect from matching mount points.
8383
##
8484
## Character casing is ignored on Windows. For convenience, the regular
8585
## expressions start matching from the beginning and therefore to match
8686
## anywhere you must prepend `.*`. For exact matches append `$`.
8787
#
88-
# mount_point_whitelist:
88+
# mount_point_include:
8989
# - /dev/sda[1-3]
9090
# - 'C:'
9191

92-
## @param mount_point_blacklist - list of strings - optional
92+
## @param mount_point_exclude - list of strings - optional
9393
## Instruct the check to not collect from matching mount points.
9494
##
9595
## Character casing is ignored on Windows. For convenience, the regular
9696
## expressions start matching from the beginning and therefore to match
9797
## anywhere you must prepend `.*`. For exact matches append `$`.
9898
#
99-
# mount_point_blacklist:
99+
# mount_point_exclude:
100100
# - /proc/sys/fs/binfmt_misc
101101
# - /dev/sde
102102
# - '[FJ]:'

0 commit comments

Comments
 (0)