67 Commits

Author SHA1 Message Date
e5d7c6e280 DOCS - Repeating panels require variable to have one or more items (#23080)
* add note that it's not supported to repeat a panel zero times
see https://github.com/grafana/grafana/issues/23036#issuecomment-603479142

Signed-off-by: David Ellis <ellisda@gmail.com>

* Update docs/sources/reference/templating.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-03-25 13:22:11 -07:00
803f553552 Variable: Support more variable formatting. (#21622)
* Support more variable formatting.
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-03-24 16:26:58 +01:00
18f1d5a83d Docs: Update templating.md (#22881)
Updated because these were moved to the 6.7 milestone.
2020-03-19 07:50:00 +01:00
7720bfab95 Templating: Add new global built-in variables (#21790)
* Add new global built-in variables #20523
new branch from master

* #20523 Revert change on __from and __to like requested

* #20523 simplify contextSrv access

* #20523 simplify contextSrv access

* #20523 repair jest tests
2020-02-03 08:57:38 +01:00
f0764ceda8 Docs: Use https scheme for Grafana playground links (#21360) 2020-01-06 08:25:13 -08:00
aa58a21833 docs: fix influxdb templated dashboard link (#21336)
Fixes #21320
2020-01-03 15:12:38 -08:00
06347e3f86 [docs] Azure monitor link in templating (#21173)
Docs: Added missing azure monitor reference in Templating topic.
2019-12-18 07:30:12 -08:00
cbd81ffeb8 Docs: update content to work with website repo (#20693)
Updates the docs to work with the website repo - mainly 
relative link updates.
Adds a menu.yaml file to build the sidebar menu (no longer 
using front matter weight).
2019-12-05 13:09:57 +01:00
618652d16e Docs: Replace ampersands with and (#19609) 2019-10-03 18:20:52 +02:00
c9e566b156 Docs: Minor edits to the README and several md files (#19238)
* Update README.md

Capitalized the G and S in "Getting Started," and moved "guide" to match the section title in the docs.

* Fixed sentence structure. Changed "download" to "grafana.com/get" and changed "get" to "download".

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

*  Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)

* Docs: Replace "datasources" with "data sources" (#19111)
2019-09-20 00:04:56 +02:00
6c3f93c974 Docs: Fix advanced variable formatting examples (#16691) 2019-04-21 09:27:04 +02:00
9a4a8b0f85 Update templating.md
fix a typo in the example of `percentencode` option
2019-03-19 14:39:26 +00:00
14ba3f5891 Fixed spelling issue in templating docs 2019-02-18 10:59:22 +01:00
9e55fef544 improved formatting of variable docs 2019-02-18 09:52:31 +01:00
89d69a6f21 update docs 2019-02-07 20:16:20 +09:00
3ad48ff7e5 docs: Added version notice for time range variables 2019-01-30 16:54:09 +01:00
77bb3ddf62 Added basic docs 2019-01-29 20:53:49 +01:00
bde4b76c16 based on encodeURIComponent() using strict RFC 3986 sub-delims 2019-01-22 15:09:58 +01:00
8a09d84707 Merge branch 'master' of https://github.com/grafana/grafana 2019-01-22 11:20:56 +01:00
a881497908 Max number of repeated panels per row
Instead of min width
2019-01-09 08:01:42 +01:00
02a7916b26 Remove confusing <> from variable intro
The existing intro makes it look like you should use `$<varname>` to refer to a variable. That of course is incorrect, and you should use `$varname`. In my experience using the <> marker around variable names should only be used when there isn't something else explicit to set it off. In this case we have `$`. Below, you can see the <> are also not used, because we have the `[[]]` to set it off. The inconsistency is confusing.
2018-11-26 15:33:13 -07:00
c670897c6a docs: new variable type text box that allows free text input 2018-10-04 18:45:47 +02:00
db639684bb docs: sql datasources min time interval 2018-09-06 13:52:16 +02:00
82554ffd67 Merge remote-tracking branch 'upstream/master' 2018-09-03 15:55:44 +02:00
d06c8c0e68 Doc - fix title level 2018-08-17 10:29:45 +02:00
ea704fcf9b Update doc about repeating panels
There's no per-row contextual menu anymore
Instead there's a  option
2018-08-17 10:29:45 +02:00
48364f0111 Add support for $__range_s (#12883)
Fixes #12882

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2018-08-13 07:53:41 +02:00
9220f83b3d replaced escape() call, renamed formatter to be more expressive 2018-08-06 21:54:12 +02:00
a2967565de added urlescape formatting option 2018-07-30 17:19:41 +02:00
582652145f minor fixes 2018-07-24 19:21:23 +02:00
70575c8f78 Add templating docs for 2018-07-23 15:34:03 +02:00
756c08e713 changed you to your (#12590) 2018-07-12 23:56:37 -07:00
c10359dd5b docs: fixes for table in variable docs 2018-04-20 13:21:14 +02:00
ab4f8c273d docs: describes variable formatting options
csv option in postgres/mysql docs and the regex option in the
graphite docs
2018-04-18 14:40:34 +02:00
24ae9cef36 docs: describes new variable formatting syntax
Fixes #11388
Ref #11141
2018-04-18 14:40:34 +02:00
638f7d23d4 docs: fix codespell issues 2018-04-13 20:31:29 +02:00
8985e5ac53 Clarified formatting multiple values doc 2018-03-28 12:51:12 +02:00
624dac16fa docs: add variable regex examples (#11327) 2018-03-21 13:23:50 +01:00
ec3ba86a02 replaced img in export_import and sharing 2018-01-30 09:20:55 +01:00
4294009b0b changed some img-links, updated text for annotated img, more work on whats new in v5.0 2018-01-26 10:58:31 +01:00
0ba5706400 Fixing a minor typo under Selection Options (#9082)
Mulit => Multi
2017-08-23 08:50:22 +02:00
73f0bd3b4b fix link to opentsdb templating (#9039) 2017-08-16 16:57:27 +02:00
b5017d1e18 docs: var in singlestat panel. Fixes #8563 2017-08-02 16:44:43 +02:00
a5afd8152d docs: small update 2017-07-03 21:32:12 +02:00
3ae5f7c632 docs: built-in variables, $__interval
Fixes #8344. Documents the $__interval, $__interval_ms and $timeFilter
variables.
2017-07-03 20:44:19 +02:00
e75bc5d39a docs: added templating docs link to app 2017-05-05 08:56:19 +02:00
b4a8678cae remove duplicate paragraph, couple word tweaks 2017-05-04 10:34:19 -04:00
0390a7c17b docs: fixed docs intro 2017-05-04 12:36:34 +02:00
e80e0c044b docs: updated elasticsearch docs 2017-05-04 10:19:00 +02:00
287cd83e76 docs: grammarly fixes 2017-05-03 16:34:51 +02:00