Expose values of certain task manager configuration settings in the telemetry (#202511)

In this PR, I'm adding some settings to the `exposeToUsage` variable
which allows the values of these settings to be reported via telemetry.
This way we can see what values, ratios, etc a certain setting has.

Settings to report values instead of `[redacted]`:
- `xpack.task_manager.claim_strategy`
- `xpack.task_manager.discovery.active_nodes_lookback`
- `xpack.task_manager.unsafe.exclude_task_types`
This commit is contained in:
Mike Côté 2024-12-03 06:22:23 -05:00 committed by GitHub
parent 3b67098043
commit bca4850814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,4 +104,13 @@ export const config: PluginConfigDescriptor<TaskManagerConfig> = {
},
];
},
exposeToUsage: {
claim_strategy: true,
discovery: {
active_nodes_lookback: true,
},
unsafe: {
exclude_task_types: true,
},
},
};