Commit Graph

9 Commits (5710b116c82ea1c1e490958046c954d754aa921f)

Author SHA1 Message Date
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 6d0b38dd05 Update layout JSON formatting to jq style 2016-11-18 16:07:53 -06:00
Chris Goller 75db75473f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00
Tim Raymond 61e088b497 Add aggregates to Postgres layout
Because the host page now adds group by time()s to queries
automatically, all queries need to have aggregates. This adds aggregates
to the fields used by the Rows and the Throughput graphs on the Postgres
layout.
2016-11-15 14:45:58 -05:00
nathan haugo afbaea5849 Cleanup and aggregates of templates 2016-11-11 13:02:12 -08:00
nathan haugo afa2e21232 Clean up app names 2016-11-10 15:01:47 -08:00
Chris Goller 1f01ab8b1c Update layouts to use jq format and fix nsq ids 2016-11-10 15:06:13 -06:00
Tim Raymond b251bcf023 Postgres Layout Tweaks
There was an issue where rows returned weren't broken out by database,
so the graph became a sawtooth. Also, at @goller's recommendation, many
queries that were previously derivatives of 1m means are now derivatives
of the raw data, giving more precision.
2016-11-10 15:18:12 -05:00
Tim Raymond 67fba0c56f Add PostgreSQL Layout
This adds graphs for monitoring rows returned, buffers used, any
conflicts/deadlocks, as well as the current queries per second.
2016-11-10 11:09:38 -05:00