Commit Graph

6 Commits (3404d7375be3ffc948a14eb7ef88e8b5ead50e27)

Author SHA1 Message Date
Iris Scholten 91fef5307c 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 4ba7e10931 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 a77850183f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00
Chris Goller 5f0d2e8903 Fix haproxy formatting 2016-11-11 15:33:06 -06:00
Chris Goller f25afbc87b Fix haproxy telegraf fields 2016-11-11 15:32:37 -06:00
Chris Goller 0bd70fc49f Add haproxy layout 2016-11-11 15:32:03 -06:00