Commit Graph

9 Commits

Author SHA1 Message Date
Paddy Newman 568ecce421 Fix rendering issues with console templates. (#3744)
Move tables into the content area so that graphs and very long/wide tables are
readable.

The issue is present on the node-overview and node-disk pages when the tables
are very long and wide. E.g., the host has lots of NICs, disks and filesystems
and the filesystem names are very long. We have very long lists of long Docker
filesystem names in our Kubernetes clusters.

I know people don't really care about the console templates anymore but they
are still useful in some cases and the queries are a nice reference for
beginners.
2018-01-29 10:38:39 +00:00
Brian Brazil 544f3d6cee All console expressions should use irate. 2016-01-05 11:53:22 +00:00
Brian Brazil f148179ef7 consoles: Escape regexes.
With the new string handling, some regexes need escaping.
2015-10-10 17:05:46 +01:00
Brian Brazil f08abdb48b promql: Add irate() function
irate is a rate function that only looks at the most
recent two data points, and calucaltes a per-second value
from that. This produces much more granular graphs for
fast moving data, and works sanely across many scrape intervals.

It doesn't do so well for slowly moving data.
2015-10-09 21:44:35 +01:00
Julius Volz f4e1f6e3b9 Rename label 'filesystem'->'mountpoint' in node-cpu console.
The label name has been changed in the node exporter.
2015-09-30 17:25:59 +02:00
Brian Brazil 9286fe55dd Update node disk console for new filesystem labels. 2015-07-22 17:20:14 +01:00
Stephen Shirley 05a746bf95 Add cpu count to rhs table
Also fix formatting of bounded values to be more readable.
2015-02-19 12:07:52 +01:00
Brian Brazil e3c375b9b0 Add consoles for haproxy and cloudwatch.
Only display jobs in the LHS if they're present.
2015-01-25 16:56:14 +00:00
Brian Brazil 43b105d32d Console templating library, including graphs.
This provides the basic js, css and console template
templates required to build dashboards.
Included as an example are consoles for the node_exporter.

Change-Id: I4cfeea5e9691a9413f74ae98ca32a908df8e4a59
2014-12-18 16:54:31 +00:00