prometheus/storage/metric
Bjoern Rabenstein 6bc083f38b Major code cleanup in storage.
- Mostly docstring fixed/additions.
  (Please review these carefully, since most of them were missing, I
  had to guess them from an outsider's perspective. (Which on the
  other hand proves how desperately required many of these docstrings
  are.))

- Removed all uses of new(...) to meet our own style guide (draft).

- Fixed all other 'go vet' and 'golint' issues (except those that are
  not fixable (i.e. caused by bugs in or by design of 'go vet' and
  'golint')).

- Some trivial refactorings, like reorder functions, minor renames, ...

- Some slightly less trivial refactoring, mostly to reduce code
  duplication by embedding types instead of writing many explicit
  forwarders.

- Cleaned up the interface structure a bit. (Most significant probably
  the removal of the View-like methods from MetricPersistenc. Now they
  are only in View and not duplicated anymore.)

- Removed dead code. (Probably not all of it, but it's a first
  step...)

- Fixed a leftover in storage/metric/end_to_end_test.go (that made
  some parts of the code never execute (incidentally, those parts
  were broken (and I fixed them, too))).

Change-Id: Ibcac069940d118a88f783314f5b4595dce6641d5
2014-02-27 15:22:37 +01:00
..
.gitignore Spin up curator run in the tests. 2013-04-05 13:55:11 +02:00
compaction_regression_test.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
curator.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
dto.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
end_to_end_test.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
freelist.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
helpers_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
index.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
instrumentation.go rename curation metrics to prometheus_curation 2013-12-13 17:45:01 -05:00
interface.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
interface_test.go Use LRU cache to avoid querying stale series. 2013-06-06 23:56:19 +02:00
labelpair.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
labelpair_test.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
leveldb.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
memory.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
memory_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
objective.go Update low-level i'faces to reflect wireformats. 2013-09-04 17:13:58 +02:00
operation.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
operation_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
processor.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
processor_test.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
regressions_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
rule_integration_test.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
sample.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
samplekey.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
scanjob.go WIP - Snapshot of Moving to Client Model. 2013-06-25 15:52:42 +02:00
stochastic_test.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
tiered.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
tiered_test.go Minor test error reporting cleanup. 2014-02-03 12:27:01 +01:00
view.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
view_test.go Use custom timestamp type for sample timestamps and related code. 2013-12-03 09:11:28 +01:00
watermark.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00