Commit Graph

12 Commits (6c3775d076081d30a8cb2356efd77dec7594b803)

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
Brandon Farmer 620aa7a518 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
Chris Goller 3de32852ca Update apache, consul, cpu, disk, docker, mem with y-axis labels 2017-02-24 16:09:13 -06:00
Jared Scheib bc0f8b3556 Update canned layouts via PUT request, rather than manually 2017-02-23 17:22:16 -08:00
Jared Scheib b7f4909685 Add stacked and stepplot graph display options as new types to canned Docker graphs and swagger def 2017-02-23 14:08:45 -08:00
nathan haugo 82083cbc64 Add more docker stats 2017-02-15 14:59:06 -08: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 15c98a6807 Update layout JSON formatting to jq style 2016-11-18 16:07:53 -06:00
Chris Goller a77850183f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00
nathan haugo a567b28b76 Add aggregates and remove retention polices 2016-11-11 12:08:48 -08:00
Jade McGough 3de787d457 provide a default group by time for host page 2016-11-11 02:49:14 -08:00
nathan haugo 7db6988cfa Fix win system stats and add docker app 2016-11-10 15:48:22 -08:00