Socket
Socket
Sign inDemoInstall

dashboards-aws-billing

Package Overview
Dependencies
22
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dashboards-aws-billing

AWS billing plugin for segmentio/dashboards


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 07 Mar 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc