mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
docs: fix repeated dashboards link (#29002)
This commit is contained in:
parent
b90304cc79
commit
27ea268f80
@ -9,19 +9,19 @@ weight = 800
|
||||
Grafana lets you create dynamic dashboards using _template variables_. All variables in your queries expand to the current value of the variable before the query is sent to the database. Variables let you reuse a single dashboard for all your services.
|
||||
|
||||
Template variables can be very useful to dynamically change your queries across a whole dashboard. If you want
|
||||
Grafana to dynamically create new panels or rows based on what values you have selected, you can use the *Repeat* feature.
|
||||
Grafana to dynamically create new panels or rows based on what values you have selected, you can use the _Repeat_ feature.
|
||||
|
||||
## Grafana Play examples
|
||||
|
||||
You can see examples in the following dashboards:
|
||||
|
||||
- [Prometheus repeat](https://play.grafana.org/d/000000036/prometheus-repeat)
|
||||
- [Repeated Rows Dashboard](https://play.grafana.org/dashboard/db/repeated-rows)
|
||||
- [Repeated Rows Dashboard](https://play.grafana.org/d/000000153/repeat-rows)
|
||||
|
||||
## Repeating panels
|
||||
|
||||
If you have a variable with `Multi-value` or `Include all value` options enabled you can choose one panel and have Grafana repeat that panel
|
||||
for every selected value. You find the *Repeat* feature under the *General tab* in panel edit mode.
|
||||
for every selected value. You find the _Repeat_ feature under the _General tab_ in panel edit mode.
|
||||
|
||||
The `direction` controls how the panels will be arranged.
|
||||
|
||||
@ -29,7 +29,7 @@ By choosing `horizontal` the panels will be arranged side-by-side. Grafana will
|
||||
of each repeated panel so that the whole row is filled. Currently, you cannot mix other panels on a row with a repeated
|
||||
panel.
|
||||
|
||||
Set `Max per row` to tell grafana how many panels per row you want at most. It defaults to *4* if you don't set anything.
|
||||
Set `Max per row` to tell grafana how many panels per row you want at most. It defaults to _4_ if you don't set anything.
|
||||
|
||||
By choosing `vertical` the panels will be arranged from top to bottom in a column. The width of the repeated panels will be the same as of the first panel (the original template) being repeated.
|
||||
|
||||
@ -40,10 +40,10 @@ You can do this by either changing the variable value (that is the basis for the
|
||||
|
||||
## Repeating rows
|
||||
|
||||
As seen above with the panels you can also repeat rows if you have variables set with `Multi-value` or
|
||||
As seen above with the panels you can also repeat rows if you have variables set with `Multi-value` or
|
||||
`Include all value` selection option.
|
||||
|
||||
To enable this feature you need to first add a new *Row* using the *Add Panel* menu. Then by hovering the row title and
|
||||
To enable this feature you need to first add a new _Row_ using the _Add Panel_ menu. Then by hovering the row title and
|
||||
clicking on the cog button, you will access the `Row Options` configuration panel. You can then select the variable
|
||||
you want to repeat the row for.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user