fabio icon indicating copy to clipboard operation
fabio copied to clipboard

Datadog tracing

Open ishworg opened this issue 5 years ago • 3 comments

Is tracing with datadog agent supported?

https://github.com/fabiolb/fabio/blob/master/fabio.properties#L1272

Fabio version: 1.5.12. Config:

# https://github.com/fabiolb/fabio/blob/master/fabio.properties
proxy.addr = :80;proto=grpc
proxy.strategy = rr
registry.backend = consul
registry.consul.register.enabled = true
registry.consul.addr = 127.0.0.1:8500
registry.consul.tagprefix = urlprefix-
registry.timeout = 60s
registry.consul.register.checkInterval = 1s
registry.consul.register.checkTimeout = 1s
registry.consul.register.checkDeregisterCriticalServiceAfter = 1m
registry.consul.serviceMonitors = 4
registry.consul.pollInterval = 1s
glob.cache.size = 10000
insecure = true
log.access.target = stdout
metrics.target = statsd
metrics.statsd.addr = 127.0.0.1:8125
metrics.prefix = lb
log.level = DEBUG
ui.addr = :8080
ui.color = light-blue
runtime.gomaxprocs = -1
tracing.TracingEnabled = true
tracing.CollectorType = http
tracing.ConnectString = http://127.0.0.1:8126/v0.1/spans
tracing.ServiceName = Fabiolb
tracing.SpanName = {{.Proto}} {{.Method}} {{.Path}}
tracing.TraceID128Bit = true
tracing.SamplerRate = 1

I sniffed on port 8126 (tcp) on loopback interface but i never see any traffic destined to 127.0.0.1:8126 (tcp). Datadog agent's tracer sits on 127.0.0.1:8126 (tcp). Datadog specifies they are opentracing compatible.

Thanks.

ishworg avatar May 20 '20 11:05 ishworg

could you post some logs and possibly give a little more detail on what you did to sniff traffic on 8126?

nathanejohnson avatar Aug 14 '20 23:08 nathanejohnson

could you post some logs and possibly give a little more detail on what you did to sniff traffic on 8126?

what are you aiming to achieve by me giving you the log?

ishworg avatar Nov 13 '20 06:11 ishworg

So if you're expecting to see tcp traffic, statsd backend at present is udp only.

nathanejohnson avatar Nov 13 '20 22:11 nathanejohnson