2023-08-31 12:42:08 -06:00
|
|
|
CELERY_TASK_ROUTES = {
|
|
|
|
|
# DEFAULT
|
|
|
|
|
"apps.alerts.tasks.sync_grafana_alerting_contact_points.disconnect_integration_from_alerting_contact_points": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.alerts.tasks.delete_alert_group.delete_alert_group": {"queue": "default"},
|
2024-01-31 15:54:50 -07:00
|
|
|
"apps.alerts.tasks.delete_alert_group.send_alert_group_signal_for_delete": {"queue": "default"},
|
|
|
|
|
"apps.alerts.tasks.delete_alert_group.finish_delete_alert_group": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.alerts.tasks.invalidate_web_cache_for_alert_group.invalidate_web_cache_for_alert_group": {"queue": "default"},
|
|
|
|
|
"apps.alerts.tasks.wipe.wipe": {"queue": "default"},
|
|
|
|
|
"common.oncall_gateway.tasks.create_oncall_connector_async": {"queue": "default"},
|
|
|
|
|
"common.oncall_gateway.tasks.delete_oncall_connector_async": {"queue": "default"},
|
2023-09-01 15:40:58 +02:00
|
|
|
"common.oncall_gateway.tasks.create_slack_connector_async_v2": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"common.oncall_gateway.tasks.delete_slack_connector_async_v2": {"queue": "default"},
|
|
|
|
|
"apps.heartbeat.tasks.process_heartbeat_task": {"queue": "default"},
|
2023-10-20 09:30:11 +02:00
|
|
|
"apps.labels.tasks.update_labels_cache": {"queue": "default"},
|
|
|
|
|
"apps.labels.tasks.update_instances_labels_cache": {"queue": "default"},
|
2024-02-20 14:42:51 +08:00
|
|
|
"apps.labels.tasks.update_label_option_cache": {"queue": "default"},
|
|
|
|
|
"apps.labels.tasks.update_label_pairs_cache": {"queue": "default"},
|
2025-01-14 11:02:23 +01:00
|
|
|
"apps.labels.tasks.add_service_label_for_alerting_integrations": {"queue": "default"},
|
|
|
|
|
"apps.labels.tasks.add_service_label_per_org": {"queue": "default"},
|
|
|
|
|
"apps.labels.tasks.add_service_label_for_integration": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.metrics_exporter.tasks.start_calculate_and_cache_metrics": {"queue": "default"},
|
2023-11-29 20:45:36 +08:00
|
|
|
"apps.metrics_exporter.tasks.update_metrics_for_alert_group": {"queue": "default"},
|
|
|
|
|
"apps.metrics_exporter.tasks.update_metrics_for_user": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.metrics_exporter.tasks.start_recalculation_for_new_metric": {"queue": "default"},
|
|
|
|
|
"apps.metrics_exporter.tasks.save_organizations_ids_in_cache": {"queue": "default"},
|
|
|
|
|
"apps.mobile_app.tasks.new_shift_swap_request.notify_shift_swap_requests": {"queue": "default"},
|
|
|
|
|
"apps.mobile_app.tasks.new_shift_swap_request.notify_shift_swap_request": {"queue": "default"},
|
|
|
|
|
"apps.mobile_app.tasks.new_shift_swap_request.notify_user_about_shift_swap_request": {"queue": "default"},
|
2023-09-07 16:59:54 +02:00
|
|
|
"apps.mobile_app.tasks.new_shift_swap_request.notify_beneficiary_about_taken_shift_swap_request": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.schedules.tasks.refresh_ical_files.refresh_ical_file": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.refresh_ical_files.start_refresh_ical_files": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.refresh_ical_files.refresh_ical_final_schedule": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.refresh_ical_files.start_refresh_ical_final_schedules": {"queue": "default"},
|
2024-01-31 15:25:06 +01:00
|
|
|
"apps.schedules.tasks.check_gaps_and_empty_shifts.check_gaps_and_empty_shifts_in_schedule": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.schedules.tasks.notify_about_gaps_in_schedule.start_notify_about_gaps_in_schedule": {"queue": "default"},
|
Fix `module 'apps.schedules.tasks.notify_about_empty_shifts_in_schedule' has no attribute 'apply_async'` `AttributeError` (#3640)
# Which issue(s) this PR fixes
We've been seeing this `AttributeError` quite frequently for quite some
time
([logs](https://ops.grafana-ops.net/explore?schemaVersion=1&panes=%7B%22oPl%22:%7B%22datasource%22:%22000000193%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcluster%3D~%5C%22prod-%28eu-west-0%7Cus-central-0%29%5C%22,%20namespace%3D%5C%22amixr-prod%5C%22%7D%20%7C%3D%20%60AttributeError%28%5C%22module%20%27apps.schedules.tasks.notify_about_empty_shifts_in_schedule%27%20has%20no%20attribute%20%27apply_async%27%5C%22%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22000000193%22%7D,%22editorMode%22:%22code%22%7D%5D,%22range%22:%7B%22from%22:%22now-7d%22,%22to%22:%22now%22%7D%7D%7D&orgId=1))
## Checklist
- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-01-10 06:22:44 -05:00
|
|
|
"apps.schedules.tasks.notify_about_gaps_in_schedule.notify_about_gaps_in_schedule_task": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.schedules.tasks.notify_about_gaps_in_schedule.schedule_notify_about_gaps_in_schedule": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.notify_about_gaps_in_schedule.start_notify_about_empty_shifts_in_schedule": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.schedules.tasks.notify_about_empty_shifts_in_schedule.check_empty_shifts_in_schedule": {"queue": "default"},
|
Fix `module 'apps.schedules.tasks.notify_about_empty_shifts_in_schedule' has no attribute 'apply_async'` `AttributeError` (#3640)
# Which issue(s) this PR fixes
We've been seeing this `AttributeError` quite frequently for quite some
time
([logs](https://ops.grafana-ops.net/explore?schemaVersion=1&panes=%7B%22oPl%22:%7B%22datasource%22:%22000000193%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcluster%3D~%5C%22prod-%28eu-west-0%7Cus-central-0%29%5C%22,%20namespace%3D%5C%22amixr-prod%5C%22%7D%20%7C%3D%20%60AttributeError%28%5C%22module%20%27apps.schedules.tasks.notify_about_empty_shifts_in_schedule%27%20has%20no%20attribute%20%27apply_async%27%5C%22%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22000000193%22%7D,%22editorMode%22:%22code%22%7D%5D,%22range%22:%7B%22from%22:%22now-7d%22,%22to%22:%22now%22%7D%7D%7D&orgId=1))
## Checklist
- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-01-10 06:22:44 -05:00
|
|
|
"apps.schedules.tasks.notify_about_empty_shifts_in_schedule.notify_about_empty_shifts_in_schedule_task": {
|
2023-08-31 12:42:08 -06:00
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.schedules.tasks.notify_about_empty_shifts_in_schedule.start_check_empty_shifts_in_schedule": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.schedules.tasks.notify_about_empty_shifts_in_schedule.start_notify_about_empty_shifts_in_schedule": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.schedules.tasks.notify_about_empty_shifts_in_schedule.schedule_notify_about_empty_shifts_in_schedule": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
|
|
|
|
"apps.schedules.tasks.shift_swaps.slack_messages.create_shift_swap_request_message": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.shift_swaps.slack_messages.update_shift_swap_request_message": {"queue": "default"},
|
2023-09-07 16:59:54 +02:00
|
|
|
"apps.schedules.tasks.shift_swaps.notify_when_taken.notify_beneficiary_about_taken_shift_swap_request": {
|
|
|
|
|
"queue": "default"
|
|
|
|
|
},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.schedules.tasks.shift_swaps.slack_followups.send_shift_swap_request_slack_followups": {"queue": "default"},
|
|
|
|
|
"apps.schedules.tasks.shift_swaps.slack_followups.send_shift_swap_request_slack_followup": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.start_migration_from_old_amixr": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_schedules": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_integrations": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_routes": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_escalation_policies": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.start_migration_alert_groups": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_alert_group": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.start_migration_alerts": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_alert": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.start_migration_logs": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_log": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.start_migration_user_data": {"queue": "default"},
|
|
|
|
|
"apps.migration_tool.tasks.migrate_user_data": {"queue": "default"},
|
|
|
|
|
"celery.backend_cleanup": {"queue": "default"},
|
|
|
|
|
"apps.heartbeat.tasks.check_heartbeats": {"queue": "default"},
|
|
|
|
|
"apps.oss_installation.tasks.send_cloud_heartbeat_task": {"queue": "default"},
|
|
|
|
|
"apps.oss_installation.tasks.send_usage_stats_report": {"queue": "default"},
|
|
|
|
|
"apps.oss_installation.tasks.sync_users_with_cloud": {"queue": "default"},
|
2024-01-20 14:56:17 +08:00
|
|
|
"common.oncall_gateway.tasks.link_slack_team_async": {"queue": "default"},
|
|
|
|
|
"common.oncall_gateway.tasks.unlink_slack_team_async": {"queue": "default"},
|
|
|
|
|
"common.oncall_gateway.tasks.register_oncall_tenant_async": {"queue": "default"},
|
|
|
|
|
"common.oncall_gateway.tasks.unregister_oncall_tenant_async": {"queue": "default"},
|
2024-06-03 17:07:10 +08:00
|
|
|
"apps.chatops_proxy.tasks.link_slack_team_async": {"queue": "default"},
|
|
|
|
|
"apps.chatops_proxy.tasks.unlink_slack_team_async": {"queue": "default"},
|
|
|
|
|
"apps.chatops_proxy.tasks.register_oncall_tenant_async": {"queue": "default"},
|
|
|
|
|
"apps.chatops_proxy.tasks.unregister_oncall_tenant_async": {"queue": "default"},
|
2023-08-31 12:42:08 -06:00
|
|
|
# CRITICAL
|
|
|
|
|
"apps.alerts.tasks.acknowledge_reminder.acknowledge_reminder_task": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.acknowledge_reminder.unacknowledge_timeout_task": {"queue": "critical"},
|
2024-10-16 14:13:28 +02:00
|
|
|
"apps.alerts.tasks.acknowledge_reminder.send_post_ack_reminder_message_signal": {"queue": "critical"},
|
Reworked declare incident escalation step (#5130)
Reworked https://github.com/grafana/oncall/pull/5047. Main update is the
switch from FK to a [M2M
relation](https://docs.google.com/document/d/1HeulqxoFShSHtInQrZNJLL5MDlHPNT50rVGaK3zZWvw/edit?disco=AAABVLjV4W8)
(which doesn't really change the original/intended behavior, besides not
needing to alter the alert group table, and it is a bit more flexible;
the extra table shouldn't introduce issues because this is used only for
tracking purposes and the information needed in the log record is
already there).
Avoid a db migration involving alert group table:
```
--
-- Create model RelatedIncident
--
CREATE TABLE `alerts_relatedincident` (`id` bigint AUTO_INCREMENT NOT NULL PRIMARY KEY, `incident_id` varchar(50) NOT NULL, `created_at` datetime(6) NOT NULL, `is_active` bool NOT NULL, `channel_filter_id` bigint NULL, `organization_id` bigint NOT NULL);
CREATE TABLE `alerts_relatedincident_attached_alert_groups` (`id` bigint AUTO_INCREMENT NOT NULL PRIMARY KEY, `relatedincident_id` bigint NOT NULL, `alertgroup_id` bigint NOT NULL);
ALTER TABLE `alerts_relatedincident` ADD CONSTRAINT `alerts_relatedincident_organization_id_incident_id_d7fc9a4f_uniq` UNIQUE (`organization_id`, `incident_id`);
ALTER TABLE `alerts_relatedincident` ADD CONSTRAINT `alerts_relatedincide_channel_filter_id_9556c836_fk_alerts_ch` FOREIGN KEY (`channel_filter_id`) REFERENCES `alerts_channelfilter` (`id`);
ALTER TABLE `alerts_relatedincident` ADD CONSTRAINT `alerts_relatedincide_organization_id_74ed6bed_fk_user_mana` FOREIGN KEY (`organization_id`) REFERENCES `user_management_organization` (`id`);
CREATE INDEX `alerts_relatedincident_incident_id_8356a799` ON `alerts_relatedincident` (`incident_id`);
ALTER TABLE `alerts_relatedincident_attached_alert_groups` ADD CONSTRAINT `alerts_relatedincident_a_relatedincident_id_alert_3d683baa_uniq` UNIQUE (`relatedincident_id`, `alertgroup_id`);
ALTER TABLE `alerts_relatedincident_attached_alert_groups` ADD CONSTRAINT `alerts_relatedincide_relatedincident_id_3e5e7a23_fk_alerts_re` FOREIGN KEY (`relatedincident_id`) REFERENCES `alerts_relatedincident` (`id`);
ALTER TABLE `alerts_relatedincident_attached_alert_groups` ADD CONSTRAINT `alerts_relatedincide_alertgroup_id_0125deca_fk_alerts_al` FOREIGN KEY (`alertgroup_id`) REFERENCES `alerts_alertgroup` (`id`);
```
2024-10-07 16:26:10 -03:00
|
|
|
"apps.alerts.tasks.declare_incident.declare_incident": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.alerts.tasks.distribute_alert.send_alert_create_signal": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.escalate_alert_group.escalate_alert_group": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.invite_user_to_join_incident.invite_user_to_join_incident": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.maintenance.check_maintenance_finished": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.maintenance.disable_maintenance": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.notify_all.notify_all_task": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.notify_group.notify_group_task": {"queue": "critical"},
|
2024-02-20 10:02:23 -03:00
|
|
|
"apps.alerts.tasks.notify_team_members.notify_team_members_task": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.alerts.tasks.notify_ical_schedule_shift.notify_ical_schedule_shift": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.notify_user.notify_user_task": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.notify_user.perform_notification": {"queue": "critical"},
|
User notifications bundle (#4457)
# What this PR does
This PR adds two new models: UserNotificationBundle and
BundledNotification (proposals for naming are welcome).
`UserNotificationBundle` manages the information about last notification
time and scheduled notification task for bundled notifications. It is
unique per user + notification_channel + notification importance.
`BundledNotification` contains notification policy and alert group, that
triggered the notification. The BundledNotification instance is created
in `notify_user_task` for every notification, that should be bundled,
and is attached to UserNotificationBundle by ForeignKey connection.
How it works:
If the user was notified recently (within the last two minutes) by the
current notification channel, and this channel is bundlable,
BundledNotification instance will be created and attached to the
UserNotificationBundle instance, and `send_bundled_notification` task
will be scheduled to execute in 2 min.
In `send_bundled_notification` task we get all BundledNotification
attached to the current UserNotificationBundle instance, check if alert
groups are still active and if there is only one notification - perform
regular notification by calling `perform_notification` task, otherwise
call "notify_by_<channel>_bundle" method for the current notification
channel.
PR with method to send notification bundle by SMS -
https://github.com/grafana/oncall/pull/4624
**This feature is disabled by default by feature flag. Public docs will
be added in a separate PR with enabling this feature.**
## Which issue(s) this PR closes
related to https://github.com/grafana/oncall-private/issues/2712
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
show up in the autogenerated release notes.
2024-07-16 13:24:08 +02:00
|
|
|
"apps.alerts.tasks.notify_user.send_bundled_notification": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.alerts.tasks.notify_user.send_user_notification_signal": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.resolve_alert_group_by_source_if_needed.resolve_alert_group_by_source_if_needed": {
|
|
|
|
|
"queue": "critical"
|
|
|
|
|
},
|
|
|
|
|
"apps.alerts.tasks.resolve_by_last_step.resolve_by_last_step_task": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.send_update_log_report_signal.send_update_log_report_signal": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.send_update_resolution_note_signal.send_update_resolution_note_signal": {"queue": "critical"},
|
|
|
|
|
"apps.alerts.tasks.unsilence.unsilence_task": {"queue": "critical"},
|
|
|
|
|
"apps.base.tasks.process_failed_to_invoke_celery_tasks": {"queue": "critical"},
|
|
|
|
|
"apps.base.tasks.process_failed_to_invoke_celery_tasks_batch": {"queue": "critical"},
|
|
|
|
|
"apps.email.tasks.notify_user_async": {"queue": "critical"},
|
2024-04-02 14:59:03 -04:00
|
|
|
"apps.google.tasks.sync_out_of_office_calendar_events_for_all_users": {"queue": "critical"},
|
|
|
|
|
"apps.google.tasks.sync_out_of_office_calendar_events_for_user": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.integrations.tasks.create_alert": {"queue": "critical"},
|
|
|
|
|
"apps.integrations.tasks.create_alertmanager_alerts": {"queue": "critical"},
|
|
|
|
|
"apps.integrations.tasks.start_notify_about_integration_ratelimit": {"queue": "critical"},
|
|
|
|
|
"apps.mobile_app.tasks.new_alert_group.notify_user_about_new_alert_group": {"queue": "critical"},
|
|
|
|
|
"apps.mobile_app.tasks.going_oncall_notification.conditionally_send_going_oncall_push_notifications_for_schedule": {
|
|
|
|
|
"queue": "critical"
|
|
|
|
|
},
|
|
|
|
|
"apps.mobile_app.tasks.going_oncall_notification.conditionally_send_going_oncall_push_notifications_for_all_schedules": {
|
|
|
|
|
"queue": "critical"
|
|
|
|
|
},
|
2024-03-07 11:26:25 -07:00
|
|
|
"apps.mobile_app.fcm_relay.fcm_relay_async": {"queue": "critical"},
|
2024-07-16 16:20:16 +02:00
|
|
|
"apps.phone_notifications.phone_backend.notify_by_sms_bundle_async_task": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.schedules.tasks.drop_cached_ical.drop_cached_ical_for_custom_events_for_organization": {"queue": "critical"},
|
|
|
|
|
"apps.schedules.tasks.drop_cached_ical.drop_cached_ical_task": {"queue": "critical"},
|
2024-10-11 21:38:47 +08:00
|
|
|
"apps.alerts.tasks.send_alert_group_signal.send_alert_group_signal": {"queue": "critical"},
|
2023-08-31 12:42:08 -06:00
|
|
|
# GRAFANA
|
|
|
|
|
"apps.grafana_plugin.tasks.sync.plugin_sync_organization_async": {"queue": "grafana"},
|
|
|
|
|
# LONG
|
|
|
|
|
"apps.alerts.tasks.alert_group_web_title_cache.update_web_title_cache_for_alert_receive_channel": {"queue": "long"},
|
|
|
|
|
"apps.alerts.tasks.alert_group_web_title_cache.update_web_title_cache": {"queue": "long"},
|
|
|
|
|
"apps.alerts.tasks.check_escalation_finished.check_escalation_finished_task": {"queue": "long"},
|
2024-01-10 15:54:27 -03:00
|
|
|
"apps.alerts.tasks.check_escalation_finished.check_alert_group_personal_notifications_task": {"queue": "long"},
|
2023-12-18 13:13:18 -03:00
|
|
|
"apps.alerts.tasks.check_escalation_finished.check_personal_notifications_task": {"queue": "long"},
|
2024-07-08 16:33:58 +01:00
|
|
|
"apps.chatops_proxy.tasks.start_sync_org_with_chatops_proxy": {"queue": "long"},
|
|
|
|
|
"apps.chatops_proxy.tasks.sync_org_with_chatops_proxy": {"queue": "long"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.grafana_plugin.tasks.sync.cleanup_organization_async": {"queue": "long"},
|
2024-02-27 10:34:41 -07:00
|
|
|
"apps.grafana_plugin.tasks.sync.cleanup_empty_deleted_integrations": {"queue": "long"},
|
2024-07-16 07:59:08 -06:00
|
|
|
"apps.grafana_plugin.tasks.sync.start_cleanup_deleted_integrations": {"queue": "long"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.grafana_plugin.tasks.sync.start_cleanup_deleted_organizations": {"queue": "long"},
|
|
|
|
|
"apps.grafana_plugin.tasks.sync.start_sync_organizations": {"queue": "long"},
|
|
|
|
|
"apps.grafana_plugin.tasks.sync.sync_organization_async": {"queue": "long"},
|
|
|
|
|
"apps.grafana_plugin.tasks.sync.sync_team_members_for_organization_async": {"queue": "long"},
|
|
|
|
|
"apps.grafana_plugin.tasks.sync.start_sync_regions": {"queue": "long"},
|
|
|
|
|
"apps.metrics_exporter.tasks.calculate_and_cache_metrics": {"queue": "long"},
|
|
|
|
|
"apps.metrics_exporter.tasks.calculate_and_cache_user_was_notified_metric": {"queue": "long"},
|
2024-08-28 10:34:30 -06:00
|
|
|
"apps.grafana_plugin.tasks.sync_v2.start_sync_organizations_v2": {"queue": "long"},
|
2024-07-31 13:12:56 -03:00
|
|
|
"apps.grafana_plugin.tasks.sync_v2.sync_organizations_v2": {"queue": "long"},
|
2023-08-31 12:42:08 -06:00
|
|
|
# SLACK
|
|
|
|
|
"apps.integrations.tasks.notify_about_integration_ratelimit_in_slack": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.clean_slack_channel_leftovers": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.check_slack_message_exists_before_post_message_to_thread": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.clean_slack_integration_leftovers": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.populate_slack_channels": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.populate_slack_channels_for_team": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.populate_slack_user_identities": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.populate_slack_usergroups": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.populate_slack_usergroups_for_team": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.post_slack_rate_limit_message": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.send_message_to_thread_if_bot_not_in_channel": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.start_update_slack_user_group_for_schedules": {"queue": "slack"},
|
|
|
|
|
"apps.slack.tasks.unpopulate_slack_user_identities": {"queue": "slack"},
|
2024-12-02 14:40:30 -05:00
|
|
|
"apps.slack.tasks.update_alert_group_slack_message": {"queue": "slack"},
|
2023-08-31 12:42:08 -06:00
|
|
|
"apps.slack.tasks.update_slack_user_group_for_schedules": {"queue": "slack"},
|
|
|
|
|
"apps.slack.representatives.alert_group_representative.on_create_alert_slack_representative_async": {
|
|
|
|
|
"queue": "slack"
|
|
|
|
|
},
|
|
|
|
|
"apps.slack.representatives.alert_group_representative.on_alert_group_action_triggered_async": {"queue": "slack"},
|
|
|
|
|
# TELEGRAM
|
|
|
|
|
"apps.telegram.tasks.edit_message": {"queue": "telegram"},
|
|
|
|
|
"apps.telegram.tasks.on_create_alert_telegram_representative_async": {"queue": "telegram"},
|
|
|
|
|
"apps.telegram.tasks.register_telegram_webhook": {"queue": "telegram"},
|
|
|
|
|
"apps.telegram.tasks.send_link_to_channel_message_or_fallback_to_full_alert_group": {"queue": "telegram"},
|
|
|
|
|
"apps.telegram.tasks.send_log_and_actions_message": {"queue": "telegram"},
|
2023-12-01 18:49:00 +08:00
|
|
|
"apps.telegram.tasks.on_alert_group_action_triggered_async": {"queue": "telegram"},
|
2023-08-31 12:42:08 -06:00
|
|
|
# WEBHOOK
|
|
|
|
|
"apps.alerts.tasks.custom_webhook_result.custom_webhook_result": {"queue": "webhook"},
|
|
|
|
|
"apps.webhooks.tasks.trigger_webhook.execute_webhook": {"queue": "webhook"},
|
|
|
|
|
"apps.webhooks.tasks.trigger_webhook.send_webhook_event": {"queue": "webhook"},
|
|
|
|
|
"apps.webhooks.tasks.alert_group_status.alert_group_created": {"queue": "webhook"},
|
|
|
|
|
"apps.webhooks.tasks.alert_group_status.alert_group_status_change": {"queue": "webhook"},
|
2025-02-18 14:53:07 -03:00
|
|
|
"apps.webhooks.tasks.notify_user.notify_user_async": {"queue": "webhook"},
|
2025-04-21 14:23:37 -03:00
|
|
|
# MATTERMOST
|
|
|
|
|
"apps.mattermost.tasks.on_create_alert_async": {"queue": "mattermost"},
|
|
|
|
|
"apps.mattermost.tasks.on_alert_group_action_triggered_async": {"queue": "mattermost"},
|
|
|
|
|
"apps.mattermost.tasks.notify_user_about_alert_async": {"queue": "mattermost"},
|
2023-08-31 12:42:08 -06:00
|
|
|
}
|