1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00
grafana_ynh/README.md

87 lines
3.6 KiB
Markdown
Raw Normal View History

2021-08-03 08:17:32 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2020-12-11 22:33:52 +01:00
# Grafana for YunoHost
2020-05-17 09:28:22 +02:00
2023-01-28 07:11:13 +01:00
[![Integration level](https://dash.yunohost.org/integration/grafana.svg)](https://dash.yunohost.org/appci/app/grafana) ![Working status](https://ci-apps.yunohost.org/ci/badges/grafana.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/grafana.maintain.svg)
2023-02-23 23:37:19 +01:00
2021-08-03 08:17:32 +02:00
[![Install Grafana with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=grafana)
*[Lire ce readme en français.](./README_fr.md)*
2020-05-17 09:28:22 +02:00
2021-08-03 08:17:32 +02:00
> *This package allows you to install Grafana quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
2020-05-17 09:28:22 +02:00
## Overview
2021-08-03 08:17:32 +02:00
Metric & analytic dashboards for monitoring
2020-05-17 09:28:22 +02:00
2023-05-11 08:11:11 +02:00
**Shipped version:** 9.5.2~ynh1
2022-08-18 20:02:13 +02:00
2021-08-03 08:17:32 +02:00
**Demo:** https://play.grafana.org
2020-05-17 09:28:22 +02:00
## Screenshots
2022-08-18 20:02:13 +02:00
![Screenshot of Grafana](./doc/screenshots/Grafana8_Kubernetes.jpg)
2020-05-17 09:28:22 +02:00
2021-08-03 08:17:32 +02:00
## Disclaimers / important information
2020-05-17 09:28:22 +02:00
## Configuration
**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!
## Documentation
* Official Grafana documentation: https://grafana.com/docs/grafana/latest/
* Official InfluxdB documentation: https://docs.influxdata.com/influxdb/
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
## YunoHost specific features
* 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!)
#### General architecture
![image](https://cloud.githubusercontent.com/assets/2662304/20649711/29f182ba-b4ce-11e6-97c8-ab2c0ab59833.png)
#### Multi-users support
LDAP and HTTP auth are supported.
## Limitations
* 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**!
2021-08-03 08:17:32 +02:00
## Documentation and resources
2020-05-17 09:28:22 +02:00
2022-08-18 20:02:13 +02:00
* Official app website: <https://grafana.com/>
2022-09-03 19:28:57 +02:00
* Upstream app code repository: <https://github.com/grafana/grafana>
2022-08-18 20:02:13 +02:00
* YunoHost documentation for this app: <https://yunohost.org/app_grafana>
* Report a bug: <https://github.com/YunoHost-Apps/grafana_ynh/issues>
2020-05-17 09:28:22 +02:00
2021-08-03 08:17:32 +02:00
## Developer info
2020-05-17 09:28:22 +02:00
2021-08-03 08:17:32 +02:00
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/grafana_ynh/tree/testing).
2020-05-17 09:28:22 +02:00
To try the testing branch, please proceed like that.
2022-08-18 20:02:13 +02:00
``` bash
2020-05-17 09:28:22 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/grafana_ynh/tree/testing --debug
or
sudo yunohost app upgrade grafana -u https://github.com/YunoHost-Apps/grafana_ynh/tree/testing --debug
```
2021-08-03 08:17:32 +02:00
2022-08-18 20:02:13 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>