You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to configure loki to send traces to tempo over the thrift http protocol for for the opentelemetry jaeger receiver.
Loki uses weaveworks/common to set this up.
I've configured my components with the JAEGER_ENDPOINT env var, but I'm getting an error:
020-11-04T14:53:17-08:00 level=error ts=2020-11-04T22:53:17.150980442Z caller=main.go:112 msg="error in initializing tracing. tracing will not be enabled" err="no trace report agent or config server specified"
I'm trying to configure loki to send traces to tempo over the thrift http protocol for for the opentelemetry jaeger receiver.
Loki uses
weaveworks/common
to set this up.I've configured my components with the
JAEGER_ENDPOINT
env var, but I'm getting an error:This appears to come from here:
https://github.com/grafana/loki/blob/master/vendor/github.com/weaveworks/common/tracing/tracing.go#L32-L43
t appears there may be a work-around by specifying some other options, like
JAEGER_AGENT_HOST
, as that will cause theLocalAgentHostPort
configuration to get a default value, bypassing the validation error. And according to https://github.com/grafana/loki/blob/master/vendor/github.com/uber/jaeger-client-go/config/config.go#L416, if theCollectorEndpoint
(JAEGER_ENDPOINT
) is set, then then the UDP transport isn't even used.I'm still testing the work around, but https://github.com/grafana/tempo/blob/master/example/docker-compose/docker-compose.loki.yaml#L70-L73 indicates it might work.
The text was updated successfully, but these errors were encountered: