Commit Graph

83 Commits (f81cbb00c623a14ae750e1ee0751f0ba2cf2e4e6)

Author SHA1 Message Date
beorn7 c5fa0b90c3 Fix the case where a series in memory has 0 chunks, but chunks on disk.
10 years ago
beorn7 3035b8bfdd Adaptively reduce the wait time for memory series maintenance.
10 years ago
beorn7 6a21f73898 Fixes after review.
10 years ago
beorn7 51d35f4481 Instrument series maintenance durations.
10 years ago
beorn7 12ae6e9203 Increase resilience of the storage against data corruption - step 4.
10 years ago
beorn7 11bd9ce1bd Increase resilience of the storage against data corruption - step 3.
10 years ago
beorn7 e25cca823c Increase resilience of the storage against data corruption - step 2.
10 years ago
beorn7 3d8d8928be Increase resilience of the storage against data corruption - step 1.
10 years ago
beorn7 da7c0461c6 Rename persist queue len/cap to num/max chunks to persist.
10 years ago
beorn7 a075900f9a Merge branch 'beorn7/persistence' into beorn7/ingestion-tweaks
10 years ago
beorn7 1d8fc7d56f Change minor things after code review.
10 years ago
beorn7 be11cb2b07 Remove the sample ingestion channel.
10 years ago
beorn7 0056eaeb4f Redesign series maintenance and chunk persistence.
10 years ago
beorn7 5bea942d8e Improve various things around chunk encoding.
10 years ago
beorn7 13fcf1ddbc Implement double-delta encoded chunks.
10 years ago
beorn7 5ed8f6c205 Update persistQueueLength after chunks were persisted.
10 years ago
beorn7 1db7589081 Reduce the capacity of countPersistedHeadChunks.
10 years ago
beorn7 9406afad72 Do not double-count non-persisted head chunks on loading.
10 years ago
beorn7 dbc22b972c Check last time in head chunk for head chunk timeout, not first.
10 years ago
beorn7 edd716e63c Fix the embarrassing bug introduced in commit 0851945.
10 years ago
beorn7 af91fb8e31 Improve persisting chunks to disk.
10 years ago
beorn7 e22f26bc58 Move to a queue model for appending samples after all.
10 years ago
beorn7 fe518fdb28 Simplify AppendSamples by allowing it to be goroutine-unsafe.
10 years ago
beorn7 5d3cd65a5d Improve performance of ingestion.
10 years ago
beorn7 d2ab49c396 Make the persist queue length configurable.
10 years ago
Julius Volz 9412b296d5 Remove labels on persist error counter.
10 years ago
Bjoern Rabenstein 2c8fdcbc23 Remove a deadlock during shutdown.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Julius Volz a6bc42bc61 Minor formatting/spelling fixups.
10 years ago
Bjoern Rabenstein 0851945054 Add a heuristics to checkpoint early if there are many "dirty" series..
10 years ago
Bjoern Rabenstein 622e8350cd Fix a bug handling freshly unarchived series.
10 years ago
Bjoern Rabenstein eb932d1524 Remove a deadlock during shutdown.
10 years ago
Brian Brazil e56786b221 Have scrape time as a pseudovariable, not a prometheus variable.
10 years ago
Julius Volz c9618d11e8 Introduce copy-on-write for metrics in AST.
10 years ago
Bjoern Rabenstein 674624f1c8 Completed more TODOs.
10 years ago
Bjoern Rabenstein 7d11019aa2 Squash a few trivial TODOs.
10 years ago
Bjoern Rabenstein 14bda4180c Changes after pair code review.
10 years ago
Bjoern Rabenstein 9ea808cd8b Remove debug log line.
10 years ago
Bjoern Rabenstein bb42cc2e2d Evict based on memory pressure. Evict recently used chunks last.
10 years ago
Bjoern Rabenstein d73e851b14 Tweak timing in the maintenance loop.
10 years ago
Bjoern Rabenstein 2672aa8ece Instrument series maintenance.
10 years ago
Bjoern Rabenstein 74c143c4c9 Improve scraper shutdown time.
10 years ago
Bjoern Rabenstein 3f61d304ce Reorganize maintenance loop.
10 years ago
Bjoern Rabenstein c087ee35f7 Remove archiveMtx.
10 years ago
Bjoern Rabenstein 7af42eda65 Optimize purging.
10 years ago
Bjoern Rabenstein 904acd43da Add crash recovery.
10 years ago
Bjoern Rabenstein 4efc60174b Tweak and verify a few parameters.
10 years ago
Bjoern Rabenstein 5f8e9617ef Add more tests.
10 years ago
Bjoern Rabenstein d215e013b7 Fix the weird chunkDesc shuffling bug.
10 years ago
Bjoern Rabenstein f1de5b0c4e Run checkpointing of in-memory metrics and head chunks periodically.
10 years ago