File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
configuration-opensearch/alerting Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66
66
},
67
67
"actions" : [
68
68
{
69
- "$$OMIT" : " <%= !serverTag( 'production') ? 'true' : 'false' %>" ,
69
+ "$$OMIT" : " <%= environment !== 'production' ? 'true' : 'false' %>" ,
70
70
"id" : " <%= idgen('action-prod-spar-sns') %>" ,
71
71
"name" : " notify" ,
72
- "destination_id" : " wf-prod-msteams " ,
72
+ "destination_id" : " epsilon-normal-sns " ,
73
73
"message_template" : {
74
- "source" : " { \" text \" : \" High http.response.status_code count between {{ctx.periodStart}} and {{ctx.periodEnd}} \" }" ,
74
+ "source" : " High http.response.status_code count between {{ctx.periodStart}} and {{ctx.periodEnd}}" ,
75
75
"lang" : " mustache"
76
76
},
77
77
"throttle_enabled" : true ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const ALERT_CONFIG_DIR = path.resolve(
43
43
__dirname ,
44
44
'../../configuration-opensearch/alerting' ,
45
45
) ;
46
- const MONITORS_PREFIX = 'nrids_agent_ ' ;
46
+ const MONITORS_PREFIX = 'nrids_ ' ;
47
47
48
48
@injectable ( )
49
49
export default class OpenSearchMonitorService extends AwsService {
@@ -110,7 +110,7 @@ export default class OpenSearchMonitorService extends AwsService {
110
110
monitors . push (
111
111
JSON . parse (
112
112
ejs . render ( alertMonitorStr , {
113
- service : serviceData ,
113
+ service : serviceData . data ,
114
114
environment,
115
115
idgen,
116
116
} ) ,
You can’t perform that action at this time.
0 commit comments