feat: support add redis queue with alarm/nbi_pm/nbi_kpi, support generate all nbi pm data

This commit is contained in:
simon committed 2025-08-11 17:10:13 +08:00
1 parent d4923d008c
commit 46ccc0ab83
26 files changed
+14059 -41

No files matched your search

+8
View File
@@ -29,3 +29,11 @@ func LoadAlarmRelationRules(path string) error {
}
return yaml.Unmarshal(data, &RelationRules)
}
func LoadNbiRelationRulesConfig(path string) error {
data, err := os.ReadFile(path)
if err != nil {
return err
}
return yaml.Unmarshal(data, &RelationRules)
}