traefik/integration/fixtures/tracing/simple-jaeger.toml

71 lines
1.8 KiB
TOML
Raw Normal View History

[global]
2019-07-01 09:30:05 +00:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 09:30:05 +00:00
level = "DEBUG"
2022-11-21 17:36:05 +00:00
noColor = true
2018-01-24 10:57:06 +00:00
[api]
2019-09-06 13:08:04 +00:00
insecure = true
2018-01-10 16:48:04 +00:00
[entryPoints]
[entryPoints.web]
2018-01-10 16:48:04 +00:00
address = ":8000"
[tracing]
2018-04-11 14:30:04 +00:00
servicename = "tracing"
2019-06-27 22:16:04 +00:00
[tracing.jaeger]
samplingType = "const"
samplingParam = 1.0
samplingServerURL = "http://{{.IP}}:5778/sampling"
localAgentHostPort = "{{.IP}}:6831"
2019-10-15 14:30:06 +00:00
traceContextHeaderName = "{{.TraceContextHeaderName}}"
2018-04-11 14:30:04 +00:00
[providers.file]
filename = "{{ .SelfFilename }}"
2019-07-01 09:30:05 +00:00
## dynamic configuration ##
2018-01-10 16:48:04 +00:00
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
2019-09-03 12:34:04 +00:00
Middlewares = ["retry", "ratelimit-1"]
Rule = "Path(`/ratelimit`)"
[http.routers.router2]
2018-11-14 09:18:03 +00:00
Service = "service2"
Middlewares = ["retry"]
Rule = "Path(`/retry`)"
[http.routers.router3]
2018-11-14 09:18:03 +00:00
Service = "service3"
Middlewares = ["retry", "basic-auth"]
Rule = "Path(`/auth`)"
2018-04-11 14:30:04 +00:00
[http.middlewares]
[http.middlewares.retry.retry]
2019-07-01 09:30:05 +00:00
attempts = 3
[http.middlewares.basic-auth.basicAuth]
users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]
2019-09-03 12:34:04 +00:00
[http.middlewares.ratelimit-1.rateLimit]
average = 1
burst = 2
2018-11-14 09:18:03 +00:00
[http.services]
[http.services.service1]
2019-07-01 09:30:05 +00:00
[http.services.service1.loadBalancer]
2018-11-14 09:18:03 +00:00
passHostHeader = true
2019-07-01 09:30:05 +00:00
[[http.services.service1.loadBalancer.servers]]
url = "http://{{.WhoamiIP}}:{{.WhoamiPort}}"
2018-11-14 09:18:03 +00:00
[http.services.service2]
2019-07-01 09:30:05 +00:00
[http.services.service2.loadBalancer]
passHostHeader = true
2019-07-01 09:30:05 +00:00
[[http.services.service2.loadBalancer.servers]]
url = "http://{{.WhoamiIP}}:{{.WhoamiPort}}"
2018-11-14 09:18:03 +00:00
[http.services.service3]
2019-07-01 09:30:05 +00:00
[http.services.service3.loadBalancer]
passHostHeader = true
2019-07-01 09:30:05 +00:00
[[http.services.service3.loadBalancer.servers]]
url = "http://{{.WhoamiIP}}:{{.WhoamiPort}}"