Closed cschneid closed 7 years ago
Tuples, lists, and maps would be good to have available as well.
oh, i see you already addressed the maps question—any particular reason to disallow those? Just to prevent overdoing it on stored request data?
oh, i see you already addressed the maps question—any particular reason to disallow those? Just to prevent overdoing it on stored request data?
Good question. Two primary reasons:
Expanding a tuple into the parent context (ie: prefixing user keys with user_
) seems like an OK workaround. We aren't ruling out additional types in the future.
Ok, good to know, thanks for the update!
The Ruby agent has supported a
Context
api, where an application can add small snippets of information to a request, which will be saved and displayed in a trace on the web site.For instance:
We should reimplement this in the Elixir agent as well.
Hypothetical api:
No nested maps, and the data types would be simple strings, atoms, numbers. (anything else?)