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
when enabling jaeger via "JAGER_ENDPOINT", i encountered the error: failed to setup logging: Exporter otlp encountered the following error(s): no http client, you must select one from features or provide your own implementation
it seems that otlp_exporter missed the calling of with_http_client, there are two ways of fixing this:
use grpc client instead of http client (tonic has already been a dependency in other places, so won't lead to extra imports)
add deps of opentelemetry_http, create a client and pass it to with_http_client
the former one is simplier, but the jaeger's startup command has to be changed into: docker run -d -p16686:16686 -p4317:4317 -p4318:4318 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest to use the grpc port 4317 (so the docs should also be updated)
The text was updated successfully, but these errors were encountered:
when enabling jaeger via "JAGER_ENDPOINT", i encountered the error:
failed to setup logging: Exporter otlp encountered the following error(s): no http client, you must select one from features or provide your own implementation
it seems that
otlp_exporter
missed the calling ofwith_http_client
, there are two ways of fixing this:opentelemetry_http
, create a client and pass it towith_http_client
the former one is simplier, but the jaeger's startup command has to be changed into:
docker run -d -p16686:16686 -p4317:4317 -p4318:4318 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest
to use the grpc port 4317 (so the docs should also be updated)The text was updated successfully, but these errors were encountered: