prometheus/rules/ast
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.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
functions.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
persistence_adapter.go Fix GetMetricForFingerprint() metric mutability. 2013-05-14 16:46:30 +02:00
printer.go Implement a COUNT ... BY aggregation operator. 2013-05-08 16:35:16 +02:00
query_analyzer.go Make AST query storage non-global. 2013-05-07 13:15:10 +02:00
walk.go Use AST query analyzer and views with tiered storage. 2013-03-21 18:16:52 +01:00