Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task names in TaskManager] Rename "telemetry" to "usage" #78129

2 changes: 1 addition & 1 deletion x-pack/plugins/actions/server/usage/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function registerActionsTelemetryTask(
) {
taskManager.registerTaskDefinitions({
[TELEMETRY_TASK_TYPE]: {
title: 'Actions telemetry fetch task',
title: 'Actions usage fetch task',
type: TELEMETRY_TASK_TYPE,
timeout: '5m',
createTaskRunner: telemetryTaskRunner(logger, core, kibanaIndex),
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/alerts/server/usage/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function registerAlertingTelemetryTask(
) {
taskManager.registerTaskDefinitions({
[TELEMETRY_TASK_TYPE]: {
title: 'Alerting telemetry fetch task',
title: 'Alerting usage fetch task',
type: TELEMETRY_TASK_TYPE,
timeout: '5m',
createTaskRunner: telemetryTaskRunner(logger, core, kibanaIndex),
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/server/lib/apm_telemetry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function createApmTelemetry({
}) {
taskManager.registerTaskDefinitions({
[APM_TELEMETRY_TASK_NAME]: {
title: 'Collect APM telemetry',
title: 'Collect APM usage',
type: APM_TELEMETRY_TASK_NAME,
createTaskRunner: () => {
return {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/lens/server/usage/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function registerLensTelemetryTask(
) {
taskManager.registerTaskDefinitions({
[TELEMETRY_TASK_TYPE]: {
title: 'Lens telemetry fetch task',
title: 'Lens usage fetch task',
type: TELEMETRY_TASK_TYPE,
timeout: '1m',
createTaskRunner: telemetryTaskRunner(logger, core, config),
Expand Down