Julius Volz
a224dda9f0
Fix diskFrontier.ContainsFingerprint() return value.
12 years ago
Matt T. Proud
47ce7ad302
Extract appending from goroutine.
12 years ago
Matt T. Proud
187cd4cdbc
Extract indexing of Fingerprint to Metrics.
12 years ago
Matt T. Proud
532589f728
Extract Label Pair to Fingerprint indexing.
12 years ago
Matt T. Proud
84acfed061
Extract finding unindexed metrics.
12 years ago
Matt T. Proud
67300af137
Extract indexing to separate routine.
12 years ago
Matt T. Proud
582354f6de
Fix remaining ``make advice`` issues.
12 years ago
Matt T. Proud
615e6d13d7
Run ``make format``.
12 years ago
Julius Volz
caeb759ed7
Add tests for and fix getValuesAlongRangeOp value extraction.
12 years ago
Julius Volz
69a24427b7
Minor tiered storage fixups.
12 years ago
Julius Volz
3621148e7f
Comment out panicking test until proper support is implemented.
12 years ago
Julius Volz
e2fb497eba
Add operator value extraction tests.
12 years ago
Julius Volz
12a8863582
Add data extraction methods to operator types.
12 years ago
Julius Volz
1d5df867d1
Set test time to fixed value.
12 years ago
Julius Volz
2f06b8bea6
Fix tiered storage test to trigger iterator rewinding case.
12 years ago
Julius Volz
894ecfe161
Small cleanups and comments in tiered storage.
12 years ago
Julius Volz
f238b23b04
Set -leveldbFlushOnMutate to false by default.
12 years ago
Julius Volz
8939e0723a
Make LevelDB chunk size a flag.
12 years ago
Julius Volz
ce4f560e48
Encapsulate fingerprint frontier checks in renderView().
12 years ago
Julius Volz
1a1cba1bb2
Address outstanding PR comments.
12 years ago
Matt T. Proud
62b5d7ce20
Oops.
12 years ago
Matt T. Proud
1e0d740f2a
Conditionalize LevelDB index retrievals.
...
The LevelDB index retrievals could be repeated in a given operation
batch if multiple queued mutations affect the same (Label Name) singles
and (Label Name, Label Value) doubles. This is wasteful and
inefficient, as a single retrieval suffices. Thusly this commit
retrieves the canonical index mappings if the said mapping has not
been looked up in a given batch.
12 years ago
Matt T. Proud
34a921e16d
Checkpoint.
12 years ago
Matt T. Proud
8cc5cdde0b
checkpoint.
12 years ago
Matt T. Proud
d5380897c3
Cleanups and adds performance regression.
12 years ago
Matt T. Proud
f39b9c3c8e
Checkpoint.
12 years ago
Matt T. Proud
41068c2e84
Checkpoint.
12 years ago
Matt T. Proud
13ae29b304
Initial in-memory arena implementation.
...
It is unbounded, and nothing uses it except for a gating flag in main.
12 years ago
Matt T. Proud
efbe0e8a12
Interface simplification.
...
GetMetricForFingerprint(model.Fingerprint) (*Metric, error) ->
GetMetricForFingerprint(model.Fingerprint) (Metric, error)
12 years ago
Matt T. Proud
f1245e8dda
Interface simplifications.
...
GetFingerprintsForLabelName ([]*Fingerprint, error) ->
GetFingerprintsForLabelName ([]Fingerprint, error)
12 years ago
Matt T. Proud
e8a733b525
Interface simplifications.
...
GetFingerprintsForLabelSet ([]*Fingerprint, error) ->
GetFingerprintsForLabelSet ([]Fingerprint, error)
12 years ago
Matt T. Proud
f03091b139
Interface simplifications: GetRangeValues
...
From pointers to copies.
12 years ago
Matt T. Proud
14788cf4f3
Interface simplifications.
...
GetBoundaryValues() from pointers to values.
12 years ago
Matt T. Proud
56f069b3ec
Interface simplifications: GetValueAtTime().
...
Pointer arguments to copies.
12 years ago
Matt T. Proud
1e2d6c7418
GetFingerprintsForLabelName simplifications.
...
``MetricPersistence.GetFingerprintsForLabelName(l *model.LabelName)``
->
``MetricPersistence.GetFingerprintsForLabelName(l model.LabelName)``
12 years ago
Matt T. Proud
900bb988c1
Simplifications of GetFingerprintsForLabelSet.
...
``MetricPersistence.GetFingerprintsForLabelSet(s *model.LabelSet)`` ->
``MetricPersistence.GetFingerprintsForLabelSet(s model.LabelSet)``.
12 years ago
Matt T. Proud
4fbcea73f5
MetricPersistence.AppendSample signature changes.
...
``MetricPersistence.AppendSample(*model.Sample)`` -> ``MetricPersistence.AppendSample(model.Sample)``.
12 years ago
Matt T. Proud
4502b49524
Swap out fingerprinting infrastructure.
...
All old database entries should be deleted. :-(
12 years ago
Julius Volz
d67e4b9131
Address outstanding comments from PR/47 and other cleanups.
12 years ago
Julius Volz
2659304380
Add interface for getting all metrics from a MetricsPersistence.
12 years ago
Julius Volz
e23ac0adbd
Implement bulk iteration/operation storage interface.
12 years ago
Matt T. Proud
ec3e98b365
Include Snappy in Runtime.
...
Snappy should have been explicitly included in the runtime, for I
erroneously thought that LevelDB bundled this into its runtime as-is.
It turns out that this assumption is wrong, and I thought we had
Snappy compression support all-along.
12 years ago
Matt T. Proud
79ba248bbe
Make LevelDB operating modes invocation-time conf.
...
Presently our use of LevelDB and its operating modes are hardcoded
into the storage stack. This pull request decouples this and
re-exposes this through flags. We can now perform benchmarking
and remedial tuning.
12 years ago
Matt T. Proud
ea54751431
Update import paths to new location.
...
This repository moved from matttproud/prometheus to
prometheus/prometheus, and all import paths need to be updated.
12 years ago
Matt T. Proud
f2ded515b7
Support versioned telemetry providers.
...
client_golang was updated to support full label-oriented telemetry,
which introduced interface incompatibilities with the previous
version of Prometheus. To alleviate this, a general fetching and
processing dispatching system has been created, which discriminates
and processes according to the version of input.
12 years ago
Matt T. Proud
88d15373c5
Upgrade Prometheus to new API.
12 years ago
Julius Volz
6f937ee032
Add preliminary metric docstrings and empty base labels.
12 years ago
Matt T. Proud
d9b165220e
``GetFingerprintsForLabelSet`` uses intersection.
...
This implementation needs to be cleaned up considerably, but it
should hopefully provide some breathing room. Ultimately this will
be extracted out of the storage layer---specifically the LevelDB
hierarchy---to interface with a generic set of abstractions for a
storage system, but this will be where it remains for now.
12 years ago
Matt T. Proud
ac438e51f6
Debug corner-case seeking anomaly.
12 years ago
Matt T. Proud
be9b7942c1
Fix Stale. Pol. support in GetValueAtTime.
12 years ago