sentry_elixir v0.0.4 Sentry.Context

Provides a method to store user, tags, and extra context when an event is reported. The contexts will be fetched and merged into the event.

Sentry.Context uses the Process Dictionary to store this state. This imposes some limitations. The state will only exist within the current process, and the context will die with the process.

For example, if you add context inside your controller and an error happens in a Task the context won’t send.

Summary

Functions

clear_all()
get_all()
set_extra_context(map)
set_tags_context(map)
set_user_context(map)