Giter Club home page Giter Club logo

grafana_ynh's Introduction

Grafana for YunoHost

Install Grafana with YunoHost

Integration level

Important: This package is designed to be fed by the NetData application for monitoring measures, so please make sure the YunoHost NetData package is installed before installing it!

NetData only collects, displays and sets alarms based on data from the last hour; this packages allows to archive every metrics and put up statistics and dashboards on the long term.

Note: You can use it without NetData, but you'll have to install a collection application (e.g. collectd) to gather data.

Important at first login:

  • you have to go the Grafana Menu (Grafana icon), select your account menu and select Switch to Main Org.
  • you can now access the default NetData dashboard via the Home menu

Don't hesitate to create new dashboards: the default dashboard contains metrics from NetData, but only generic ones that are generated on every machine. NetData dynamically detects services and applications (e.g.redis, nginx, etc.) and enriches its dashboard and generated metrics. Many NetData metrics don't appear in the provided default Grafana dashboard!

Warnings:

  • The default dashboard may be updated in a further release of this package, so please make sure you create your own dashboards!
  • Organizations creation doesn't play well with LDAP integration; it is disabled for standard users, but can't be disabled for administrators: please do not create organizations!

Package description:

  • installs InfluxDB as time series database
  • if the NetData package is installed, configures NetData to feed InfluxDB every minute
  • installs Grafana as dashboard server
  • creates a Grafana Data Source to fetch data from InfluxDB (and hence NetData!)
  • creates a default dashboard to plot some data from NetData (doesn't cover every metric, can be greatly enhanced!)

It has been tested on x86_64 and ARM.

General architecture

image


InfluxDB

InfluxDB is an open source time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics.

Shipped version: versions from Debian repositories (updated with the system)

Features

  • Built-in HTTP API so you don't have to write any server side code to get up and running.
  • Data can be tagged, allowing very flexible querying.
  • SQL-like query language.
  • Simple to install and manage, and fast to get data in and out.
  • It aims to answer queries in real-time. That means every data point is indexed as it comes in and is immediately available in queries that should return in < 100ms.

Grafana

Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus and InfluxDB.

Features

Graphite Target Editor

  • Graphite target expression parser
  • Feature rich query composer
  • Quickly add and edit functions & parameters
  • Templated queries
  • See it in action

Graphing

  • Fast rendering, even over large timespans
  • Click and drag to zoom
  • Multiple Y-axis, logarithmic scales
  • Bars, Lines, Points
  • Smart Y-axis formatting
  • Series toggles & color selector
  • Legend values, and formatting options
  • Grid thresholds, axis labels
  • Annotations
  • Any panel can be rendered to PNG (server side using phantomjs)

Dashboards

Elasticsearch

  • Feature rich query editor UI

InfluxDB

  • Use InfluxDB as a metric data source, annotation source
  • Query editor with series and column typeahead, easy group by and function selection

OpenTSDB

  • Use as metric data source
  • Query editor with metric name typeahead and tag filtering

Links

grafana_ynh's People

Contributors

jimbojoe avatar nemsia avatar

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.