-
Notifications
You must be signed in to change notification settings - Fork 5
/
proxy-defaults-zipkin.hcl
48 lines (48 loc) · 1.19 KB
/
proxy-defaults-zipkin.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
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",
"load_assignment":{
"cluster_name":"tempo-zipkin",
"endpoints":[
{
"lb_endpoints":[
{
"endpoint":{
"address":{
"socket_address":{
"address":"tempo.service.consul",
"port_value":9411,
"protocol":"TCP"
}
}
}
}
]
}
]
},
"name":"tempo-zipkin",
"type":"STRICT_DNS"
}
EOT
envoy_tracing_json = <<-EOT
{
"http":{
"name":"envoy.tracers.zipkin",
"typedConfig":{
"@type":"type.googleapis.com/envoy.config.trace.v3.ZipkinConfig",
"collector_cluster":"tempo-zipkin",
"collector_endpoint_version":"HTTP_JSON",
"collector_endpoint":"/api/v2/spans",
"shared_span_context":false
}
}
}
EOT
}