-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, we have telemetry.tracing.common.resources and telemetry.tracing.common.attributes. These should be 'resource' to align with otel terminology. Part of #4043
- Loading branch information
bryn
committed
Oct 17, 2023
1 parent
4c76a1e
commit 408982e
Showing
14 changed files
with
127 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
apollo-router/src/configuration/migrations/0015-telemetry_metrics_resource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: telemetry.metrics.common.resources has been renamed to telemetry.metrics.common.resource | ||
actions: | ||
- type: move | ||
from: telemetry.metrics.common.resources | ||
to: telemetry.metrics.common.resource |
5 changes: 5 additions & 0 deletions
5
apollo-router/src/configuration/migrations/0016-telemetry_tracing_resource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: telemetry.tracing.common.attributes has been renamed to telemetry.tracing.common.resource | ||
actions: | ||
- type: move | ||
from: telemetry.tracing.common.attributes | ||
to: telemetry.tracing.common.resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...er__configuration__tests__upgrade_old_configuration@telemetry_attributes.router.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: apollo-router/src/configuration/tests.rs | ||
expression: new_config | ||
--- | ||
--- | ||
telemetry: | ||
tracing: | ||
common: | ||
resource: | ||
test: val | ||
|
11 changes: 11 additions & 0 deletions
11
...ter__configuration__tests__upgrade_old_configuration@telemetry_resources.router.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: apollo-router/src/configuration/tests.rs | ||
expression: new_config | ||
--- | ||
--- | ||
telemetry: | ||
metrics: | ||
common: | ||
resource: | ||
test: val | ||
|
6 changes: 6 additions & 0 deletions
6
apollo-router/src/configuration/testdata/migrations/telemetry_attributes.router.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telemetry: | ||
tracing: | ||
common: | ||
attributes: | ||
test: val | ||
|
6 changes: 6 additions & 0 deletions
6
apollo-router/src/configuration/testdata/migrations/telemetry_resources.router.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telemetry: | ||
metrics: | ||
common: | ||
resources: | ||
test: val | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ telemetry: | |
tracing: | ||
common: | ||
service_name: router | ||
attributes: | ||
resource: | ||
str: a | ||
int: 1 | ||
float: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters