Commit Graph

4 Commits (e9000f09c975d7381848fa92ebfbd8c0285b145e)

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
Brandon Farmer 94dcc49a62 Always return colors for single stat graphs
Addresses a change that requires single stat graphs to have an array of
colors, specifically  in the case of canned dashboards. An empty array
is acceptable but an undefined value will break the page.

Closes #2862
Closes #2841
2018-03-12 20:14:04 -07:00
nathan haugo 61042ac466 Requested changes 2017-03-10 09:06:13 -08:00
nathan haugo 7c00f3326b Add mesos canned 2017-03-10 08:31:41 -08:00