I didn't notice any errors in the terminal, but no traces showed up. It turns out that this is because a 301 redirect to /v1/traces was returned, and we do not handle redirects in the code.
I think we should handle redirects or at least fail/log something out to the console. wdyt?
I was testing the
cohttp
client with the jaeger all in one image. I sethttp://localhost:4318/
as theconfig.url
, which makes the client to send traces tohttp://localhost:4318//v1/traces
(notice the double//
. Also see https://github.com/imandra-ai/ocaml-opentelemetry/pull/38).I didn't notice any errors in the terminal, but no traces showed up. It turns out that this is because a
301
redirect to/v1/traces
was returned, and we do not handle redirects in the code.I think we should handle redirects or at least fail/log something out to the console. wdyt?