prometheus/storage/metric
Matt T. Proud a55602df4a Validate diskFrontier domain for series candidate.
It is the case with the benchmark tool that we thought that we
generated multiple series and saved them to the disk as such, when
in reality, we overwrote the fields of the outgoing metrics via
Go map reference behavior.  This was accidental.  In the course of
diagnosing this, a few errors were found:

1. ``newSeriesFrontier`` should check to see if the candidate fingerprint is within the given domain of the ``diskFrontier``.  If not, as the contract in the docstring stipulates, a ``nil`` ``seriesFrontier`` should be emitted.

2. In the interests of aiding debugging, the raw LevelDB ``levigoIterator`` type now includes a helpful forensics ``String()`` method.

This work produced additional cleanups:

1. ``Close() error`` with the storage stack is technically incorrect, since nowhere in the bowels of it does an error actually occur.  The interface has been simplified to remove this for now.
2013-04-09 11:47:16 +02:00
..
.gitignore Spin up curator run in the tests. 2013-04-05 13:55:11 +02:00
curator.go Spin up curator run in the tests. 2013-04-05 13:55:11 +02:00
curator_test.go Spin up curator run in the tests. 2013-04-05 13:55:11 +02:00
end_to_end_test.go Constantize metric name label name. 2013-03-26 16:20:23 +01:00
frontier.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
instrumentation.go Test data for the curator. 2013-03-27 18:13:43 +01:00
interface.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
interface_test.go Checkpoint. 2013-03-21 18:06:51 +01:00
leveldb.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
memory.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
operation.go Mark range op as consumed if it receives no data points in range. 2013-03-22 11:50:02 +01:00
operation_test.go Fix regression in subsequent range op. compactions. 2013-03-21 18:11:04 +01:00
regressions_test.go Constantize metric name label name. 2013-03-26 16:20:23 +01:00
rule_integration_test.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
scanjob.go Checkpoint. 2013-03-21 18:06:51 +01:00
stochastic_test.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
test_helper.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
tiered.go Validate diskFrontier domain for series candidate. 2013-04-09 11:47:16 +02:00
tiered_test.go Fix formatting in tiered_test.go. 2013-03-28 12:16:31 +01:00
view.go Fix view's GetRangeValues() reverse iteration behavior. 2013-03-21 18:16:31 +01:00
view_test.go Checkpoint. 2013-03-21 18:06:51 +01:00