Skip to content

Commit

Permalink
Expose values of certain task manager configuration settings in the t…
Browse files Browse the repository at this point in the history
…elemetry (#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`
  • Loading branch information
mikecote authored Dec 3, 2024
1 parent 3b67098 commit bca4850
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x-pack/plugins/task_manager/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,13 @@ export const config: PluginConfigDescriptor<TaskManagerConfig> = {
},
];
},
exposeToUsage: {
claim_strategy: true,
discovery: {
active_nodes_lookback: true,
},
unsafe: {
exclude_task_types: true,
},
},
};

0 comments on commit bca4850

Please sign in to comment.