router.yaml 651 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. sandbox:
  2. enabled: true
  3. homepage:
  4. enabled: false
  5. supergraph:
  6. introspection: true
  7. override_subgraph_url:
  8. auth: http://host.docker.internal:3128/query
  9. include_subgraph_errors:
  10. all: true
  11. headers:
  12. all:
  13. request:
  14. - propagate:
  15. named: "Authorization"
  16. - propagate:
  17. named: "X-Instance-ID"
  18. traffic_shaping:
  19. deduplicate_variables: true
  20. router:
  21. timeout: 15s
  22. global_rate_limit:
  23. capacity: 1000
  24. interval: 1s
  25. telemetry:
  26. metrics:
  27. common:
  28. service_name: "gateway"
  29. service_namespace: "craft"
  30. prometheus:
  31. listen: 0.0.0.0:9090
  32. path: /metrics
  33. enabled: true