batch-alarms
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -12,2 +12,3 @@ 'use strict'; | ||
* @param {String} opts.email Email to submit alarms to | ||
* @param {String|Object} opts.apache Apache formatted log group | ||
* @param {String|Object} opts.cluster ARN or CF Ref/Att of ECS Cluster | ||
@@ -168,2 +169,3 @@ * @param {String|Object} opts.service ARN or CF Ref/Att of ECS Service | ||
TargetGroupFullName: opts.targetgroup, | ||
Apache: opts.apache, | ||
ServiceName: opts.service, | ||
@@ -170,0 +172,0 @@ Cluster: opts.cluster |
@@ -118,4 +118,18 @@ 'use strict'; | ||
} | ||
}, | ||
{ | ||
"type": "log", | ||
"x": 0, | ||
"y": 18, | ||
"width": 24, | ||
"height": 6, | ||
"properties": { | ||
title: '5XX Requests', | ||
"query": "SOURCE '${Apache}' | fields @timestamp, @message\n| sort @timestamp desc\n| parse @message '* - - [*] \"* * *\" * * \"*\" \"*\"' as client, dateTimeString, httpVerb, url, protocol, statusCode, bytes, referer, userAgent\n| filter statusCode == \"500\"\n | display @timestamp, statusCode, httpVerb, url, userAgent", | ||
"region": "us-east-1", | ||
"stacked": false, | ||
"view": "table" | ||
} | ||
} | ||
] | ||
}; |
{ | ||
"name": "batch-alarms", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": " Library for providing default CloudFormation dashboards & ECS Services ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,2 +21,3 @@ <h1 align=center>batch-alarms</h1> | ||
prefix: 'CFPrefix', | ||
apache: cf.stackName, | ||
email: 'nick@ingalls.ca', | ||
@@ -23,0 +24,0 @@ cluster: cf.ref('APIECSCluster'), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
132292
3039
30
0