Skip to content

Cron monitor check-in does not show up in UI when using sentry_sdk.monitor #2052

@benjaminrussell-americor

Description

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

# SENTRY_AUTH_TOKEN env var is set

from sentry_sdk.crons import monitor

@monitor('<monitor-slug>')
def main():
    ...

if __name__ == '__main__':
    main()

Expected Result

Check-in should show up in the UI under the monitor's detail page.

Actual Result

The monitor function creates the check-in and runs the script successfully, but that check-in does not show up under the monitor's detail page.

Product Area

Crons

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions