Commit Graph

517 Commits (60967736fa4d918fd430c95a6d8dd62a226aaca8)

Author SHA1 Message Date
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
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.
12 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