feat!: Deprecate whitelist/blacklist flags

Flags have been deprecated in favour of include/exclude terminology.

Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
Ben Reedy
2023-04-01 17:48:23 +10:00
parent 3627520559
commit fab77d9d31
17 changed files with 465 additions and 161 deletions

View File

@@ -10,17 +10,17 @@ Enabled by default? | No
## Flags
### `--collector.scheduled_task.whitelist`
### `--collector.scheduled_task.include`
If given, the path of the task needs to match the whitelist regexp in order for the corresponding metrics to be reported.
If given, the path of the task needs to match the include regexp in order for the corresponding metrics to be reported.
E.G. `--collector.scheduled_task.whitelist="Firefox.*"`
E.G. `--collector.scheduled_task.include="Firefox.*"`
### `--collector.scheduled_task.blacklist`
### `--collector.scheduled_task.exclude`
If given, the path of the task needs to *not* match the blacklist regexp in order for the corresponding metrics to be reported.
If given, the path of the task needs to *not* match the exclude regexp in order for the corresponding metrics to be reported.
E.G. `--collector.scheduled_task.blacklist="/Microsoft/.+"`
E.G. `--collector.scheduled_task.exclude="/Microsoft/.+"`
## Metrics