Commit Graph

7 Commits (d13dfa6661ab4765509c94211c9d8055e77bcffc)

Author SHA1 Message Date
Peter A. Bigot 1d9fcd8b1f passim: normalize query case
Make SELECT, AS, FROM consistently upper case in query, so future batch
replacements work properly.
2018-11-12 15:17:00 -06:00
Iris Scholten 63cb7aac52 Add template variables db and rp to canned layouts json
Also surround all measurements and template variables with
escaped quotes

Regex find and replace used:
FIND: `FROM (\w+)`, REPLACE: `FROM \\":db:\\".\\":rp:\\".\\"$1\\"`
FIND: `FROM ([\\"]{2}[^"\\]*[\\"]{2})` , REPLACE: `FROM \\":db:\\".\\":rp:\\".$1`

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 14:55:06 -07:00
Tim Raymond cee5c85116 Fix template layout ordering
This divides templates into two classes: autoflow and static. This is
controlled by a boolean "autoflow" property on templates. Any autoflow
templates that will be rendered for a host, have their cells arranged in
a left-to-right, top-to-bottom fashion.

Static templates, are assumed to have precise positioning information
for their graphs. The only adjustment made to them will be a translation
of their Y coords so they do not overlap other layouts.

The autoflow templates, after processing, become a static layout as
defined above and are positioned accordingly.
2016-11-29 17:41:19 -05:00
Chris Goller 6d0b38dd05 Update layout JSON formatting to jq style 2016-11-18 16:07:53 -06:00
Chris Goller 75db75473f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00
Chris Goller e4bad62d80 Update riak layout to group by node name 2016-11-14 13:17:38 -06:00
Chris Goller 073c44070d Add riak layout 2016-11-14 13:06:30 -06:00