Commit Graph

625 Commits (8ec10ae7a5c3ec7a0b6e54c326a09d9afc9d39e8)

Author SHA1 Message Date
beorn7 ed810b45bf Improvements after review.
10 years ago
beorn7 c36e0e05f1 Add crash recovery of fingerprint mappings.
10 years ago
beorn7 2235cec175 Handle fingerprint collisions.
10 years ago
Fabian Reinartz eeca323d24 Merge branch 'master' into promql
10 years ago
beorn7 9820e5fe99 Use FastFingerprint where appropriate.
10 years ago
Scott Worley e5f92d35fe Fix storage/local tests for 32-bit systems
10 years ago
Fabian Reinartz 32b7595c47 Create promql package with lexer/parser.
10 years ago
beorn7 a052d32609 Comment improvement.
10 years ago
beorn7 66fc61f9b7 Make bufPool a member of the persistence struct.
10 years ago
beorn7 b02d900e61 Improve chunk and chunkDesc loading.
10 years ago
beorn7 c563398c68 Remove obsolete debug message.
10 years ago
beorn7 c5fa0b90c3 Fix the case where a series in memory has 0 chunks, but chunks on disk.
10 years ago
Björn Rabenstein d8e515e9cb Merge pull request #617 from prometheus/influxdb-write-support
10 years ago
Julius Volz 593e565688 Allow writing to InfluxDB/OpenTSDB at the same time.
10 years ago
beorn7 3035b8bfdd Adaptively reduce the wait time for memory series maintenance.
10 years ago
Julius Volz 61fb688dd9 Add experimental InfluxDB write support.
10 years ago
beorn7 fbc44d8f95 Add benchmark for loading chunks and chunk descs.
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 9ecf93526d Sync the checkpoints.
10 years ago
beorn7 853f971540 Actually use double-delta encoding for transcoding. :-o
10 years ago
beorn7 23ba8a5516 Make floats exact again.
10 years ago
beorn7 a8d4f8af9a Improve minor things after review.
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 0167083da6 Improvements after review.
10 years ago
beorn7 ebac14eff3 Add version guard to persistence.
10 years ago
Julius Volz 795704f0df Merge pull request #565 from fabxc/fabxc/labelmatcher_test
10 years ago
Fabian Reinartz 4bff5d29bf Add tests for retrieving fingerprints for label matchers.
10 years ago
beorn7 92991026bb Fix chunkDescsTotal count in case of errors.
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 8a1c195b54 Move emptiness check to the receivers.
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 3948e2a7f8 Move lost files to an "orphaned" directory.
10 years ago
Bjoern Rabenstein c24bfdf701 Move crash related code into separate file.
10 years ago
Bjoern Rabenstein ab386d1f5d Declare storage.local.index-cache-size.* default values as tweaked.
10 years ago
Bjoern Rabenstein 73f6dc4d44 Make KeyValueStore.Delete report if the key to delete was found.
10 years ago
Bjoern Rabenstein 2c8d324ca4 Remove check that did not check anything.
10 years ago
Julius Volz d4374a9265 More efficient JSON query result format.
10 years ago
Bjoern Rabenstein 2c8fdcbc23 Remove a deadlock during shutdown.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Bjoern Rabenstein f298af5756 Use named returns in flock.New.
10 years ago
Bjoern Rabenstein baca6faa1c Add double-start protection.
10 years ago
Bjoern Rabenstein ae70eac97d Adjust the partitioning by outcome.
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
Bjoern Rabenstein ff24070a03 Fix embarrassing bug in crash recovery.
10 years ago
Julius Volz c9618d11e8 Introduce copy-on-write for metrics in AST.
10 years ago
Bjoern Rabenstein afd864e7f4 Adjust to the new version of goleveldb.
10 years ago
Bjoern Rabenstein fee88a7a77 Remove the remaining races, new and old.
10 years ago
Bjoern Rabenstein 66c80b5ebd Fix typo.
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 49683c0c20 Avoid test flags in normal binary.
10 years ago
Bjoern Rabenstein 9bc05052ad Add line that has mysteriously disappeared after rebase.
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 e23ee0f7cc Fix race in test.
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 33b959b898 Persist savedFirstTime in checkpoint.
10 years ago
Bjoern Rabenstein 904acd43da Add crash recovery.
10 years ago
Bjoern Rabenstein 7a9efc9c59 Fix typo in test.
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 a617269b12 Avoid unnecessary cloning of the head chunk.
10 years ago
Bjoern Rabenstein f1de5b0c4e Run checkpointing of in-memory metrics and head chunks periodically.
10 years ago
Bjoern Rabenstein 74c9b34a5e Improve storage instrumentation even more.
10 years ago
Julius Volz c3fcea45e3 Support finer time resolutions than 1 second.
10 years ago
Bjoern Rabenstein 443dd33805 Improve instrumentation in storage.
10 years ago
Bjoern Rabenstein 1936a40e75 Minor loging improvement.
10 years ago
Bjoern Rabenstein 192bf52c41 Evict chunkDescs, too.
10 years ago
Bjoern Rabenstein 95f392fb2c Prevent an indexing death spiral.
10 years ago
Bjoern Rabenstein 40354eaa29 Reduce directory depth by one.
10 years ago
Bjoern Rabenstein 096fa0f8b2 Squash a number of TODOs.
10 years ago
Bjoern Rabenstein 427c8d53a5 Fix handling of empty chunkDescs while preloading chunks.
10 years ago
Bjoern Rabenstein ecee5d8281 Fix head chunk persisting and a chunkDesc race condition.
10 years ago
Bjoern Rabenstein 6b37e47f9e Remove unused metrics.
10 years ago
Bjoern Rabenstein 2b4ff620aa Return a nop iterator for series that have been purged completely.
10 years ago
Bjoern Rabenstein 6e3a366f91 Only archive a time series when none of its chunks is pinned.
10 years ago
Julius Volz bfa64248b7 Deal with missing series in preloading.
10 years ago
Bjoern Rabenstein ca42a22e20 Add safety panic to seriesMap.put.
10 years ago
Bjoern Rabenstein 83b4fa868d Fix GetBoundaryValues.
10 years ago
Bjoern Rabenstein b3ed9aa7a2 Clean up start-up and shut-down.
10 years ago
Bjoern Rabenstein 4447708c9f Fix a race in target.go.
10 years ago
Bjoern Rabenstein fd6600850a Fix race in chunkDesc.
10 years ago
Bjoern Rabenstein 1c53c09558 Treat empty chunkDescs properly in preloadChunksForRange.
10 years ago
Bjoern Rabenstein 934d09f738 Fix race during shutdown.
10 years ago
Bjoern Rabenstein 38fc24d0ed Fix targetpool_test.go and other tests.
10 years ago
Julius Volz 7f5d3c2c29 Fix and improve the fp locker.
10 years ago
Bjoern Rabenstein 7ad55ef83c Actually close the iterator channels.
10 years ago
Bjoern Rabenstein 8fba3302bc Bold changes to concurrency.
10 years ago
Bjoern Rabenstein fcdf5a8ee7 Fix bugs in chunk evict code.
10 years ago
Bjoern Rabenstein 7e6a03fbf9 Fix a few concurrency issues before starting to use the new fp locker.
10 years ago
Julius Volz db92620163 Instrument eviction and purge durations.
10 years ago
Julius Volz e0ee7ec7ab Add fingerprintLocker for locking individual fingerprints.
10 years ago
Julius Volz df1b2a2422 Fix indexing latency instrumentation.
10 years ago
Bjoern Rabenstein 01dd618a20 Fix a locking bug.
10 years ago
Julius Volz a746fbb8bc Instrument indexing: queue length, batch sizes and latencies.
10 years ago
Bjoern Rabenstein aea32b0b4b Avoid redundant fingerprint calculation.
10 years ago
Bjoern Rabenstein e9ff29c547 Comment/code cleanup.
10 years ago
Bjoern Rabenstein 0031a448e2 Add WaitForIndexing.
10 years ago
Bjoern Rabenstein c7aad110fb Add an indexing queue and batch the ops.
10 years ago
Bjoern Rabenstein 71206dbc06 More code cleanups.
10 years ago
Julius Volz f0d5d4bda3 Fix bug around index purging.
10 years ago
Julius Volz 630b5a087a Also consider on-disk fingerprints during purge.
10 years ago
Bjoern Rabenstein f5f9f3514a Major code cleanup.
10 years ago
Bjoern Rabenstein 3592dc2359 Implement series eviction.
10 years ago
Bjoern Rabenstein bbf49200ab Implement methods in persistence.go.
10 years ago
Bjoern Rabenstein 5a128a04a9 Major reorganization of the storage.
10 years ago
Bjoern Rabenstein e7cb9ddb9f Use a sync.pool for the staging buffer in codec.go.
10 years ago
Bjoern Rabenstein 4770cf76a4 Make index package more self-contained.
10 years ago
Bjoern Rabenstein 89f10e8eb2 Move to using the standard library interfaces for encoding/decoding.
10 years ago
Bjoern Rabenstein af77d5ef0b Added a few missing implementations in index.go.
10 years ago
Julius Volz cca7ebe906 Some more cleanups / obsolete code removals.
10 years ago
Julius Volz 7e85711df0 Beginnings of a tiered index implementation.
10 years ago
Julius Volz 8dfaa5ecd2 Remove use of freelists for chunk bufs.
10 years ago
Julius Volz 7b35e0f0b8 Use constants from math package instead of literals.
10 years ago
Julius Volz 15929eece2 Unpin any already loaded chunks upon preloading error.
10 years ago
Julius Volz fd01d07589 Check that chunk buffer length fits in 16 bit.
10 years ago
Bjoern Rabenstein 1ca7f24137 Remove float diff tolerance altogether.
10 years ago
Bjoern Rabenstein d742edfe0d Fix precision loss.
10 years ago
Bjoern Rabenstein dc2e463a97 Improvements after review.
10 years ago
Bjoern Rabenstein 52c9dc43a3 Improve testing.
10 years ago
Julius Volz 3b25867d61 Add chunk persistence tests, fix storage tests.
10 years ago
Bjoern Rabenstein ecdf5ab14f Index-persistence switched from gob to a hand-coded solution.
10 years ago
Julius Volz e7ed39c9a6 Initial experimental snapshot of next-gen storage.
10 years ago
Julius Volz c6e9f085a3 Update used Go version to 1.3.
10 years ago
Bjoern Rabenstein 1909686789 Make metrics exported by the Prometheus server itself more consistent.
10 years ago
Julius Volz 80b3d3bf34 Speed up disk flushes by removing unnecessary sort.
10 years ago
Julius Volz 21cafe6cd7 Only evict memory series after they are on disk.
10 years ago
Bjoern Rabenstein 8956faeccb Migrate to new client_golang.
10 years ago
Brian Brazil e041c0cd46 Add console and alert templates with access to all data.
11 years ago
Bjoern Rabenstein ca6a4fccef Weed out our homegrown test.Tester.
11 years ago
Julius Volz 4df5c7ab18 Optimize label matcher memory and runtime behavior.
11 years ago
Bjoern Rabenstein de9a88b964 Ensure temporal order in streams.
11 years ago
Julius Volz 1b29975865 Fix RWLock memory storage deadlock.
11 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Matt T. Proud 3e969a8ca2 Parameterize the buffer for marshal/unmarshal.
11 years ago
Matt T. Proud 58ef638e72 Merge "Use idiomatic one-to-many one-time signal pattern."
11 years ago
Matt T. Proud 6ec72393c4 Correct size of unmarshalling destination buffer.
11 years ago
Matt T. Proud 81367893fd Use idiomatic one-to-many one-time signal pattern.
11 years ago
Julius Volz c7c0b33d0b Add regex-matching support for labels.
11 years ago
Julius Volz ae30453214 Add label names -> label values index.
11 years ago
Julius Volz 7a577b86b7 Fix interval op special case.
11 years ago
Bjoern Rabenstein 257b720e87 Fix typo.
11 years ago
Bjoern Rabenstein caf47b2fbc New encoding for OpenTSDB tag values (and metric names).
11 years ago
Julius Volz 9d5c367745 Fix incorrect interval op advancement.
11 years ago
Julius Volz cc04238a85 Switch to new "__name__" metric name label.
11 years ago
Bjoern Rabenstein c3b282bd14 Add regression tests for 'loop until op is consumed' bug.
11 years ago
Julius Volz 86fc13a52e Convert metric.Values to slice of values.
11 years ago
Julius Volz a7d0973fe3 Add version field to LevelDB sample format.
11 years ago
Julius Volz 1eee448bc1 Store samples in custom binary encoding.
11 years ago
Julius Volz c2a2a20f36 Remove obsolete scanjobs timer.
11 years ago
Julius Volz dd4892dcad Ensure no ops are leaked in renderView().
11 years ago
Julius Volz 5745ce0a60 Fixups for single-op-per-fingerprint view rendering.
11 years ago
Björn Rabenstein 8b43497002 Merge "Fix memory series indexing bug."
11 years ago
Björn Rabenstein 0bb33b6525 Merge "Remove unused labelname -> fingerprints index."
11 years ago
Julius Volz d6827b6898 Fix memory series indexing bug.
11 years ago
Julius Volz c6013ff309 Remove unused labelname -> fingerprints index.
11 years ago
Bjoern Rabenstein 9ea9189dd1 Remove the multi-op-per-fingerprint capability.
11 years ago
Bjoern Rabenstein e11e8c7a23 Unify LevelDB.*Options.
11 years ago
Bjoern Rabenstein 6bc083f38b Major code cleanup in storage.
11 years ago
Björn Rabenstein 59febe771a Merge "Minor code cleanups."
11 years ago
Julius Volz c4adfc4f25 Minor code cleanups.
11 years ago
Julius Volz 8cadae6102 Merge "Fix LevelDB closing order."
11 years ago
Julius Volz 94666e20b7 Minor test error reporting cleanup.
11 years ago
Julius Volz fd2158e746 Store copy of metric during fingerprint caching
11 years ago
Julius Volz 718ad2224b Fix LevelDB closing order.
11 years ago
Bjoern Rabenstein c342ad33a0 Fix OperatorError.
11 years ago
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