scoutapp / scout_apm_elixir

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

Add trace Context Tracking & Reporting #13

Closed cschneid closed 7 years ago

cschneid commented 7 years ago

To use in your application code:

ScoutApm.Context.add("email", user.email)

Keys may be Strings Values may be Strings, Numbers, Boolean

cschneid commented 7 years ago

This will likely conflict with #5 in (relatively) minor ways. I'll wait until that lands then fixup here.

itsderek23 commented 7 years ago

This will likely conflict with #5 in (relatively) minor ways. I'll wait until that lands then fixup here.

Yeah - I'm OK releasing this and adjusting devtrace.

itsderek23 commented 7 years ago

Looks good!

itsderek23 commented 7 years ago

@cschneid - have we checked that context (user and standard) appears correctly with traces in the UI?

itsderek23 commented 7 years ago

I verified the context is properly sent up in the payload and displayed in the ui.

itsderek23 commented 7 years ago

This closes #10.