Plugins 〉Cloudera Manager


Developer

Foursquare Labs, Inc.

Sign up to receive occasional product news and updates:


Grafana Cloud
ObservabilityCON on the Road: Chicago (Mar 11)

See demos of new Grafana Cloud observability workflows, hear community success stories, and leave with what you need to advance your observability roadmap.


The Cloudera Manager plugin has been deprecated and is no longer maintained.

Data Source
community

Cloudera Manager

  • Overview
  • Installation
  • Related content

Cloudera Manager Datasource for Grafana 3.x

This plugin for Grafana provides a basic datasource for querying metrics available in Cloudera Manager through its "tsquery" language. It supports Cloudera Manager API versions v4 and higher.

This project is open source pursuant to the Apache License, Version 2.0. It is copyright (C) 2015-2016 by Foursquare Labs, Inc.

Installation

The easiest way to install this plugin is with grafana-cli. Just run the following command:

grafana-cli plugins install foursquare-clouderamanager-datasource

Configuration

  1. Add a new datasource and choose "Cloudera Manager" as the type.

  2. Fill in the "Url" and other server parameters.

  3. Click "Test Connection" to verify that you entered the information correctly.

  4. Set "API Version" to match the API version reported by Test Connection.

  5. Cick "Save".

Queries

Use this datasource just like you would use any other datasource. Fill in a "tsquery" metric query in the input box and you should see metrics.

This datasource is very minimal and so there is no autocompletion support.

Read the tsquery documentation to learn more about tsquery.

Development

To compile, run the following commands:

npm install
grunt

To install in your Grafana server locally, either point Grafana at the repository directory by editing grafana.ini to contain:

[plugin.clouderamanager]
path = /path/to/some/directory/datasource-plugin-clouderamanager

Or symlink the repository directory into the Grafana server's plugin directory:

cd /path/to/grafana/data/plugins
ln -s /path/to/some/directory/datasource-plugin-clouderamanager .

Then restart the Grafana server.

Contributors

  • Tom Dyas

Installing Cloudera Manager on Grafana Cloud:

For more information, visit the docs on plugin installation.

Installing on a local Grafana:

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

1. Install the Data Source

Use the grafana-cli tool to install Cloudera Manager from the commandline:

grafana-cli plugins install 

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

2. Configure the Data Source

Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.

Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.

To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.