SentryEventInfo#
- class safir.slack.blockkit.SentryEventInfo(tags=<factory>, contexts=<factory>, attachments=<factory>, username=None)#
Bases:
objectA collection of metadata to add to Sentry events.
The overrideable
to_sentrymethod returns an object of this type.- Parameters:
Attributes Summary
Long strings of text, or other files, to add to a Sentry event.
Detailed information to add to a Sentry event.
Short key-value pairs to add to a Sentry event.
Attributes Documentation
- attachments: dict[str, Any] = <dataclasses._MISSING_TYPE object>#
Long strings of text, or other files, to add to a Sentry event.
Attachments can hold the most text, but are the hardest to view in the Sentry UI. They can also hold non-text files.
- contexts: dict[str, dict[str, Any]] = <dataclasses._MISSING_TYPE object>#
Detailed information to add to a Sentry event.
You can not search by context values, but you can store more data in them.