prometheus/rules
Julius Volz 83c60ad43a Fix GetMetricForFingerprint() metric mutability.
Some users of GetMetricForFingerprint() end up modifying the returned metric
labelset. Since the memory storage's implementation of
GetMetricForFingerprint() returned a pointer to the metric (and maps are
reference types anyways), the external mutation propagated back into the memory
storage.

The fix is to make a copy of the metric before returning it.
2013-05-14 16:46:30 +02:00
..
ast Fix GetMetricForFingerprint() metric mutability. 2013-05-14 16:46:30 +02:00
fixtures Implement initial no-op alert parsing and rule parsing tests. 2013-04-23 13:48:24 +02:00
alerting.go Make AST query storage non-global. 2013-05-07 13:15:10 +02:00
helpers.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
lexer.l Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
lexer.l.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
load.go Update to go1.1. 2013-05-14 12:39:08 +02:00
Makefile Remove/replace last references to github.com/matttproud/... 2013-02-07 14:32:18 +01:00
manager.go Make AST query storage non-global. 2013-05-07 13:15:10 +02:00
parser.y Implement initial no-op alert parsing and rule parsing tests. 2013-04-23 13:48:24 +02:00
parser.y.go Implement initial no-op alert parsing and rule parsing tests. 2013-04-23 13:48:24 +02:00
recording.go Make AST query storage non-global. 2013-05-07 13:15:10 +02:00
rules.go Make AST query storage non-global. 2013-05-07 13:15:10 +02:00
rules_test.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
testdata.go Update to go1.1. 2013-05-14 12:39:08 +02:00