Skip to content

Commit

Permalink
Update Alert and Incident metric type strings to use hyphens for cons…
Browse files Browse the repository at this point in the history
…istency
  • Loading branch information
simlarsen committed Dec 4, 2024
1 parent 3492e54 commit 5dc6ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Common/Types/Alerts/AlertMetricType.ts
Original file line number Diff line number Diff line change
@@ -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",
}
Expand Down
4 changes: 2 additions & 2 deletions Common/Types/Incident/IncidentMetricType.ts
Original file line number Diff line number Diff line change
@@ -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",
}
Expand Down

0 comments on commit 5dc6ab6

Please sign in to comment.