GithubHelp home page GithubHelp logo

vinhdangphuc / ambari-metrics-grafana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prajwalrao/ambari-metrics-grafana

0.0 1.0 0.0 289 KB

Ambari Metrics System Plugin for Grafana > v4.5.x

Home Page: https://grafana.net/plugins/praj-ams-datasource

License: Other

TypeScript 18.90% JavaScript 62.71% HTML 18.39%

ambari-metrics-grafana's Introduction

Apache Ambari Logo

Ambari Metrics System Datasource for Grafana > v4.5.x

Screenshot

Ambari Metrics System ("AMS") is a system for collecting, aggregating and serving Hadoop & other Stack services and system metrics in Ambari-managed clusters.

This datasource plugin allows you to visualize all the metrics that are available via the AMS Collector API.

Requires

  • Apache Ambari > 2.2.x
  • Grafana > v4.5.x

Install

Install via the Grafana CLI

Use the grafana-cli tool to install Ambari Metrics System Datasource from the commandline:

grafana-cli plugins install praj-ams-datasource

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.

OR

Clone into plugins directory

Either clone this repo into your grafana plugins directory (default /var/lib/grafana/plugins if your installing grafana with package).

Restart grafana-server and the plugin should be automatically detected and used.

cd /var/lib/grafana/plugins
git clone https://github.com/prajwalrao/ambari-metrics-grafana.git
sudo service grafana-server restart

OR

Clone into a directory of your choice

The edit your grafana.ini config file (Default location is at /etc/grafana/grafana.ini) and add this:

[plugin.ambari-metrics-grafana]
path = /home/your/clone/dir/ambari-metrics-grafana

Note that if you clone it into the grafana plugins directory you do not need to add the above config option. That is only if you want to place the plugin in a directory outside the standard plugins directory. Be aware that grafana-server needs read access to the directory.


Dashboard Import

You can automatically import pre-built dashboards for AMS & Ambari by editing the grafana.ini config file (Default location is at /etc/grafana/grafana.ini) and editing this (should be at the end of the file).

[dashboards.json]
;enabled = false
;path = /var/lib/grafana/dashboards

to

[dashboards.json]
enabled = true
path = /var/lib/grafana/plugins/ambari-metrics-grafana/dashboards

If you've cloned the plugin elsewhere, replace the path above with that accordingly.

You can always import individual dashboards by using the "Import" option from the dropdown on the top left of the page (next to the logo)


Changelog

v1.2.0 (10/02/2018)

  • Grafana > v4.5.x support added
  • fixed #8
  • removed browser console logs
v1.0.1 (06/28)
  • Edited Logo
  • Added Ambari Home Dashboard
  • Updated README
v1.0.0 (06/14)
  • Inital release

ambari-metrics-grafana's People

Contributors

prajwalrao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.