The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Go to file
2014-01-20 18:45:22 +01:00
sample Fixed and compacted rules 2013-12-04 14:19:00 +01:00
src changes to flot.events 2014-01-20 18:42:37 +01:00
tasks grunt release task changes 2014-01-19 16:24:47 +01:00
.gitignore removed histogram panel 2014-01-06 14:50:56 +01:00
.jshintrc began work on graphite target editor 2013-12-17 22:53:31 +01:00
grafana.sublime-project parser and lexer is working ok 2013-12-24 11:13:50 +01:00
Gruntfile.js Skeleton API docs 2013-12-02 12:43:39 -07:00
LICENSE.md updated license and added notice, hard to know how to handle attribution, and copyright, wish kibana src files had license headers 2013-12-27 11:58:35 +01:00
NOTICE.md updated license and added notice, hard to know how to handle attribution, and copyright, wish kibana src files had license headers 2013-12-27 11:58:35 +01:00
package.json updated readme 2014-01-19 17:38:34 +01:00
README.md added annotations to roadmap 2014-01-20 18:45:22 +01:00

Grafana - Graphite Dashboard

A beautiful, easy to use and feature rich Graphite dashboard replacement and graph editor. Visit grafana.org for screenshots and an overview.

Features

Graphite Target Editor

  • Graphite target expression parser
  • Quickly add / edit / remove function
  • Function parameters can be easily changed
  • Quickly navigate graphite metric structure
  • Templating
  • Integrated function documentation (TODO)
  • Click & drag functions to rearrange order (TODO)
  • Much more...

Graphing

  • Fast rendering, even over large timespans.
  • Click and drag to zoom.
  • Multiple Y-axis.
  • Bars, Lines, Points.
  • Smart Y-axis formating
  • Series toggles & color selector
  • Axis labels
  • Fullscreen views and more...

Dashboards

  • Create and edit dashboards
  • Drag and drop graphs to rearrange
  • Set column spans and row heights
  • Save & search dashboards (ElasticSearch)
  • Import & export dashboard (json file)
  • Import dashboard from Graphite
  • Templating
  • Much more...

Requirements

Grafana is very easy to install. It is a client side web app with no backend. Any webserver will do. Optionally you will need ElasticSearch if you want to be able to save and load dashboards quickly instead of json files or local storage.

Installation

  • Download and extract the latest release.
  • Edit config.js, then change graphiteUrl and elasticsearch to point to the correct urls. The urls entered here must be reachable by your browser.
  • Point your browser to the installation.

To run from master:

  • Clone this repository
  • Start a web server in src folder
  • For development you can use
    • npm install
    • grunt server (starts node server)

Graphite server config

If you haven't used an alternative dashboard for graphite before you need to enable cross-domain origin request. For Apache 2.x:

Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, OPTIONS"
Header set Access-Control-Allow-Headers "origin, authorization, accept"

If your Graphite web is proteced by basic authentication, you have to enable the HTTP verb OPTIONS. This looks like the following for Apache:

<Location />
    AuthName "graphs restricted"
    AuthType Basic
    AuthUserFile /etc/apache2/htpasswd
    <LimitExcept OPTIONS>
      require valid-user
    </LimitExcept>
</Location>

Roadmap

  • Improve and refine the target parser and editing
  • Improve graphite import feature
  • Refine and simplify common tasks
  • More panel types (not just graphs)
  • Use elasticsearch to search for metrics
  • Improve template support
  • Annotate graph by querying ElasticSearch for events (or other event sources)
  • Add support for other time series databases like InfluxDB

Contribute

If you have any idea for improvement or found a bug do not hesitate to open an issue. And if you have time clone this repo and submit a pull request and help me make Grafana the kickass metrics & devops dashboard we all dream about!

Clone repository:

  • npm install
  • grunt server (starts development web server in src folder)
  • grunt (runs jshint and less -> css compilation)
  • grunt build (creates minified & optimized javascript & partials)

Notice

This software is based on the great log dashboard kibana.

License

Grafana is distributed under Apache 2.0 License.