aws-quick-metric
v0.3.0
Published
Simple API for CloudWatch putMetric
Downloads
2
Readme
AWS Quick Metric
Easier to use AWS.CloudWatch putMetric for custom metrics.
const AWS = require('aws-sdk');
const { CustomMetric } = require('aws-quick-metric');
const metric = new CustomMetric(AWS, 'mynamespace');
metric.stat({
metric: 'mymetric',
value: 1.0,
unit: 'None'
}).then(...);