LN0739_FM_RF13: support interface to external Prometheus alert manager
[ric-plt/alarm-go.git] / testresources / prometheus-alerts.json
diff --git a/testresources/prometheus-alerts.json b/testresources/prometheus-alerts.json
new file mode 100644 (file)
index 0000000..c3b2e31
--- /dev/null
@@ -0,0 +1,42 @@
+[{
+"annotations":{"alertname":"RIC ROUTING TABLE DISTRIBUTION FAILED",
+"service":"my-pod:my-app",
+"severity":"MAJOR",
+"status":"active",
+"system_name":"RIC:my-pod:my-app"},
+"endsAt":"2019-01-01T11:00:00.000Z",
+"fingerprint":"ABCDEF",
+"receivers":[{"name":"Some name"},{"name":"Another name"}],
+"startsAt":"2019-01-01T12:00:00.000Z",
+"status":{"inhibitedBy":[""],
+"silencedBy":[""],
+"state":"state"},
+"updatedAt":"2019-01-01T12:00:00.000Z",
+"labels":{"Additional_info":"-",
+"AlarmId":"8004",
+"Description":"004:eth 0 1:Some App data",
+"Instructions":"Not defined",
+"Summary":"Processing error",
+"Timestamp":"15/10/2020, 15:09:14"           }
+},
+{
+"annotations":{"alertname":"TCP CONNECTIVITY LOST TO DBAAS",
+"service":"my-pod:my-app",
+"severity":"MAJOR",
+"status":"active",
+"system_name":"RIC:my-pod:my-app"},
+"endsAt":"2019-01-01T11:00:00.000Z",
+"fingerprint":"ABCDEF",
+"receivers":[{"name":"Some name"}],
+"startsAt":"2019-01-01T12:00:00.000Z",
+"status":{"inhibitedBy":["Inhibitor_1", "Inhibitor_2"],
+"silencedBy":["Silencer_1", "Silencer_2"],
+"state":"state"},
+"updatedAt":"2019-01-01T12:00:00.000Z",
+"labels":{"Additional_info":"-",
+"AlarmId":"8005",
+"Description":"004:eth 0 1:Some App data",
+"Instructions":"Not defined",
+"Summary":"Communication error",
+"Timestamp":"15/10/2020, 15:09:14"           }
+}]
\ No newline at end of file