Skip to content

Commit 6663044

Browse files
mikecoteCAWilson94
authored andcommitted
Expose values of certain task manager configuration settings in the telemetry (elastic#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`
1 parent a99d1e5 commit 6663044

File tree

1 file changed

+9
-0
lines changed
  • x-pack/plugins/task_manager/server

1 file changed

+9
-0
lines changed

x-pack/plugins/task_manager/server/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,13 @@ export const config: PluginConfigDescriptor<TaskManagerConfig> = {
104104
},
105105
];
106106
},
107+
exposeToUsage: {
108+
claim_strategy: true,
109+
discovery: {
110+
active_nodes_lookback: true,
111+
},
112+
unsafe: {
113+
exclude_task_types: true,
114+
},
115+
},
107116
};

0 commit comments

Comments
 (0)