fix: update pod phase attribute key in Kubernetes alert template

This commit is contained in:
Nawaz Dhandala
2026-03-25 21:49:07 +00:00
parent be90693ad8
commit fb3c767056

View File

@@ -284,7 +284,7 @@ const podPendingTemplate: KubernetesAlertTemplate = {
resourceScope: KubernetesResourceScope.Cluster,
rollingTime: RollingTime.Past5Minutes,
aggregationType: MetricsAggregationType.Sum,
attributes: { "k8s.pod.phase": "Pending" },
attributes: { "resource.k8s.pod.phase": "Pending" },
}),
offlineCriteriaInstance: buildOfflineCriteriaInstance({
offlineMonitorStatusId: args.offlineMonitorStatusId,