Git Product home page Git Product logo

grallama-panel's Introduction

Grafana GraLLAMA Panel

GraLLAMA is a panel plugin for Grafana which visualizes the matrix-like data collected by the LLAMA project. See the LLAMA project on GitHub for more information:

https://github.com/dropbox/llama

Features

  • Displays loss percentages between sources and destinations.
  • Sources/Destinations are dynamically pulled from timeseries tags.
  • Changes cell color based on higher percentages.

example1 example1

Compatibility

This panel should work with the following datasources: InfluxDB

Installation

Use the new grafana-cli tool to install grallama-panel from the commandline:

grafana-cli plugins install dropbox-grallama-panel

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins if you installed the grafana package.

More instructions on the cli tool can be found here.

You need the lastest grafana build for Grafana 3.0 to enable plugin support. You can get it here : http://grafana.org/download/builds.html

Setup

After installing the panel plugin follow these instructions to visualize the latest loss data from your running LLAMA deployment.

  1. Setup a datasource for InfluxDB where LLAMA data is stored.
  2. Add a new panel to a row in Grafana and select GraLLAMA.
  3. Open the query editor and select InfluxDB and the measurement loss.
  4. Select mean() as an aggregation (or others if you see fit).
  5. Select Group by using exactly two tags; one of them will be the source tag and the other will be the destination tag. Also, use fill(null).
  6. Type into the Alias by field <source_tag>-<dest_tag> (the hypen is important). If your source tag was foo and destination tag was bar then the field would look like this: $tag_foo-$tag_bar

grallama-panel's People

Contributors

dmar42 avatar savetherbtz avatar szhou42 avatar vanilladuck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grallama-panel's Issues

Allow customization of value selector for series

Currently, the panel just takes the "current" value for each series, forces it to a single decimal place, and only keeps the last value it sees for a given intersection (if multiple identically named series are provided). Allow these behaviors to be more customizable, similar to singlestat.

Allow customization for axis selectors

Right now, this is done by splitting the series names on -, with the y-axis on the left, and the x-axis on the right. It works well enough, but providing more control around this would be nice. This current implementation is definitely problematic if a series name includes a dash.

Simple option: Provide an option to specify the split character/sequence.

Alternate option: Operate based on column/tag data, and allow selecting which corresponds to which axis. Not sure this is necessarily better though, as it's more complex, but also reduces flexibility across datasources.

Provide drilldown capability for cells

Similar to singlestat, allow each cell to be linked to a another dashboard, while passing through that cell's x/y values. The use case being that if cell appears abnormal and requires investigation, the linked dashboard could break out scoped-down data in a different way.

Panel logo doesn't load in Grafana

The changes made to Gruntfile.js in #2 caused a regression, by not copying images to dist/src/img/. It's kinda silly that this is where it expects those to be, but it is what it is.

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.