andersundsehr/sentry_cron_monitor

Creates sentry cron monitor for all tasks

Installs: 77

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

0.3 2025-09-10 09:37 UTC

This package is not auto-updated.

Last update: 2025-09-24 09:58:58 UTC


README

What does this extension do?

When a scheduler task runs:

  • It will create a monitor and an alert in Sentry for the given scheduler task if there is none yet.
  • It will send a check-in status to Sentry to indicate whether the task was successful or not.
  • If the task fails, it will send a status error to Sentry, and the alert (only in Production) from the cron monitor will send a notification to the configured Microsoft Teams channel. Example: img_1.png

Requirements:

  • Microsoft Teams Integration in Sentry + add App to (standard) Channel to get $integrationIdMsTeams in Sentry: https://develop.sentry.dev/integrations/msteams/
  • Successful Integration in Channel: image
  • ⚠️ The first channel must always be named 'General'; otherwise, it will not work! All other channels created after the first one can be given any name.

Extension Configuration:

  1. Integration ID for Microsoft Teams in Sentry: $integrationIdMsTeams
    • You can get this from the URL of the Microsoft Teams Integration in Sentry when you hover over "Configure."
  2. Organization Name in Sentry: $orgName
  3. Name of the Microsoft Teams channel for notifications: $teamsChannelName
  4. Authorization token for the Sentry API: $authToken
    • You can create this token in the User Auth Tokens in Sentry.
    • Make sure to grant read and write permissions to alerts.