From 5dc6ab6bb29b59fe8d8007e8feb533e8a6e8c266 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 4 Dec 2024 13:23:16 +0000 Subject: [PATCH] Update Alert and Incident metric type strings to use hyphens for consistency --- Common/Types/Alerts/AlertMetricType.ts | 4 ++-- Common/Types/Incident/IncidentMetricType.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Common/Types/Alerts/AlertMetricType.ts b/Common/Types/Alerts/AlertMetricType.ts index dbf4e5b6cf..3fb5325b0b 100644 --- a/Common/Types/Alerts/AlertMetricType.ts +++ b/Common/Types/Alerts/AlertMetricType.ts @@ -1,6 +1,6 @@ enum AlertMetricType { - TimeToAcknowledge = "oneuptime.alert.timeToAcknowledge", - TimeToResolve = "oneuptime.alert.timeToResolve", + TimeToAcknowledge = "oneuptime.alert.time-to-acknowledge", + TimeToResolve = "oneuptime.alert.time-to-resolve", AlertCount = "oneuptime.alert.count", AlertDuration = "oneuptime.alert.duration", } diff --git a/Common/Types/Incident/IncidentMetricType.ts b/Common/Types/Incident/IncidentMetricType.ts index b69f323574..cf568f2049 100644 --- a/Common/Types/Incident/IncidentMetricType.ts +++ b/Common/Types/Incident/IncidentMetricType.ts @@ -1,6 +1,6 @@ enum IncidentMetricType { - TimeToAcknowledge = "oneuptime.incident.timeToAcknowledge", - TimeToResolve = "oneuptime.incident.timeToResolve", + TimeToAcknowledge = "oneuptime.incident.time-to-acknowledge", + TimeToResolve = "oneuptime.incident.time-to-resolve", IncidentCount = "oneuptime.incident.count", IncidentDuration = "oneuptime.incident.duration", }