Ales Komarek | 4b6c866 | 2014-02-24 21:48:29 +0100 | [diff] [blame] | 1 | |
Ales Komarek | 8649089 | 2015-12-04 16:43:48 +0100 | [diff] [blame] | 2 | ======= |
| 3 | Grafana |
| 4 | ======= |
Ales Komarek | 4b6c866 | 2014-02-24 21:48:29 +0100 | [diff] [blame] | 5 | |
| 6 | A beautiful, easy to use and feature rich Graphite dashboard replacement and graph editor. |
| 7 | |
Ales Komarek | 5a23b51 | 2015-12-08 11:20:02 +0100 | [diff] [blame] | 8 | Sample pillars |
| 9 | ============== |
Ales Komarek | 4b6c866 | 2014-02-24 21:48:29 +0100 | [diff] [blame] | 10 | |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 11 | Server deployments |
| 12 | ------------------ |
| 13 | |
| 14 | Server installed from system package |
| 15 | |
| 16 | .. code-block:: yaml |
Michael Kutý | a79bbdb | 2014-03-03 20:46:34 +0100 | [diff] [blame] | 17 | |
| 18 | grafana: |
| 19 | server: |
| 20 | enabled: true |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 21 | admin: |
| 22 | user: admin |
| 23 | password: passwd |
| 24 | database: |
| 25 | engine: sqlite |
| 26 | |
| 27 | Server installed with PostgreSQL database |
| 28 | |
| 29 | .. code-block:: yaml |
| 30 | |
| 31 | grafana: |
| 32 | server: |
| 33 | enabled: true |
| 34 | admin: |
| 35 | user: admin |
| 36 | password: passwd |
Ales Komarek | 9858822 | 2015-12-08 10:43:59 +0100 | [diff] [blame] | 37 | database: |
| 38 | engine: postgresql |
Michael Kutý | a79bbdb | 2014-03-03 20:46:34 +0100 | [diff] [blame] | 39 | host: localhost |
Ales Komarek | 9858822 | 2015-12-08 10:43:59 +0100 | [diff] [blame] | 40 | port: 5432 |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 41 | name: grafana |
| 42 | user: grafana |
| 43 | password: passwd |
| 44 | |
| 45 | Client setups |
| 46 | ------------- |
| 47 | |
| 48 | Client enforced data sources |
| 49 | |
| 50 | .. code-block:: yaml |
| 51 | |
| 52 | grafana: |
| 53 | client: |
| 54 | enabled: true |
| 55 | server: |
| 56 | protocol: https |
| 57 | host: grafana.host |
| 58 | port: 3000 |
| 59 | token: token |
| 60 | datasource: |
| 61 | graphite: |
| 62 | type: graphite |
| 63 | host: mtr01.domain.com |
| 64 | protocol: https |
Ales Komarek | 9858822 | 2015-12-08 10:43:59 +0100 | [diff] [blame] | 65 | port: 443 |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 66 | elasticsearch: |
| 67 | type: elasticsearch |
| 68 | host: log01.domain.com |
Ales Komarek | 5a23b51 | 2015-12-08 11:20:02 +0100 | [diff] [blame] | 69 | port: 80 |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 70 | user: admin |
| 71 | password: password |
Ales Komarek | 5a23b51 | 2015-12-08 11:20:02 +0100 | [diff] [blame] | 72 | index: grafana-dash |
Ales Komarek | 9e05491 | 2016-10-22 00:36:50 +0200 | [diff] [blame^] | 73 | |
| 74 | Client enforced dashboards |
| 75 | |
| 76 | .. code-block:: yaml |
| 77 | |
| 78 | grafana: |
| 79 | client: |
| 80 | enabled: true |
| 81 | server: |
| 82 | host: grafana.host |
| 83 | port: 3000 |
| 84 | token: token |
| 85 | dashboard: |
| 86 | system_metrics: |
| 87 | title: "Generic system metrics" |
| 88 | style: dark |
| 89 | editable: false |
| 90 | row: |
| 91 | top: |
| 92 | title: "First row" |
| 93 | |
| 94 | Client enforced dashboards defined in salt-mine |
| 95 | |
| 96 | .. code-block:: yaml |
| 97 | |
| 98 | grafana: |
| 99 | client: |
| 100 | enabled: true |
| 101 | collect_mine: true |
| 102 | server: |
| 103 | host: grafana.host |
| 104 | port: 3000 |
| 105 | token: token |
| 106 | |
| 107 | |
Ales Komarek | 8649089 | 2015-12-04 16:43:48 +0100 | [diff] [blame] | 108 | Read more |
| 109 | ========= |
Ales Komarek | 4b6c866 | 2014-02-24 21:48:29 +0100 | [diff] [blame] | 110 | |
| 111 | * http://grafana.org/ |
Ales Komarek | 5a23b51 | 2015-12-08 11:20:02 +0100 | [diff] [blame] | 112 | * http://docs.grafana.org/reference/export_import/ |