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

grafana-dashboards

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grafana-dashboards

A quick way to generate helpful, pre-canned grafana dashboards for Cloudwatch and Graphite.

  • 1.2.1
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

A quick way to generate helpful, pre-canned grafana dashboards for Cloudwatch and Graphite.

Setup

  • Run npm install -g grafana-dashboards
  • Edit dashboards.js with your dashboard changes. See this package's dashboards.example.js for a starter.

Uploading new dashboards

  • Run grafana_dashboards
  • Enter your Grafana username/dashboard path/password.
  • Done

Customization

By default, the grafana dashboard creator will iterate through the dashboardsByEnvironment exposed in the dashboard.js file and run the generateEnvironmentDashboard function that has a set of default dashboards depending on the configurations in the dashboardsByEnvironment.

Your dashboards.js file should have at least the dashboardsByEnvironment object exported. If you want to generate the dashboards differently than the default, you can export the generateEnvironmentDashboard function in your dashboard.js file and it'll use that one instead of the one specified in index.js.

See the dashboards.examples.js as an example dashboard configuration.

Environment variables

Grafana Dashboard Creator uses dotenv to allow for a .env file to have locally defined environment variables.

If you want to define these, they can bypass the prompts:

GRAFANA_USERNAME=my_user_name
GRAFANA_URL=https://grafana.example.com
GRAFANA_DASHBOARD_JS=./dashboards

FAQs

Package last updated on 15 Feb 2018

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