-
Notifications
You must be signed in to change notification settings - Fork 5
/
proxy-defaults-otlp.hcl
56 lines (56 loc) · 1.43 KB
/
proxy-defaults-otlp.hcl
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
Kind = "proxy-defaults"
Name = "global"
Config {
envoy_prometheus_bind_addr = "0.0.0.0:9102"
envoy_extra_static_clusters_json =<<-EOT
{
"connect_timeout": "3.000s",
"dns_lookup_family": "V4_ONLY",
"lb_policy": "ROUND_ROBIN",
"typed_extension_protocol_options": {
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
"explicit_http_config": {
"http2_protocol_options": {}
}
}
},
"load_assignment": {
"cluster_name": "tempo-otlp",
"endpoints": [
{
"lb_endpoints": [
{
"endpoint": {
"address": {
"socket_address": {
"address": "tempo.service.consul",
"port_value": 4317
}
}
}
}
]
}
]
},
"name": "tempo-otlp",
"type": "STRICT_DNS"
}
EOT
envoy_tracing_json =<<-EOT
{
"http": {
"name": "envoy.tracers.opentelemetry",
"typedConfig": {
"@type": "type.googleapis.com/envoy.config.trace.v3.OpenTelemetryConfig",
"grpc_service": {
"envoy_grpc": {
"cluster_name": "tempo-otlp"
}
}
}
}
}
EOT
}