-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promote
next
branch to dev
; make 2.x our default development bran…
…ch (#6576)
- Loading branch information
Showing
766 changed files
with
61,132 additions
and
14,850 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Default to Apollo reporting over OTel ([PR #5741](https://github.com/apollographql/router/pull/5741)) | ||
|
||
BREAKING CHANGE: This change will cause traces in Apollo Studio to appear differently | ||
|
||
|
||
By [@lennyburdette](https://github.com/lennyburdette) in https://github.com/apollographql/router/pull/5741 |
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,7 @@ | ||
### Changed Apollo reporting defaults ([PR #5975](https://github.com/apollographql/router/pull/5975)) | ||
|
||
Changed the defaults of the Apollo metrics reporting defaults. | ||
* `telemetry.apollo.signature_normalization_algorithm` now defaults to `enhanced` | ||
* `telemetry.apollo.metrics_reference_mode` now defaults to `extended` | ||
|
||
By [@bonnici](https://github.com/bonnici) in https://github.com/apollographql/router/pull/5975 |
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 @@ | ||
### promote experimental_otlp_tracing_sampler from experimental ([PR #6070](https://github.com/apollographql/router/pull/6070)) | ||
|
||
The router's otlp tracing sampler feature that was previously [experimental](https://www.apollographql.com/docs/resources/product-launch-stages/#experimental-features) is now [generally available](https://www.apollographql.com/docs/resources/product-launch-stages/#general-availability). | ||
|
||
If you used its experimental configuration, you should migrate to the new configuration option: | ||
|
||
* `telemetry.apollo.experimental_otlp_tracing_sampler` is now `telemetry.apollo.otlp_tracing_sampler` | ||
|
||
The experimental configuration option is now deprecated. It remains functional but will log warnings. | ||
|
||
By [@garypen](https://github.com/garypen) in https://github.com/apollographql/router/pull/6070 |
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,33 @@ | ||
### Gracefully handle subgraph response with `-1` values inside error locations ([PR #5633](https://github.com/apollographql/router/pull/5633)) | ||
|
||
[GraphQL specification requires](https://spec.graphql.org/draft/#sel-GAPHRPFCCaCGX5zM) that both "line" and "column" are positive numbers. | ||
However GraphQL Java and GraphQL Kotlin use `{ "line": -1, "column": -1 }` value if they can't determine error location inside query. | ||
|
||
This change makes Router to gracefully handle such responses by ignoring such invalid locations. | ||
|
||
As an example, if subgraph respond with: | ||
```json | ||
{ | ||
"data": { "topProducts": null }, | ||
"errors": [{ | ||
"message":"Some error on subgraph", | ||
"locations": [ | ||
{ "line": -1, "column": -1 }, | ||
], | ||
"path":["topProducts"] | ||
}] | ||
} | ||
``` | ||
|
||
Router will return following to a client: | ||
```json | ||
{ | ||
"data": { "topProducts": null }, | ||
"errors": [{ | ||
"message":"Some error on subgraph", | ||
"path":["topProducts"] | ||
}] | ||
} | ||
``` | ||
|
||
By [@IvanGoncharov](https://github.com/IvanGoncharov) in https://github.com/apollographql/router/pull/5633 |
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 @@ | ||
### Migrate histogram metrics to `{f,u}64_histogram!` ([PR #6356](https://github.com/apollographql/router/pull/6356)) | ||
|
||
Updates histogram metrics using the legacy `tracing::info!(histogram.*)` syntax to the new metrics macros. | ||
|
||
By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/6356 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### Migrate various metrics to OTel instruments ([PR #6476](https://github.com/apollographql/router/pull/6476), [PR #6356](https://github.com/apollographql/router/pull/6356), [PR #6539](https://github.com/apollographql/router/pull/6539)) | ||
### Migrate gauge metrics to OTel instruments ([PR #6476](https://github.com/apollographql/router/pull/6476)) | ||
|
||
Various metrics using our legacy mechanism based on the `tracing` crate are migrated to OTel instruments. | ||
Updates gauge metrics using the legacy `tracing::info!(value.*)` syntax to OTel instruments. | ||
|
||
By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/6476, https://github.com/apollographql/router/pull/6356, https://github.com/apollographql/router/pull/6539 | ||
By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/6476 |
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
Oops, something went wrong.