Fixed commented problems
This commit is contained in:
parent
7a593fad7a
commit
d125d51baa
2 changed files with 8 additions and 6 deletions
12
README.rst
12
README.rst
|
@ -82,8 +82,6 @@ Client enforced data sources
|
|||
type: elasticsearch
|
||||
host: log01.domain.com
|
||||
port: 80
|
||||
user: admin
|
||||
password: password
|
||||
index: grafana-dash
|
||||
|
||||
Client defined and enforced dashboard
|
||||
|
@ -124,7 +122,10 @@ Client enforced dashboards defined in salt-mine
|
|||
Usage
|
||||
=====
|
||||
|
||||
There's a difference between JSON dashboard representation and models we us. Lists are replaced by dictionaries to support mergings and interpolations.
|
||||
There's a difference between JSON dashboard representation and models we us.
|
||||
The lists used in JSON format [for rows, panels and target] were replaced by
|
||||
dictionaries. This form of serialization allows better merging and overrides
|
||||
of hierarchical data structures that dashboard models are.
|
||||
|
||||
The default format of Grafana dashboards with lists for rows, panels and targets.
|
||||
|
||||
|
@ -149,8 +150,9 @@ The default format of Grafana dashboards with lists for rows, panels and targets
|
|||
renderer: flot
|
||||
showTitle: true
|
||||
|
||||
|
||||
The modified version of Grafana dashboard format that supports character interpolation.
|
||||
The modified version of Grafana dashboard format with dictionary declarations.
|
||||
Please note that dictionary keys are only for logical separation and are not
|
||||
displayed in generated dashboards.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ password = {{ server.database.password }}
|
|||
;ssl_mode = disable
|
||||
|
||||
# For "sqlite3" only, path relative to data_path setting
|
||||
{%- if server.database.engine in ["postgresql"] %}
|
||||
{%- if server.database.engine in ["sqlite"] %}
|
||||
path = grafana.db
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue