mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
fix(cloudmon): alert metric with tenant id (#23315)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user