blob: 62aa837d107d8d196430c42bd16e143f5112184f [file] [log] [blame]
Ales Komarek4b6c8662014-02-24 21:48:29 +01001
Ales Komarek86490892015-12-04 16:43:48 +01002=======
3Grafana
4=======
Ales Komarek4b6c8662014-02-24 21:48:29 +01005
6A beautiful, easy to use and feature rich Graphite dashboard replacement and graph editor.
7
Ales Komarek5a23b512015-12-08 11:20:02 +01008Sample pillars
9==============
Ales Komarek4b6c8662014-02-24 21:48:29 +010010
Ales Komarek9e054912016-10-22 00:36:50 +020011Server deployments
12------------------
13
14Server installed from system package
15
16.. code-block:: yaml
Michael Kutýa79bbdb2014-03-03 20:46:34 +010017
18 grafana:
19 server:
20 enabled: true
Ales Komarek9e054912016-10-22 00:36:50 +020021 admin:
22 user: admin
23 password: passwd
24 database:
25 engine: sqlite
26
27Server 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 Komarek98588222015-12-08 10:43:59 +010037 database:
38 engine: postgresql
Michael Kutýa79bbdb2014-03-03 20:46:34 +010039 host: localhost
Ales Komarek98588222015-12-08 10:43:59 +010040 port: 5432
Ales Komarek9e054912016-10-22 00:36:50 +020041 name: grafana
42 user: grafana
43 password: passwd
44
45Client setups
46-------------
47
48Client 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 Komarek98588222015-12-08 10:43:59 +010065 port: 443
Ales Komarek9e054912016-10-22 00:36:50 +020066 elasticsearch:
67 type: elasticsearch
68 host: log01.domain.com
Ales Komarek5a23b512015-12-08 11:20:02 +010069 port: 80
Ales Komarek9e054912016-10-22 00:36:50 +020070 user: admin
71 password: password
Ales Komarek5a23b512015-12-08 11:20:02 +010072 index: grafana-dash
Ales Komarek9e054912016-10-22 00:36:50 +020073
74Client 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
94Client 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 Komarek86490892015-12-04 16:43:48 +0100108Read more
109=========
Ales Komarek4b6c8662014-02-24 21:48:29 +0100110
111* http://grafana.org/
Ales Komarek5a23b512015-12-08 11:20:02 +0100112* http://docs.grafana.org/reference/export_import/