Skip to content

Commit

Permalink
[Task names in TaskManager] Rename "telemetry" to "usage" (#78129)
Browse files Browse the repository at this point in the history
* [Task names in TaskManager] Rename "telemetry" to "usage"

* Revert task IDs but leaving renamed titles

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
afharo and elasticmachine authored Oct 1, 2020
1 parent 9fdb237 commit 65cf639
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 65cf639

Please sign in to comment.