Skip to content

Commit

Permalink
Add notice to the tracing field set, about not nesting field names. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin authored Dec 2, 2020
1 parent c2f141b commit 154f082
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Thanks, you're awesome :-) -->

#### Improvements

* Added a notice highlighting that the `tracing` fields are not nested under the
namespace `tracing.` #1162

#### Deprecated


Expand Down
3 changes: 3 additions & 0 deletions code/go/ecs/tracing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7187,6 +7187,8 @@ example: `tls`

Distributed tracing makes it possible to analyze performance throughout a microservice architecture all in one view. This is accomplished by tracing all of the requests - from the initial web request in the front-end service - to queries made through multiple back-end services.

Unlike most field sets in ECS, the tracing fields are *not* nested under the field set name. In other words, the correct field name is `trace.id`, not `tracing.trace.id`, and so on.

[discrete]
==== Tracing Field Details

Expand Down
6 changes: 5 additions & 1 deletion experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5215,10 +5215,14 @@
- name: tracing
title: Tracing
group: 2
description: Distributed tracing makes it possible to analyze performance throughout
description: 'Distributed tracing makes it possible to analyze performance throughout
a microservice architecture all in one view. This is accomplished by tracing
all of the requests - from the initial web request in the front-end service
- to queries made through multiple back-end services.
Unlike most field sets in ECS, the tracing fields are *not* nested under the
field set name. In other words, the correct field name is `trace.id`, not `tracing.trace.id`,
and so on.'
type: group
fields:
- name: span.id
Expand Down
6 changes: 5 additions & 1 deletion experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9228,10 +9228,14 @@ tls:
title: TLS
type: group
tracing:
description: Distributed tracing makes it possible to analyze performance throughout
description: 'Distributed tracing makes it possible to analyze performance throughout
a microservice architecture all in one view. This is accomplished by tracing all
of the requests - from the initial web request in the front-end service - to queries
made through multiple back-end services.
Unlike most field sets in ECS, the tracing fields are *not* nested under the field
set name. In other words, the correct field name is `trace.id`, not `tracing.trace.id`,
and so on.'
fields:
span.id:
dashed_name: span-id
Expand Down
6 changes: 5 additions & 1 deletion generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5302,10 +5302,14 @@
- name: tracing
title: Tracing
group: 2
description: Distributed tracing makes it possible to analyze performance throughout
description: 'Distributed tracing makes it possible to analyze performance throughout
a microservice architecture all in one view. This is accomplished by tracing
all of the requests - from the initial web request in the front-end service
- to queries made through multiple back-end services.
Unlike most field sets in ECS, the tracing fields are *not* nested under the
field set name. In other words, the correct field name is `trace.id`, not `tracing.trace.id`,
and so on.'
type: group
fields:
- name: span.id
Expand Down
6 changes: 5 additions & 1 deletion generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9316,10 +9316,14 @@ tls:
title: TLS
type: group
tracing:
description: Distributed tracing makes it possible to analyze performance throughout
description: 'Distributed tracing makes it possible to analyze performance throughout
a microservice architecture all in one view. This is accomplished by tracing all
of the requests - from the initial web request in the front-end service - to queries
made through multiple back-end services.
Unlike most field sets in ECS, the tracing fields are *not* nested under the field
set name. In other words, the correct field name is `trace.id`, not `tracing.trace.id`,
and so on.'
fields:
span.id:
dashed_name: span-id
Expand Down
7 changes: 6 additions & 1 deletion schemas/tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
short: Fields related to distributed tracing.
description: >
Distributed tracing makes it possible to analyze performance throughout a microservice architecture all in one view.
This is accomplished by tracing all of the requests - from the initial web request in the front-end service - to queries made through multiple back-end services.
This is accomplished by tracing all of the requests - from the initial web
request in the front-end service - to queries made through multiple back-end services.
Unlike most field sets in ECS, the tracing fields are *not* nested under the
field set name. In other words, the correct field name is `trace.id`,
not `tracing.trace.id`, and so on.
type: group
fields:
- name: trace.id
Expand Down

0 comments on commit 154f082

Please sign in to comment.