Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Sentry.ContextSourceA context is a set of tags and breadcrumbs attached to an event https://docs.sentry.io/clientdev/context/
Note that contexts are mutable to make it easier to add tags and breadcrumbs.
type t = {mutable environment : string option;mutable release : string option;mutable server_name : string option;extra : Yojson.Basic.json Core_kernel.String.Table.t;modules : string Core_kernel.String.Table.t;}Returns a new context with default data from the environment and system calls.
Returns a new context with no tags or breadcrumbs. You probably want to use default () or copying the parent context in most cases.
merge_tags tags t merges the given tags into t
merge_extra extra t merges the given extra data into t
merge_modules modules t merges the given module info into t
Add a breadcrumb to the context and remove older breadcrumbs