Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/dispatch/monitor/scheduled.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def sync_active_stable_monitors(db_session: SessionLocal, project: Project):
db_session=db_session, project_id=project.id, plugin_type="monitor"
)
if not monitor_plugin:
log.warning(f"No monitor plugin is enabled. ProjectId: {project.id}")
log.warning(
f"Incident monitors not synced. No monitor plugin enabled. Project: {project.name}. Organization: {project.organization.name}"
)
return

# we get all active and stable incidents
Expand Down
8 changes: 6 additions & 2 deletions src/dispatch/task/scheduled.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def daily_sync_task(db_session: SessionLocal, project: Project):
)

if not task_plugin:
log.warning(f"Skipping task sync no task plugin enabled. ProjectId: {project.id}")
log.warning(
f"Daily incident tasks sync skipped. No task plugin enabled. Project: {project.name}. Organization: {project.organization.name}"
)
return

lookback = 60 * 60 * 24 # 24hrs
Expand All @@ -94,7 +96,9 @@ def sync_active_stable_tasks(db_session: SessionLocal, project: Project):
)

if not task_plugin:
log.warning(f"Skipping task sync no task plugin enabled. ProjectId: {project.id}")
log.warning(
f"Active and stable incident tasks sync skipped. No task plugin enabled. Project: {project.name}. Organization: {project.organization.name}"
)
return

# we get all active and stable incidents
Expand Down
2 changes: 1 addition & 1 deletion src/dispatch/workflow/scheduled.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def sync_all_workflows(db_session: Session, project: Project):

if not workflow_plugin:
log.warning(
f"Workflows not synced. No workflow plugin enabled in {project.name} project and {project.organization.name} organization."
f"Incident workflows not synced. No workflow plugin enabled. Project: {project.name}. Organization: {project.organization.name}"
)
return

Expand Down