Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dashboards-aws-billing

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashboards-aws-billing

AWS billing plugin for segmentio/dashboards

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

dashboards-aws-billing

An aws-billing plugin for segmentio/dashboards.

Use this plugin to visualize your AWS hosting costs on a dashboard.

Installation

$ npm install dashboards-aws-billing

Example

var Dashboards = require('dashboards');
var billing = require('dashboards-aws-billing');

new Dashboards()
  .use(billing(accountId, key, secret, bucket, region))
  .run();

Metrics

The metrics exposed by this plugin are:

  • aws.billing.ec2 - rolling 30 day estimate of ec2 costs
  • aws.billing.nonEc2 - rolling 30 day estimate of non-ec2 costs
  • aws.billing.total - rolling 30 day estimate of AWS costs

Quickstart

Here's a full example of a Geckoboard dashboard showing your total AWS costs:

var Dashboards = require('dashboards');
var billing = require('dashboards-aws-billing');
var pipe = require('parallel-ware-pipe');
var geckoboard = require('geckoboard')('api-key');

new Dashboards()
  .use(billing(accountId, key, secret, bucket, region))
  .use(pipe('aws.billing.total', geckoboard('widget-id').number))
  .run();

License

MIT

Keywords

FAQs

Package last updated on 07 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc