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
- Displays loss percentages between sources and destinations.
- Sources/Destinations are dynamically pulled from timeseries tags.
- Changes cell color based on higher percentages.
This panel should work with the following datasources: InfluxDB
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 : https://grafana.org/download/builds.html
After installing the panel plugin follow these instructions to visualize the latest loss data from your running LLAMA deployment.
- Setup a datasource for InfluxDB where LLAMA data is stored.
- Add a new panel to a row in Grafana and select GraLLAMA.
- Open the query editor and select InfluxDB and the measurement
loss
. - Select
mean()
as an aggregation (or others if you see fit). - Select
Group by
using exactly two tags; one of them will be the source tag and the other will be the destination tag. Also, usefill(null)
. - Type into the
Alias by
field<source_tag>-<dest_tag>
(the hypen is important). If your source tag wasfoo
and destination tag wasbar
then the field would look like this:$tag_foo-$tag_bar