-
Notifications
You must be signed in to change notification settings - Fork 3
/
router.yaml
65 lines (61 loc) · 1.32 KB
/
router.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
supergraph:
introspection: true
path: /
listen: 0.0.0.0:4000
homepage:
enabled: false
sandbox:
enabled: true
telemetry:
apollo:
field_level_instrumentation_sampler: 0.3
errors:
subgraph:
all:
redact: false
send: true
instrumentation:
spans:
mode: spec_compliant
router:
attributes:
environment:
env: ENVIRONMENT
default: development
exporters:
metrics:
prometheus:
enabled: true
path: /metrics
listen: 0.0.0.0:9999
common:
service_name: router
service_namespace: observability-workshop
attributes:
supergraph:
context:
- named: has_errors
subgraph:
all:
errors:
include_messages: true
extensions:
- name: error_code
path: .code
tracing:
propagation:
jaeger: true
common:
parent_based_sampler: true
service_name: router
service_namespace: observability-workshop
sampler: 0.3
otlp:
enabled: true
endpoint: http://localhost:43178
protocol: grpc
include_subgraph_errors:
all: true
rhai: {}
plugins:
experimental.expose_query_plan: true