what is the good args to enable jaeger opentracing?
- --tracing.serviceName=traefik-service
- --tracing=true
- --tracing.jaeger.samplingServerURL=http://my-jaeger-agent.jaeger:5778/sampling
- --tracing.jaeger.localAgentHostPort=my-jaeger-agent.jaeger::6831
On my jaeger instance I only see trace for jaeger not for traefik
Need I add something into IngressRoute or service to see the trace of each call inside Jaeger ?
Is it better to use agent or collector ?
@ldez Are you sure that traefik with jaeger works fine? I think I've try all possible configuration without any success.(by collector or agent)
@Idez see somethink really strange. If I use the clusterIp it works. but not with the dns name.
see:
"--tracing.serviceName=tracing",
"--tracing=true",
"--tracing.jaeger=true",
"--tracing.jaeger.samplingType=const",
"--tracing.jaeger.samplingParam=1.0",
"--tracing.jaeger.samplingServerURL=http://my-jaeger-agent.jaeger.svc.cluster.local:5778/sampling",
"--tracing.jaeger.collector.endpoint=http://my-jaeger-collector.jaeger.svc.cluster.local:14268/api/traces?format=jaeger.thrift"
doesnt works
if I replace "--tracing.jaeger.collector.endpoint=http://my-jaeger-collector.jaeger.svc.cluster.local:14268/api/traces?format=jaeger.thrift" by "--tracing.jaeger.collector.endpoint=http://10.100.200.55:14268/api/traces?format=jaeger.thrift" it works

Inside log file I see:
time="2020-03-19T15:08:00Z" level=error msg="Tracing jaeger error: error reporting Jaeger span "kube-system-middleware-https@kubernetescrd": Post http://my-jaeger-collector.jaeger.svc.cluster.local:14268/api/traces?format=jaeger.thrift: dial tcp: lookup my-jaeger-collector.jaeger.svc.cluster.local on 169.254.0.2:53: no such host" tracingProviderName=jaeger
forget that it seems that I've got a pb on my core-dns
I have a smoothly traefik + jaeger integration using service name resolution. Please have a look at below:
- --tracing.jaeger=true
- --tracing.serviceName=traefik-service
- --tracing.jaeger.samplingParam=1.0
- --tracing.jaeger.samplingType=const
- --tracing.jaeger.localAgentHostPort=jaeger-operator-jaeger-agent.monitoring:6831
- --tracing.jaeger.samplingServerURL=http://jaeger-operator-jaeger-agent.monitoring:5778/sampling