Commit Graph

478 Commits (9ca47869ed54832228e6891751b5b950217d63e2)

Author SHA1 Message Date
Julius Volz d5ef0c64dc Merge "Add optional sample replication to OpenTSDB."
11 years ago
Julius Volz 61d26e8445 Add optional sample replication to OpenTSDB.
11 years ago
Stuart Nelson 0c58e388f6 rename curation metrics to prometheus_curation
11 years ago
Stuart Nelson 28f59edf16 Added telemetry for counting stored samples
11 years ago
Tobias Schmidt 6947ee9bc9 Try to create metrics root directory if missing
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Julius Volz 6b7de31a3c Upgrade to LevelDB 1.14.0 to fix LevelDB bugs.
11 years ago
Julius Volz db015de65b Comment and "go fmt" fixups in compaction tests.
11 years ago
Julius Volz 51408bdfe8 Merge changes I3ffeb091,Idffefea4
11 years ago
Julius Volz 2162e57784 Merge "Fix watermarker default time / LevelDB key ordering bug."
11 years ago
Julius Volz 5e18255920 Merge "Fix chunk corruption compaction bug."
11 years ago
Julius Volz eb461a707d Add chunk sanity checking to dumper tool.
11 years ago
Julius Volz 6ea22f2bf9 Add compaction regression tests.
11 years ago
Conor Hennessy 9a48010cec Add a check for metrics directory existence.
11 years ago
Julius Volz b5f6e3c90c Fix watermarker default time / LevelDB key ordering bug.
11 years ago
Julius Volz a1a97ed064 Fix chunk corruption compaction bug.
11 years ago
Matt T. Proud 86fcbe5bde Retain DTO on each cycle.
11 years ago
Matt T. Proud 4a87c002e8 Update low-level i'faces to reflect wireformats.
11 years ago
Matt T. Proud 7910f6e863 Prevent total storage locking during memory flush.
11 years ago
Matt T. Proud 12d5e6ca5a Curation should not starve user-interactive ops.
11 years ago
Matt T. Proud 2b42fd0068 Snapshot of no more frontier.
11 years ago
Matt T. Proud 7db518d3a0 Abstract high watermark cache into standard LRU.
11 years ago
Matt T. Proud d74c2c54d4 Interfacification of stream.
11 years ago
Matt T. Proud c262907fec Kill interface cruft.
11 years ago
Matt T. Proud b23acccea8 Kill AppendSample interface definition.
11 years ago
Matt T. Proud aaaf3367d6 Include forgotten imports.
11 years ago
Matt T. Proud acf91f38bd Build layered indexers.
11 years ago
Matt T. Proud 972e856d9b Kill the curation state channel.
11 years ago
Matt T. Proud 1ceb25b701 Publication of LevelDBMetricPersistence Fields.
11 years ago
Julius Volz 0003027dce Add needed trailing spaces in logs.
11 years ago
Julius Volz aa5d251f8d Use github.com/golang/glog for all logging.
11 years ago
Matt T. Proud a5141e4d0a Depointerize storage conf. and chain ingester.
11 years ago
Matt T. Proud 820e551988 Code Review: Nits.
11 years ago
Matt T. Proud a3bf2efdd5 Replace index writes with wrapped interface.
11 years ago
Matt T. Proud 52664f701a Hot Fix: Use extracted time.
11 years ago
Matt T. Proud 38dac35b3e Code Review: Short name consistency.
11 years ago
Matt T. Proud a00f18d78b Code Review: Manual re-alignment.
11 years ago
Matt T. Proud cc989c68e1 Replace direct curation table access with wrapper.
11 years ago
Matt T. Proud 07ac921aec Code Review: First pass.
11 years ago
Matt T. Proud d8792cfd86 Extract HighWatermarking.
11 years ago
Matt T. Proud f4669a812c Extract index storage into separate types.
11 years ago
Matt T. Proud 772d3d6b11 Consolidate LevelDB storage construction.
11 years ago
Julius Volz e3415e953f Add notifications telemetry.
11 years ago
juliusv 927435d68e Merge pull request #333 from prometheus/round-time
12 years ago
Julius Volz 5d88e8cc45 Round time to nearest second in memory storage.
12 years ago
Matt T. Proud f7704af4f8 Code Review: Formatting comments.
12 years ago
Julius Volz a76a797f3f Always treat series without watermarks as too old.
12 years ago
Julius Volz d2da21121c Implement getValueRangeAtIntervalOp for faster range queries.
12 years ago
Julius Volz e7f049c85b Fix expunging of empty memory series (loop var pointerization bug)
12 years ago
Julius Volz baa5b07829 Fix condition for dropping empty memory series.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
juliusv 42198c1f1c Merge pull request #311 from prometheus/fix/watermarking/on-first-write
12 years ago
Matt T. Proud b811ccc161 Disable paranoid checks and expose max FDs option.
12 years ago
Matt T. Proud 4137c75523 Shrink default LRU cache sizes.
12 years ago
Matt T. Proud ecb9c7bb9d Code Review: Swap ordering of elements.
12 years ago
Matt T. Proud 5daa0a09ea Code Review: Swap ordering of watermark getting.
12 years ago
Matt T. Proud ee840904d2 Code Review: !Before -> After.
12 years ago
Matt T. Proud 2d5de99fbf Regard in-memory series as new.
12 years ago
Matt T. Proud 81c406630a Merge pull request #312 from prometheus/fix/sample-append-logging
12 years ago
Matt T. Proud a1a23fbaf8 Ensure new metrics are watermarked early.
12 years ago
Julius Volz ba8c122147 Log correct sample count when appending to disk.
12 years ago
Julius Volz f2b4067b7b Speedup and clean up operation optimization.
12 years ago
Julius Volz 008bc09da8 Move check for empty memory series to separate method.
12 years ago
Julius Volz 16364eda37 Drop empty series from memory after flushing.
12 years ago
Julius Volz 71199e2c93 Cache disk fingerprint->metric lookups in memory.
12 years ago
Matt T. Proud a73f061d3c Persist solely Protocol Buffers.
12 years ago
juliusv 95400cb785 Merge pull request #290 from prometheus/fix/go-vet
12 years ago
Julius Volz 558281890b Minor "go tool vet" cleanups
12 years ago
juliusv 615972dd01 Merge pull request #288 from prometheus/fix/curator/fallthrough-compaction-ordering
12 years ago
Matt T. Proud 86f63b078b Fix fallthrough compaction value ordering.
12 years ago
Julius Volz 7b9ee95030 Minor LevelDB watermark handling cleanups.
12 years ago
Julius Volz 84741b227d Use LRU cache to avoid querying stale series.
12 years ago
Julius Volz f98853d7b7 Fix type error in watermark list handling.
12 years ago
Matt T. Proud ef1d5fd8a2 Introduce semaphores for tiered storage.
12 years ago
Matt T. Proud 819045541e Code Review: Make double-drain a panic.
12 years ago
Matt T. Proud e217a9fb41 Race Work: Make memory arena locks more coarse.
12 years ago
Matt T. Proud beaaf386e7 Add storage state guards and transition callbacks.
12 years ago
Matt T. Proud abb5353ade Merge pull request #283 from prometheus/feature/storage/consult-watermark
12 years ago
Matt T. Proud 2c3df44af6 Ensure database access waits until it is started.
12 years ago
Matt T. Proud cbe2f3a7b1 Include LRU cache for fingerprint watermarks.
12 years ago
Julius Volz 51689d965d Add debug timers to instant and range queries.
12 years ago
Matt T. Proud 8339a189cb Code Review: Fix seriesPresent scope.
12 years ago
Matt T. Proud fe41ce0b19 Conditionalize disk initializations.
12 years ago
Julius Volz a8468a2e5e Fix reversed disk flush cutoff behavior.
12 years ago
Julius Volz eb1f956909 Revert "Revert "Ensure that all extracted samples are added to view.""
12 years ago
Matt T. Proud 4b30fb86b4 Revert "Ensure that all extracted samples are added to view."
12 years ago
Julius Volz 750f862d9a Use GetBoundaryValues() for non-counter deltas.
12 years ago
Julius Volz f2b48b8c4a Make getValuesAtIntervalOp consume all chunk data in one pass.
12 years ago
Julius Volz 83d60bed89 extractValuesAroundTime() code simplification.
12 years ago
Julius Volz 008314b5a8 Ensure that all extracted samples are added to view.
12 years ago
Matt T. Proud b586801830 Code Review: Fix to-disk queue infinite growth.
12 years ago
Matt T. Proud 285a8b701b Code Review: Extend lock.
12 years ago
Matt T. Proud 2526ab8c81 Code Review: Extend lock scope for appending.
12 years ago
Matt T. Proud f994482d15 Code Review: Avenues for future improvemnet noted.
12 years ago
Matt T. Proud 298a90c143 Code Review: Initial arena size name.
12 years ago
Matt T. Proud c07abf8521 Initial move away from skiplist.
12 years ago
Matt T. Proud 74a66fd938 Spawn grouping of fingerprints with free semaphore.
12 years ago
Julius Volz 5b105c77fc Repointerize fingerprints.
12 years ago
Matt T. Proud ec5b5bae28 Fuck you, Travis.
12 years ago
Matt T. Proud e5ac91222b Benchmark memory arena; simplify map generation.
12 years ago
juliusv 360477f66c Merge pull request #257 from prometheus/feature/better-memory-behaviors
12 years ago
Matt T. Proud e1f20de2e9 Pointerize memorySeriesArena.
12 years ago
Matt T. Proud 8f4c7ece92 Destroy naked returns in half of corpus.
12 years ago
Matt T. Proud 4e0c932a4f Simplify Encoder's encoding signature.
12 years ago
juliusv 516101f015 Merge pull request #250 from prometheus/refactor/drop-unused-storage-setting
12 years ago
juliusv 9ff00b651d Merge pull request #251 from prometheus/fix/memory-metric-mutability
12 years ago
Bernerd Schaefer 63d9988b9c Drop unused writeMemoryInterval
12 years ago
Julius Volz 83c60ad43a Fix GetMetricForFingerprint() metric mutability.
12 years ago
Bernerd Schaefer 428d91c86f Rename test helper files to helpers_test.go
12 years ago
juliusv 98e512d755 Merge pull request #246 from prometheus/fix/interval-value-extraction
12 years ago
Julius Volz 71a3172abb Fix and optimize getValuesAtIntervalOp data extraction.
12 years ago
Matt T. Proud 244a4a9cdb Update to go1.1.
12 years ago
Matt T. Proud b224251981 Simplify compaction and expose database sizes.
12 years ago
juliusv 92ad65ff13 Merge pull request #232 from prometheus/optimize/granular-storage-locking
12 years ago
Matt T. Proud 1f7f89b4e3 Simplify compaction and expose database sizes.
12 years ago
Matt T. Proud d538b0382f Include long-tail data deletion mechanism.
12 years ago
Julius Volz ce1ee444f1 Synchronous memory appends and more fine-grained storage locks.
12 years ago
Matt T. Proud fa6a1f97d0 Expose interfaces for pruner and make pruner tool.
12 years ago
Matt T. Proud 161c8fbf9b Include deletion processor for long-tail values.
12 years ago
Matt Proud 7f0d816574 Schedule the background compactors to run.
12 years ago
Julius Volz caab131ada Repointerize TieredStorage method receiver types.
12 years ago
juliusv 89de116ea9 Merge pull request #225 from prometheus/refactor/fmt-cleanups
12 years ago
Julius Volz 05afa970d2 Slice expression simplifications.
12 years ago
Matt T. Proud f897164bcf Expose TieredStorage.DiskStorage.
12 years ago
Matt T. Proud ce45787dbf Storage interface to TieredStorage.
12 years ago
Bernerd Schaefer 5eb9840ed7 Fix goroutine leak in leveldb.AppendSamples
12 years ago
Matt T. Proud a3f1d81e24 Publicize a few storage components for curation.
12 years ago
Matt T. Proud 4298bab2b0 Publicize Curator and Processors.
12 years ago
Julius Volz 368a792dd2 Adjust memory queue size after change to send arrays over channel.
12 years ago
juliusv b02debd69c Merge pull request #205 from prometheus/julius-channel-arrays
12 years ago
Julius Volz d8110fcd9c Send sample arrays instead of single samples over channels.
12 years ago
Matt T. Proud 3362bf36e2 Include curator status in web heads-up-display.
12 years ago
Matt T. Proud 6fac20c8af Harden the tests against OOMs.
12 years ago
Matt T. Proud 66bc3711ea Merge pull request #197 from prometheus/feature/storage/curation-table
12 years ago
Matt T. Proud d46cd089b5 Merge pull request #199 from prometheus/refactor/telemetry/api-refresh
12 years ago
Matt T. Proud 3fa260f180 Complete sentence.
12 years ago
Matt T. Proud e527941b6a Use tagged struct fields.
12 years ago
Matt T. Proud a48ab34dd0 Refresh Prometheus client API usage.
12 years ago
Matt T. Proud 561974308d Add curation remark table and refactor error mgmt.
12 years ago
Matt T. Proud b3e34c6658 Implement batch database sample curator.
12 years ago
Julius Volz 2202cd71c9 Track alerts over time and write out alert timeseries.
12 years ago
Johannes 'fish' Ziemke 1ad41d4c00 Call closer.Close() earlier.
12 years ago
Johannes 'fish' Ziemke 22da76e8ab Close of reportTicker to exit goroutine.
12 years ago
Johannes 'fish' Ziemke 5043c6fce7 Have goroutine exit on signal via defer block.
12 years ago
juliusv af7ddc36e2 Merge pull request #176 from prometheus/optimization/view-materialization/slice-chunking
12 years ago
Julius Volz 9b8c671ec9 Fixes/cleanups to renderView() samples truncation.
12 years ago
Matt T. Proud 05504d3642 WIP - Truncate irrelevant chunk values.
12 years ago
Matt T. Proud a32602140e Convert the TestInstant value into UTC.
12 years ago
Matt T. Proud b1a8e51b07 Extract dto.SampleValueSeries into model.Values.
12 years ago
Matt T. Proud 422003da8e Convert trailing float64s.
12 years ago
Matt T. Proud db4ffbb262 Wrap dto.SampleKey with business logic type.
12 years ago
Matt T. Proud f9e99bd08a Refresh SampleValue to 64-bit floating point.
12 years ago
Matt T. Proud 092c7bd88e Stochastic test support plural SampleValueSeries.
12 years ago
Julius Volz 99dcbe0f94 Integrate memory and disk layers in view rendering.
12 years ago
Julius Volz 63625bd244 Make view use memory persistence, remove obsolete code.
12 years ago
Matt T. Proud d468271e2f Fix append queue telemetry and parameterize sizes.
12 years ago
Julius Volz 95b081f9bc Stop serving tiered storage after draining it.
12 years ago
Matt T. Proud a55602df4a Validate diskFrontier domain for series candidate.
12 years ago
Matt T. Proud d79c932a8e Merge pull request #120 from prometheus/feature/storage/compaction
12 years ago
Matt T. Proud c3e3460ca6 Spin up curator run in the tests.
12 years ago
Matt T. Proud 461da0b3a8 Merge pull request #117 from prometheus/feature/storage/compaction
12 years ago
Matt T. Proud d0ad6cbeaa Spin up storage layers for made fixtures.
12 years ago
Julius Volz c59f3fc538 Fix formatting in tiered_test.go.
12 years ago
juliusv 39826d7335 Merge pull request #107 from prometheus/julius-fix-get-fingerprints
12 years ago
Julius Volz 2668700e54 Fix bug in GetFingerprintsForLabelSet().
12 years ago
Matt T. Proud c53a72a894 Test data for the curator.
12 years ago
Matt T. Proud 6dcaa28806 Include LevelDB fixture generators for curator.
12 years ago
Julius Volz 55ca65aa6e More userfriendly output when we fail to create the tiered storage.
12 years ago
Matt T. Proud c4e971d7d9 Merge pull request #101 from prometheus/refactor/test/directory-extraction
12 years ago
Matt T. Proud b86b0ea41a Create temporary directory handler.
12 years ago
Julius Volz 8cf2af3923 Abort view job processing on timeout.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Julius Volz e096896932 PR comment fixups.
12 years ago
Julius Volz dd67ab115b Change GetAllMetricNames() to GetAllValuesForLabel().
12 years ago
Julius Volz 42bdf921d1 Fetch integrated memory/disk data for simple Get* functions.
12 years ago
Julius Volz 11bb94a7e5 Implement GetAllMetricNames() for memory storage.
12 years ago
Julius Volz 991dc68d78 Rename misnamed oldestSampleTimestamp variable.
12 years ago
Matt T. Proud 3e97a3630d Include nascent curator scaffolding.
12 years ago
Matt T. Proud b2e4c88b80 Wrap LevelDB iterator operations behind interface.
12 years ago
Matt T. Proud f2a30cf20c Several important cleanups and deprecations.
12 years ago
Matt T. Proud 70448711ec Merge pull request #95 from prometheus/feature/persistence/batching
12 years ago
Matt T. Proud 8f6b55be71 Several interface cleanups.
12 years ago
Julius Volz a33d2726bc Mark range op as consumed if it receives no data points in range.
12 years ago
Julius Volz 3c9d6cb66c Add several needed persistence proxy methods to tiered storage.
12 years ago
Julius Volz 081d250929 Fix view's GetRangeValues() reverse iteration behavior.
12 years ago
Julius Volz 0be0aa59c2 Wait until storage is drained before closing the underlying leveldb.
12 years ago
Julius Volz becc278eb6 Fix two bugs in range op time advancement.
12 years ago
Matt T. Proud ceb6611957 Fix regression in subsequent range op. compactions.
12 years ago
Matt T. Proud 669abdfefe ``make format`` invocation.
12 years ago
Julius Volz bdb067b47f Implement remaining View Get* methods.
12 years ago
Julius Volz 1f42364733 Fix typo in comment.
12 years ago
Matt T. Proud 758a3f0764 Add documentation and cull junk.
12 years ago
Matt T. Proud bd8bb0edfd One additional reduction.
12 years ago
Matt T. Proud 73b463e814 Additional simplifications.
12 years ago
Matt T. Proud fd47ac570f Implied simplifications.
12 years ago
Matt T. Proud 51a0f21cf8 Interim documentation
12 years ago
Matt T. Proud b470f925b7 Extract rewriting of interval queries.
12 years ago
Matt T. Proud eb721fd220 Include note about greediest range.
12 years ago
Julius Volz e50de005f9 Populate metric in SampleSet returned from GetRangeValues()
12 years ago
Julius Volz 6001d22f87 Change Get* methods to receive fingerprints instead of metrics.
12 years ago
Julius Volz 95f8885c8a Adopt new ops sorting interface in view rendering.
12 years ago
Julius Volz 4d79dc3602 Replace renderView() by cleaner and more correct reimplementation.
12 years ago
Julius Volz e0dbc8c561 Fix edge cases in data extraction for point and interval ops.
12 years ago
Julius Volz a4361e4116 Rename extractSampleValue -> extractSampleValues.
12 years ago
Julius Volz 4e7db57e76 Fix iterator behavior in view.GetSampleAtTime()
12 years ago
Julius Volz bb9c5ed7aa Fix nil pointer exception in frontier building.
12 years ago
Matt T. Proud 896e172463 Extract time group optimizations.
12 years ago
Matt T. Proud 5a71814778 Additional greediness.
12 years ago
Matt T. Proud b00ca7e422 Refactor some greediness computations.
12 years ago
Matt T. Proud 978acd4e96 Simplify time group optimizations.
12 years ago
Matt T. Proud d7b534e624 Update documentation.
12 years ago
Matt T. Proud 1f7ed52b46 Start writing high watermarks.
12 years ago
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.
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.
12 years ago
Matt T. Proud efbe0e8a12 Interface simplification.
12 years ago
Matt T. Proud f1245e8dda Interface simplifications.
12 years ago
Matt T. Proud e8a733b525 Interface simplifications.
12 years ago
Matt T. Proud f03091b139 Interface simplifications: GetRangeValues
12 years ago
Matt T. Proud 14788cf4f3 Interface simplifications.
12 years ago
Matt T. Proud 56f069b3ec Interface simplifications: GetValueAtTime().
12 years ago
Matt T. Proud 1e2d6c7418 GetFingerprintsForLabelName simplifications.
12 years ago
Matt T. Proud 900bb988c1 Simplifications of GetFingerprintsForLabelSet.
12 years ago
Matt T. Proud 4fbcea73f5 MetricPersistence.AppendSample signature changes.
12 years ago
Matt T. Proud 4502b49524 Swap out fingerprinting infrastructure.
12 years ago