mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Rename telemetryServices to services in AlertService and IncidentService
This commit is contained in:
@@ -1171,7 +1171,7 @@ ${alertSeverity.name}
|
||||
metricType.name = alertCountMetric.name;
|
||||
metricType.description = "Number of alerts created";
|
||||
metricType.unit = "";
|
||||
metricType.telemetryServices = [];
|
||||
metricType.services = [];
|
||||
metricTypesMap[alertCountMetric.name] = metricType;
|
||||
|
||||
// is the alert acknowledged?
|
||||
|
||||
@@ -2084,7 +2084,7 @@ ${incidentSeverity.name}
|
||||
metricType.name = incidentCountMetric.name;
|
||||
metricType.description = "Number of incidents created";
|
||||
metricType.unit = "";
|
||||
metricType.telemetryServices = [];
|
||||
metricType.services = [];
|
||||
|
||||
// add to map.
|
||||
metricTypesMap[incidentCountMetric.name] = metricType;
|
||||
|
||||
Reference in New Issue
Block a user