Skip to content

Commit

Permalink
fix: router config
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzorn93 committed Jan 6, 2025
1 parent ef7bb02 commit adc5c9f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
7 changes: 6 additions & 1 deletion apps/services/apollo-router/router-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ sandbox:
homepage:
enabled: false
include_subgraph_errors:
all: true # Propagate errors from all subgraphs
all: true
telemetry:
instrumentation:
spans:
mode: spec_compliant

plugins:
experimental.expose_query_plan: true

Expand Down
6 changes: 0 additions & 6 deletions apps/services/apollo-router/supergraph-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ subgraphs:
routing_url: http://accounts-graphql-prod.internal:8080/graphql # <- can be omitted if the same as introspection URL
schema:
subgraph_url: http://localhost:3003/graphql
include_subgraph_errors:
all: true
telemetry:
instrumentation:
spans:
mode: spec_compliant
6 changes: 5 additions & 1 deletion graphql/router-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ sandbox:
homepage:
enabled: true
include_subgraph_errors:
all: true # Propagate errors from all subgraphs
all: true
telemetry:
instrumentation:
spans:
mode: spec_compliant
plugins:
experimental.expose_query_plan: true

Expand Down
6 changes: 0 additions & 6 deletions graphql/supergraph-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ subgraphs:
routing_url: http://accounts-graphql:3000/graphql # <- can be omitted if the same as introspection URL
schema:
subgraph_url: http://localhost:3003/graphql
include_subgraph_errors:
all: true
telemetry:
instrumentation:
spans:
mode: spec_compliant

0 comments on commit adc5c9f

Please sign in to comment.