New Relic Elixir Agent v1.0.0 NewRelic.Instrumented.HTTPoison View Source
To track outbound requests as part of a Distributed Trace, an additional request
header needs to be added. Simply alias this module and use HTTPoison
as normal,
all your requests will be automatically instrumented.
alias NewRelic.Instrumented.HTTPoison
HTTPoison.get("http://www.example.com")
This module mirrors the interface of HTTPoison