fix(cloudmon): alert metric with tenant id (#23315)

This commit is contained in:
屈轩
2025-09-17 16:40:21 +08:00
committed by GitHub
parent 976f0f0bf4
commit 37c3db52b9
+5 -5
View File
@@ -97,11 +97,11 @@ type AlertRecordHistoryAlertData struct {
func (self AlertRecordHistoryAlertData) GetMetricTags() map[string]string {
return map[string]string{
"project_id": self.ProjectId,
"domain_id": self.DomainId,
"domain": self.Domain,
"project": self.Project,
"res_type": self.ResType,
"tenant_id": self.ProjectId,
"domain_id": self.DomainId,
"domain": self.Domain,
"tenant": self.Project,
"res_type": self.ResType,
}
}