prometheus/rules
Bjoern Rabenstein 1909686789 Make metrics exported by the Prometheus server itself more consistent.
- Always spell out the time unit (e.g. milliseconds instead of ms).

- Remove "_total" from the names of metrics that are not counters.

- Make use of the "Namespace" and "Subsystem" fields in the options.

- Removed the "capacity" facet from all metrics about channels/queues.
  These are all fixed via command line flags and will never change
  during the runtime of a process. Also, they should not be part of
  the same metric family. I have added separate metrics for the
  capacity of queues as convenience. (They will never change and are
  only set once.)

- I left "metric_disk_latency_microseconds" unchanged, although that
  metric measures the latency of the storage device, even if it is not
  a spinning disk. "SSD" is read by many as "solid state disk", so
  it's not too far off. (It should be "solid state drive", of course,
  but "metric_drive_latency_microseconds" is probably confusing.)

- Brian suggested to not mix "failure" and "success" outcome in the
  same metric family (distinguished by labels). For now, I left it as
  it is. We are touching some bigger issue here, especially as other
  parts in the Prometheus ecosystem are following the same
  principle. We still need to come to terms here and then change
  things consistently everywhere.

Change-Id: If799458b450d18f78500f05990301c12525197d3
2014-11-25 17:02:00 +01:00
..
ast Fix time() behavior. 2014-11-25 17:02:00 +01:00
fixtures Add alertmanager notification support to Prometheus. 2013-07-30 17:23:41 +02:00
manager Make metrics exported by the Prometheus server itself more consistent. 2014-11-25 17:02:00 +01:00
alerting.go Let consoles get graph links from experssions. 2014-11-25 17:01:59 +01:00
helpers_test.go Separate storage implementation from interfaces. 2014-04-16 13:30:19 +02:00
helpers.go Let consoles get graph links from experssions. 2014-11-25 17:01:59 +01:00
lexer.l Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
lexer.l.go Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
load.go Use github.com/golang/glog for all logging. 2013-08-12 17:54:36 +02:00
Makefile Swap rules lexer for much faster one. 2013-07-11 19:35:29 +02:00
parser.y Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
parser.y.go Add regex-matching support for labels. 2014-04-01 14:24:53 +02:00
recording.go Let consoles get graph links from experssions. 2014-11-25 17:01:59 +01:00
rules_test.go Fix time() behavior. 2014-11-25 17:02:00 +01:00
rules.go Separate storage implementation from interfaces. 2014-04-16 13:30:19 +02:00