Commit Graph

10 Commits (dbaeca7695a1c11abf222c2a3d73c5dd14d90412)

Author SHA1 Message Date
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 75db75473f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00
nathan haugo bdeb0e4701 Fix broken apps after cleanup 2016-11-11 13:11:20 -08:00
nathan haugo afbaea5849 Cleanup and aggregates of templates 2016-11-11 13:02:12 -08:00
Chris Goller d62d34ad0b Update ids and redis JSON format (extra {) 2016-11-10 16:48:16 -06:00
Will Piers b4a6feae70 Remove merge conflict code 2016-11-10 14:11:44 -08:00
Will Piers 88e0ecbcab Fix regex bug 2016-11-10 13:51:03 -08:00
Chris Goller 1f01ab8b1c Update layouts to use jq format and fix nsq ids 2016-11-10 15:06:13 -06:00
nathan haugo 77ad1a4dfb Add redis layout 2016-11-10 12:34:41 -08:00