Skip to content

Commit

Permalink
apmpackage: remove processor.name fields
Browse files Browse the repository at this point in the history
This field is not used by the UI, and is redundant;
its value can be inferred from data_stream.dataset`.

See elastic/kibana#161718 (comment)
  • Loading branch information
axw committed Aug 21, 2023
1 parent cfce80b commit 29d48c2
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 38 deletions.
4 changes: 2 additions & 2 deletions apmpackage/apm/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- version: generated
changes:
- description: Placeholder
- description: Remove unused `processor.name` field
type: enhancement
link: https://github.com/elastic/apm-server/pull/123
link: https://github.com/elastic/apm-server/pull/11437
- version: "8.10.0"
changes:
- description: Add permissions to reroute to dedicated datasets for logs, metrics and traces
Expand Down
4 changes: 0 additions & 4 deletions apmpackage/apm/data_stream/app_logs/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
type: constant_keyword
value: log
description: Processor event.
- name: processor.name
type: constant_keyword
value: log
description: Processor name.
- name: service.framework.name
type: keyword
index: false
Expand Down
4 changes: 0 additions & 4 deletions apmpackage/apm/data_stream/app_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.framework.name
type: keyword
index: false
Expand Down
4 changes: 0 additions & 4 deletions apmpackage/apm/data_stream/error_logs/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@
type: constant_keyword
value: error
description: Processor event.
- name: processor.name
type: constant_keyword
value: error
description: Processor name.
- name: service.framework.name
type: keyword
index: false
Expand Down
4 changes: 0 additions & 4 deletions apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.framework.name
type: keyword
index: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.target.name
type: keyword
description: Target service for which data is collected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.language.name
type: keyword
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.language.name
type: keyword
description: |
Expand Down
4 changes: 0 additions & 4 deletions apmpackage/apm/data_stream/traces/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@
- name: processor.event
type: keyword
description: Processor event, either "transaction" or "span".
- name: processor.name
type: constant_keyword
value: transaction
description: Processor name.
- name: service.framework.name
type: keyword
index: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
type: constant_keyword
value: metric
description: Processor event.
- name: processor.name
type: constant_keyword
value: metric
description: Processor name.
- name: service.language.name
type: keyword
description: |
Expand Down

0 comments on commit 29d48c2

Please sign in to comment.