-
Notifications
You must be signed in to change notification settings - Fork 328
Marcelo/router 1609 #8915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marcelo/router 1609 #8915
Changes from all commits
2c0a974
6681ed9
9a410be
e8c309d
1f9e8bf
14ed5ef
cc596f4
b594c12
071b724
906c5d6
88d3de3
42a8612
8f5a006
eab74ae
e8d0e04
cac51ba
7383fa1
443103d
96085e4
d89efa7
51a0fbe
9f113aa
283d478
8cb82bc
b84124a
e7c35f0
18852cb
1ab09a4
bd8bb14
b346bc4
575f52d
4cfbefd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| ### Block Router startup when certain OTEL environment variables are set (PR #8915) | ||
|
|
||
| The Apollo Router will now *fail to start* if any of the following OpenTelemetry (OTEL) keyword environment variables are set: | ||
| • OTEL_EXPORTER_OTLP_ENDPOINT | ||
| • OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
| • OTEL_EXPORTER_OTLP_METRICS_ENDPOINT | ||
|
|
||
| Using these variables *is not supported by the Router* since it can override or interfere with its built-in telemetry configuration, leading to unexpected behavior. | ||
|
|
||
| Previously, the Router emitted a warning when OTEL_EXPORTER_OTLP_ENDPOINT was present. With this change, *startup is now blocked* to prevent unintended telemetry configuration conflicts. | ||
|
|
||
| If your deployment defines any of these environment variables (for example, through base container images, platform defaults, or infrastructure tooling), they must be removed before starting the Router. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <Caution> | ||
|
|
||
| The following OpenTelemetry (OTEL) environment variables will override router's built-in telemetry configuration: | ||
|
Check notice on line 3 in docs/shared/otel-envvars-caution.mdx
|
||
|
|
||
| - `OTEL_EXPORTER_OTLP_ENDPOINT` | ||
|
Check warning on line 5 in docs/shared/otel-envvars-caution.mdx
|
||
| - `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` | ||
|
Check warning on line 6 in docs/shared/otel-envvars-caution.mdx
|
||
| - `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` | ||
|
Check warning on line 7 in docs/shared/otel-envvars-caution.mdx
|
||
|
|
||
| In Apollo Router v2.12.0 and earlier, these variables will override router's telemetry settings and may cause traces or metrics to be sent to an unintended destination. | ||
|
Check warning on line 9 in docs/shared/otel-envvars-caution.mdx
|
||
|
|
||
| <br/><br/> | ||
|
|
||
| In Apollo Router v2.13.0 and later, your router will not start if any of these variables are set. Remove them from your environment before launching. | ||
|
Check warning on line 13 in docs/shared/otel-envvars-caution.mdx
|
||
|
|
||
| </Caution> | ||
Uh oh!
There was an error while loading. Please reload this page.