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
Using Phoenix, I had a little problem with the request_id not being found, it seems like now one has to explicitly use the Plug.RequestId in one's endpoint.ex (for example). Mine looks like this:
defmoduleOps.Web.Endpointdo.
.
.
# Zipkin (needs a `x-request-id` header, generated by the RequestId plug)plugPlug.RequestIdplugPhxExRay.Tracing.Plug...
Otherwise, it will be nil and all the subsequent code expects the value to be a binary.
I thought a small update in the readme might help others in the future.
Many thanks again,
Josh
The text was updated successfully, but these errors were encountered:
Thank you for an awesome Zipkin tool for Elixir!
Using Phoenix, I had a little problem with the
request_id
not being found, it seems like now one has to explicitly use thePlug.RequestId
in one'sendpoint.ex
(for example). Mine looks like this:Otherwise, it will be
nil
and all the subsequent code expects the value to be a binary.I thought a small update in the readme might help others in the future.
Many thanks again,
Josh
The text was updated successfully, but these errors were encountered: