SentryEventInfo#
- class safir.slack.blockkit.SentryEventInfo(tags=dict(), contexts=dict(), attachments=dict(), 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] = MISSING#
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]] = MISSING#
Detailed information to add to a Sentry event.
You can not search by context values, but you can store more data in them.