Skip to content

Commit 157bb1e

Browse files
authored
Fix alert group error (#81)
1 parent 888b2da commit 157bb1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyzer-alert/src/main/java/cloud/erda/analyzer/alert/functions/AlertEventMapFunction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private void setGroupId(AlertEvent value, String alertType, String alertIndex) {
9696
alertGroup = String.format("%s_%s_%s", alertType, alertIndex, value.getMetricEvent().getTags().get(MetricTagConstants.METRIC_EXPRESSION_GROUP));
9797
}
9898
String groupId = value.getAlertId() + "_"
99-
+ value.getExpressionId() + "_"
99+
+ value.getAlertIndex() + "_"
100100
+ new String(Base64.getUrlEncoder().encode(alertGroup.getBytes()), StandardCharsets.UTF_8)
101101
.toLowerCase().replace("=", "");
102102
value.setAlertGroup(groupId);

0 commit comments

Comments
 (0)