datadog_dashboards
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -6,8 +6,9 @@ const Templates = require("../../lib/templates"); | ||
* Creates a cpu usage timeseries by pool | ||
* @param {object} asgs | ||
* @param {object} vars | ||
* @param {object} state | ||
*/ | ||
asg_cpu(asgs, state) { | ||
asg_cpu(vars, state) { | ||
return Templates.jsonFromTemplate("templates/asg_cpu.hbs", { | ||
asgs: asgs, | ||
asgs: vars.asgs, | ||
region: vars.region, | ||
width: 44, | ||
@@ -22,8 +23,9 @@ height: 16, | ||
* Creates an instance count timeseries | ||
* @param {object} asgs | ||
* @param {object} vars | ||
* @param {object} state | ||
*/ | ||
asg_instancesInService(asgs, state) { | ||
asg_instancesInService(vars, state) { | ||
return Templates.jsonFromTemplate("templates/asg_instancesInService.hbs", { | ||
asgs: asgs, | ||
asgs: vars.asgs, | ||
region: vars.region, | ||
width: 44, | ||
@@ -38,6 +40,6 @@ height: 16, | ||
* Creates network in/out timeseries graphs | ||
* @param {object} asgs | ||
* @param {object} vars | ||
* @param {object} state | ||
*/ | ||
asg_network(asgs, state) { | ||
asg_network(vars, state) { | ||
var widgets = []; | ||
@@ -47,3 +49,4 @@ | ||
type: 'In', | ||
asgs: asgs, | ||
asgs: vars.asgs, | ||
region: vars.region, | ||
width: 43, | ||
@@ -56,3 +59,4 @@ height: 16, | ||
type: 'Out', | ||
asgs: asgs, | ||
asgs: vars.asgs, | ||
region: vars.region, | ||
width: 43, | ||
@@ -59,0 +63,0 @@ height: 16, |
10
index.js
@@ -214,5 +214,5 @@ #!/usr/bin/env node | ||
widgets.push(factoryAsg.asg_cpu(vars.asgs, state)); | ||
widgets.push(factoryAsg.asg_instancesInService(vars.asgs, state)); | ||
widgets.push(...factoryAsg.asg_network(vars.asgs, state)); | ||
widgets.push(factoryAsg.asg_cpu(vars, state)); | ||
widgets.push(factoryAsg.asg_instancesInService(vars, state)); | ||
widgets.push(...factoryAsg.asg_network(vars, state)); | ||
widgets.push(...factoryAsg.asg_hosts(vars, state)); | ||
@@ -309,3 +309,3 @@ | ||
widgets.push(factory.render('hits', caches[key], state)); | ||
widgets.push(factory.render('cpu', caches[key], state)); | ||
widgets.push(factory.render('items', caches[key], state)); | ||
@@ -316,3 +316,3 @@ widgets.push(factory.render('memory', caches[key], state)); | ||
widgets.push(factory.render('bytesUsed', caches[key], state)); | ||
widgets.push(factory.render('hits', caches[key], state)); | ||
widgets.push(factory.render('evictions', caches[key], state)); | ||
@@ -319,0 +319,0 @@ |
{ | ||
"name": "datadog_dashboards", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A quick way to generate helpful, pre-canned datadog dashboards for Cloudwatch.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
122714
71
1283