#I send an event with the cli with a custom tag. I cannot find how to do this with the Python SDK.

1 messages · Page 1 of 1 (latest)

tight sleet
tight sleet
#

Found it in a SO question. I dont think it is documented anywhere

#
        with sentry_sdk.push_scope() as scope:
            scope.set_tag("alert_level", "critical")
            sentry_sdk.capture_message(msg)