diff --git a/keep-ui/app/providers/provider-form.tsx b/keep-ui/app/providers/provider-form.tsx index 555b3da80..80e519a7d 100644 --- a/keep-ui/app/providers/provider-form.tsx +++ b/keep-ui/app/providers/provider-form.tsx @@ -489,7 +489,7 @@ const ProviderForm = ({ ); } else if (updatedFormErrors.includes("Failed to fetch")) { setFormErrors( - "Failed to connect to API: Check your internet connection" + "Failed to connect to API: Check provider settings and your internet connection" ); } else { setFormErrors(updatedFormErrors); diff --git a/keep-ui/app/rules/CorrelationSidebar/CorrelationSidebarHeader.tsx b/keep-ui/app/rules/CorrelationSidebar/CorrelationSidebarHeader.tsx index ae5da3ce8..b8624f072 100644 --- a/keep-ui/app/rules/CorrelationSidebar/CorrelationSidebarHeader.tsx +++ b/keep-ui/app/rules/CorrelationSidebar/CorrelationSidebarHeader.tsx @@ -20,7 +20,7 @@ export const CorrelationSidebarHeader = ({ {isRuleBeingEdited ? "Edit" : "Create"} Correlation - Group multiple alerts into single alert + Group multiple alerts into a single incident
diff --git a/keep-ui/utils/hooks/useAlerts.ts b/keep-ui/utils/hooks/useAlerts.ts index f14c06b00..28fa523d0 100644 --- a/keep-ui/utils/hooks/useAlerts.ts +++ b/keep-ui/utils/hooks/useAlerts.ts @@ -28,7 +28,7 @@ export const useAlerts = () => { selectedAlert && session ? `${apiUrl}/alerts/${ selectedAlert.fingerprint - }/history/?provider_id=${selectedAlert.providerId}&provider_type=${ + }/history?provider_id=${selectedAlert.providerId}&provider_type=${ selectedAlert.source ? selectedAlert.source[0] : "" }` : null, diff --git a/keep/providers/pagerduty_provider/pagerduty_provider.py b/keep/providers/pagerduty_provider/pagerduty_provider.py index 2912388a2..f31f0c75a 100644 --- a/keep/providers/pagerduty_provider/pagerduty_provider.py +++ b/keep/providers/pagerduty_provider/pagerduty_provider.py @@ -507,7 +507,7 @@ def _format_alert( # If somebody connected the provider before we refactored it old_format_event = event.get("event", {}) if old_format_event is not None and isinstance(old_format_event, dict): - return PagerdutyProvider._format_alert_old(old_format_event) + return PagerdutyProvider._format_alert_old(event) status = PagerdutyProvider.ALERT_STATUS_MAP.get(event.get("status", "firing")) severity = PagerdutyProvider.ALERT_SEVERITIES_MAP.get(