Commit Graph

31 Commits

Author SHA1 Message Date
Sylvain Rabot
87c79b0c81 Fix console templates (#5228)
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2019-02-18 13:14:58 +00:00
Brian Brazil
25e2d9f152
Update example console template for node exporter 0.16.0 (#4208)
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-06-08 14:01:05 +01:00
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
f689476b33
Update consoles for new metric names. (#3327) 2017-11-07 13:23:45 +00:00
Brian Brazil
78205b76e9 Update Prometheus console template example for 2.0 (#3100) 2017-08-26 21:46:12 +01:00
Brian Brazil
7ebd74b84b Cut down console template examples to just node and prometheus (#3099)
These haven't seen much love, and grafana.com dashboard sharing
has become more promiment. Keep 2 for the sake of demos.
2017-08-21 16:35:20 +01:00
Brian Brazil
1dcb7637f5 Add various persistence related metrics (#2333)
Add metrics around checkpointing and persistence

* Add a metric to say if checkpointing is happening,
and another to track total checkpoint time and count.

This breaks the existing prometheus_local_storage_checkpoint_duration_seconds
by renaming it to prometheus_local_storage_checkpoint_last_duration_seconds
as the former name is more appropriate for a summary.

* Add metric for last checkpoint size.

* Add metric for series/chunks processed by checkpoints.

For long checkpoints it'd be useful to see how they're progressing.

* Add metric for dirty series

* Add metric for number of chunks persisted per series.

You can get the number of chunks from chunk_ops,
but not the matching number of series. This helps determine
the size of the writes being made.

* Add metric for chunks queued for persistence

Chunks created includes both chunks that'll need persistence
and chunks read in for queries. This only includes chunks created
for persistence.

* Code review comments on new persistence metrics.
2017-01-11 15:11:19 +00:00
Brian Brazil
bed4635802 Use irate consistently in console template examples. (#2296)
I must have forgotten my 'g' when switching these.
2016-12-21 13:19:23 +00:00
Brian Brazil
b86db088b5 The metrics are no longer ms, we can remove the scaling. 2016-06-29 01:09:24 +01:00
Fabian Reinartz
425736a377 *: remove last remainers of non-second metrics 2016-06-23 17:50:39 +02:00
beorn7
663a1550d0 Fix the instrumentation fixes 2016-02-17 15:50:55 +01:00
Brian Brazil
544f3d6cee All console expressions should use irate. 2016-01-05 11:53:22 +00:00
Kevin Lyda
384bd15bfc Add blackbox console. 2015-11-01 20:06:52 +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
Brian Brazil
c3adc9a393 consoles: Remove federation example.
Now that federation is a 1st class feature, there's
no reason to keep this around.
2015-10-05 21:15:01 +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
eb82a4b948 web: Support multiple names for console graphs. 2015-08-11 23:37:09 +01:00
Brian Brazil
a8605825a0 Rollback, meant to send a PR 2015-08-11 20:02:03 +01:00
Brian Brazil
1ad449d233 web: Support multiple names for console graphs. 2015-08-11 19:59:00 +01:00
Brian Brazil
992c47b2c7 Add console template for Prometheus itself 2015-08-07 16:34:48 +01:00
Brian Brazil
11375a5be9 Add SNMP consoles 2015-08-02 15:41:15 +01: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
5adcec3018 Proof of concept for federation via console templates.
This exposes samples via the console templates in the
text exposition format, which the parser will fall back to.

This is not a proper federation solution, but should tide us
over for now. Extenions could include passing in a query or queries in
the url parameters.
2015-02-18 23:21:33 +00:00
Stephen Shirley
fbcbb6a635 Fix available memory calculation.
Also account for buffers, making the value match the output of free(1)
2015-02-18 11:26:29 +01:00
Brian Brazil
7d2648804d Add cassandra console.
Add a template for standard up/total, cpu and memory via standard exports.
2015-01-30 11:36:14 +00:00
Brian Brazil
f2f80a7064 Fix to show graphs. 2015-01-26 10:03:13 +00: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
2d8bfa0ced Adjust for bootstrap3. Remove long lists from LHS menu.
Put in a table on the node page instead.
2015-01-22 14:23:22 +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