Commit Graph

11 Commits (1a3f1752e8ae9ed4311cde6639bbdf5d9196b3ad)

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 afbaea5849 Cleanup and aggregates of templates 2016-11-11 13:02:12 -08:00
Chris Goller 6d77e5475c Update layouts to default to x/y/w/h of 4 2016-11-10 17:29:16 -06:00
Chris Goller e0088bfbfa Update k8s groupbys to be escape quoted 2016-11-08 15:24:34 -06:00
nathan haugo b715df2c36 Change nano to milli 2016-11-08 11:24:47 -08:00
nathan haugo 5599713df8 Fix height and width and a typo 2016-11-08 11:21:54 -08:00
nathan haugo 3a951d7d37 Update app names 2016-11-08 10:21:50 -08:00
Chris Goller 78e9573c28 Add wheres to layouts 2016-11-07 20:35:46 -06:00
Chris Goller cd1c62a3a9 Add kubernetes layouts based on deis grafana dashboards 2016-11-07 18:23:09 -06:00