EnergyLink App para mostrar información del mercado y resultados de las operaciones

Torkel Ödegaard ccd5c01d91 Merge pull request #306 from cruatta/master %!s(int64=11) %!d(string=hai) anos
sample e1688275a8 Fixed and compacted rules %!s(int64=12) %!d(string=hai) anos
src 2ea3f7a558 Changing behavior to always obey the show legend option in grafana. without hideLegend=false, grafana defaults to the graphite behavior of hiding the legend at (default 10) X number of series. Also should be checking scope.panel.legend.show. %!s(int64=11) %!d(string=hai) anos
tasks 4029dc3165 Added jshint file for unit tests, and grunt task to verify test syntax. %!s(int64=11) %!d(string=hai) anos
.gitignore f2f435b4cb Changed name off config.js to config.sample.js to make it easier to upgrade with having to worry about config being overwwritten, if there is no config.js file config.sample.js will be read instead (requirejs fallback). Closes #65 %!s(int64=12) %!d(string=hai) anos
.jshintrc 56b3443268 began work on graphite target editor %!s(int64=12) %!d(string=hai) anos
.travis.yml d2bae43d26 Adding travis-ci build %!s(int64=12) %!d(string=hai) anos
CHANGELOG.md 541baac49e Closes #282, Disable auto refresh zooming in (every time you change to an absolute time range), refresh will be restored when you change time range back to relative %!s(int64=11) %!d(string=hai) anos
CONTRIBUTING.md a76d9b87f0 Improved markdown formatting in the contributing page. %!s(int64=11) %!d(string=hai) anos
Gruntfile.js aec9a42ee1 Skeleton API docs %!s(int64=12) %!d(string=hai) anos
LICENSE.md c679a24c03 updated license and added notice, hard to know how to handle attribution, and copyright, wish kibana src files had license headers %!s(int64=12) %!d(string=hai) anos
NOTICE.md c679a24c03 updated license and added notice, hard to know how to handle attribution, and copyright, wish kibana src files had license headers %!s(int64=12) %!d(string=hai) anos
README.md 78fab41310 Merge pull request #303 from jaimegago/master %!s(int64=11) %!d(string=hai) anos
grafana.sublime-project e19d3a531c parser and lexer is working ok %!s(int64=12) %!d(string=hai) anos
package.json 4029dc3165 Added jshint file for unit tests, and grunt task to verify test syntax. %!s(int64=11) %!d(string=hai) anos

README.md

Grafana Build Status

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

Features

Graphite Target Editor

  • Graphite target expression parser
  • Quickly add / edit / remove function (video demo)
  • Function parameters can be easily changed
  • Quickly navigate graphite metric structure
  • Templating
  • Integrated links to function documentation
  • Rearrange function order
  • Native Graphite PNG render support

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
  • Grid thresholds, axis labels
  • Annotations

Dashboards

InfluxDB

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.
  • Rename config.sample.js to 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
  • Or create a optimized & minified build:
    • npm install (requires nodejs)
    • grunt build (requires grunt-cli)

If you use ansible for provisioning and deployment ansible-grafana should get you started.

When you have Grafana up an running, read the Getting started guide for an introduction on how to use Grafana and/or watch this video for a guide in creating a new dashboard and for creating templated dashboards.

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"

Note that using "*" leaves your graphite instance quite open so you might want to consider using "http://my.graphite-dom.ain" in place of "*"

If your Graphite web is proteced by basic authentication, you have to enable the HTTP verb OPTIONS, origin (no wildcards are allowed in this case) and add Access-Control-Allow-Credentials. This looks like the following for Apache:

Header set Access-Control-Allow-Origin "http://mygrafana.com:5656"
Header set Access-Control-Allow-Credentials true

<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 an 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)

Notice

This software is based on the great log dashboard kibana.

License

Grafana is distributed under Apache 2.0 License.