scoutapp / scout_apm_elixir

ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
https://scoutapm.com
Other
36 stars 20 forks source link

Update HTTPoison Example #53

Closed itsderek23 closed 5 years ago

itsderek23 commented 6 years ago

Our help docs have an example for instrumenting HTTPoison that references this gist.

@mitchellhenke - can you update that gist (or create a new one, whichever is more appropiate) to handle the comment on the gist:

image

...and this one that came through Slack:

image

/cc @cschneid

mitchellhenke commented 6 years ago

@itsderek23 yep!

cschneid commented 6 years ago

We ran into a namespace issue with a customer a while back. If you alias the ScoutApm.HTTPoison library, it hides the real HTTPoison name, which makes it impossible to pattern match on the other values in the namespace.

mitchellhenke commented 6 years ago

For posterity, the gist has been updated here: https://gist.github.com/mitchellhenke/60eaea45c1a317fe26d39cf2452bb640