prometheus/storage
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
..
metric Fix GetMetricForFingerprint() metric mutability. 2013-05-14 16:46:30 +02:00
raw Simplify compaction and expose database sizes. 2013-05-14 12:29:53 +02:00
interface.go Implement batch database sample curator. 2013-04-27 17:38:18 +02:00