Commit Graph

385 Commits (b6f89a198284a222f23bd58b59fa93b71ed44bac)

Author SHA1 Message Date
beorn7 2a75b15328 Crash recovery: Fix an edge case.
9 years ago
beorn7 064b57858e Consistently use the `Seconds()` method for conversion of durations
9 years ago
Julius Volz 91401794fa storage: Make MemorySeriesStorage a public type
9 years ago
Fabian Reinartz 425736a377 *: remove last remainers of non-second metrics
9 years ago
Julius Volz b7b6717438 Separate query interface out of local.Storage.
9 years ago
Jan van Valburg 68f3df49d0 stoarge: fix 'access denied' error on Windows
9 years ago
beorn7 b274c7aaa7 Update doc comments
9 years ago
beorn7 99881ded63 Make the number of fingerprint mutexes configurable
9 years ago
beorn7 a308c76292 Improve TestAppendOutOfOrder
9 years ago
beorn7 b2ef4dc52d Correctly identify no-op appends if the value is NaN
9 years ago
Steve Durrheimer 399d5c6375
Make version informations consistent between prometheus components
9 years ago
beorn7 07a294ac15 Doc comment fixes
9 years ago
beorn7 20cba1ed8f Initialize metric vectors in memorySeriesStorage
9 years ago
beorn7 d566808d40 Bring back logging of discarded samples
9 years ago
beorn7 db16acd7fb Never drop a still open head chunk.
9 years ago
beorn7 a90d645378 Checkpoint fingerprint mappings only upon shutdown
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
Fabian Reinartz a18639dc2d Merge pull request #1454 from prometheus/beorn7/fix-test
9 years ago
beorn7 d09ca03e10 Work around compiler bug
9 years ago
beorn7 865d16f870 Rename Gorilla into varbit
9 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
beorn7 c72979e3ed Remove a redundancy from Gorilla-style chunks
9 years ago
beorn7 b6dbb826ae Improve fuzz testing and fix a bug exposed
9 years ago
beorn7 9d8fbbe822 Review improvements
9 years ago
beorn7 8cdced3850 Implement Gorilla-inspired chunk encoding
9 years ago
beorn7 8e64e8dfca Fix return statement.
9 years ago
Björn Rabenstein 98c8560851 Merge pull request #1477 from prometheus/beorn7/storage7
9 years ago
beorn7 e7ac9c6863 Improvments based on review
9 years ago
beorn7 199f309a39 Resurrect and rename invalid preload requests count metric.
9 years ago
beorn7 e8c1f30ab2 Merge the parallel logic of getSeriesForRange and metricForFingerprint
9 years ago
beorn7 9445c7053d Add tests for range-limited label matching
9 years ago
beorn7 47e3c90f9b Clean up error propagation
9 years ago
beorn7 99854a84d7 Merge branch 'beorn7/storage6' into beorn7/storage7
9 years ago
beorn7 5e4fa96719 Merge branch 'beorn7/storage5' into beorn7/storage6
9 years ago
beorn7 b343e65907 Merge branch 'beorn7/storage4' into beorn7/storage5
9 years ago
beorn7 d0a4477446 Merge branch 'beorn7/storage3' into beorn7/storage4
9 years ago
beorn7 55eddab25f Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 161eada3ad Make chunkIterator even leaner.
9 years ago
beorn7 beb36df4bb De-flag preloadChunksForRange
9 years ago
beorn7 836f1db04c Improve MetricsForLabelMatchers
9 years ago
beorn7 167b83695c Merge branch 'beorn7/storage5' into beorn7/storage6
9 years ago
beorn7 01795382c9 Merge branch 'beorn7/storage4' into beorn7/storage5
9 years ago
beorn7 f7fc542db6 Merge branch 'master' into beorn7/storage4
9 years ago
beorn7 3d86130d8c Merge branch 'master' into beorn7/storage3
9 years ago
beorn7 1f30c8de8d Merge branch 'master' into beorn7/storage2
9 years ago
beorn7 c13b1ecfe9 Make chunk iterators more DRY
9 years ago
beorn7 32f280a3cd Slim down the chunkIterator interface
9 years ago
beorn7 b6fdb355d7 Move dump-heads into its own tool
9 years ago
beorn7 f193f2b8ef Add a command to promtool that dumps metadata of heads.db
9 years ago
beorn7 75a6b460ef Give TestEvictAndLoadChunkDescs more time to actually evict
9 years ago
beorn7 fc7de5374a Quarantine series upon problem writing to the series file
9 years ago
beorn7 0ea5801e47 Handle errors caused by data corruption more gracefully
9 years ago
beorn7 b6840997a7 Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 ce58fd357b Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 2581648f70 Separate iterators by offset
9 years ago
beorn7 c740789ce3 Improve predict_linear
9 years ago
beorn7 4b503ed9a5 Merge branch 'master' into beorn7/storage2
9 years ago
beorn7 059295332f Merge remote-tracking branch 'origin/master' into beorn7/storage
9 years ago
beorn7 53005c3085 Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 28e9bbc15f Populate chunkDesc.chunkLastTime during checkpoint loading, too
9 years ago
Björn Rabenstein a8c79f0a0c Merge pull request #1422 from prometheus/release-0.17
9 years ago
beorn7 8fa1560e48 Fix a very special case of handling the checkpoint timer
9 years ago
beorn7 41e44f6ab9 Merge branch 'master' into beorn7/storage2
9 years ago
Björn Rabenstein d9eb624322 Merge pull request #1415 from prometheus/release-0.17
9 years ago
beorn7 4d1f7b49b6 Fix a race condition in calculatePersistenceUrgencyScore
9 years ago
beorn7 454ecf3f52 Rework the way ranges and instants are handled
9 years ago
beorn7 b876f8e6a5 Move lastSamplePair method up to memorySeries
9 years ago
beorn7 1e13f89039 Return SamplePair istead of *SamplePair consistently
9 years ago
beorn7 d290340367 Fix and improve chunkDesc locking
9 years ago
beorn7 0e202dacb4 Streamline series iterator creation
9 years ago
beorn7 ef3ab96111 Populate first and last time in the chunk descriptor earlier
9 years ago
beorn7 9a3edea477 Remove race condition from TestRetentionCutoff
9 years ago
Julius Volz 9b6d69610a Fix various typos in comments.
9 years ago
Fabian Reinartz 1f877f3d2a Fix deadlock, structure target logging
9 years ago
Fabian Reinartz 59f1e722df Return error on sample appending
9 years ago
beorn7 ec08c9a391 Rework the way to communicate backpressure (AKA suspended ingestion)
9 years ago
beorn7 87ef24cd25 Add instrumentation and refactor things around "rushed mode"
9 years ago
beorn7 a2cd479058 Fix calculation of chunks to persist after restart
9 years ago
beorn7 972d94433a Introduce a hysteresis for "rushed mode"
9 years ago
beorn7 14796bdb60 Improve chunkMaxBatchSize doc comment
9 years ago
beorn7 582af1618c Streamline chunk writing
9 years ago
beorn7 99b9611351 Remove a race condition from TestRetentionCutoff
9 years ago
beorn7 3f4d22e4c7 Update doc comment
9 years ago
beorn7 add2ebdd56 Tolerate the lost+found directory in the data directory
9 years ago
Björn Rabenstein 6293f3a374 Merge pull request #1304 from prometheus/beorn7/storage
9 years ago
beorn7 cb117d8346 Add a series ops metric "purge_on_request"
9 years ago
beorn7 4221c7de5c Improve handling of series file truncation
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
beorn7 22d3a4311a Increase waiting time in TestEvictAndLoadChunkDescs
9 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings.
9 years ago
beorn7 daeccdd0e9 Fix DropMetricsForFingerprints
9 years ago
Julius Volz ffc5142c54 Merge pull request #1058 from prometheus/check-errors
9 years ago
Julius Volz 6774a73878 Fix error checking and logging around checkpointing.
9 years ago
Julius Volz 011faf9057 Fix typo in comment.
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Fabian Reinartz e061595352 Move COWMetric into storage/metric package
9 years ago
Brian Brazil fdf0d0642e Cast value to float, as that's what the console templates expect.
9 years ago
Fabian Reinartz 1535ef1457 Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz c9d396f476 Replace metric.LabelPair with model.LabelPair
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Julius Volz f65ef1ed10 Fix wording in shutdown warning.
9 years ago
Brian Brazil 0ec71442cd Storage: Tell users how to avoid crash recovery.
9 years ago
Laurie Malau 20ad403587 Don't warn/increment metric upon equal timestamps during append.
9 years ago
Julius Volz 517badc21d Only do regex lookups when there was no equality match.
9 years ago
beorn7 699946bf32 Fix chunk desc loading.
10 years ago
beorn7 4203849c92 Test chunkDesc eviction and loading
10 years ago
beorn7 37e12df9ff Improve TestAppendOutOfOrder
10 years ago
beorn7 502aa9ded5 Use Has instead of Get for existence test.
10 years ago
beorn7 ff08f0b6fe storage: ensure timestamp monotonicity within series.
10 years ago
Julius Volz acbc2b8cb6 storage: Fix float->uint conversions on some compilers.
10 years ago
beorn7 8c196c1028 Minor doc fixes.
10 years ago
Fabian Reinartz 6bfb4549a6 storage: add LastSamplePairForFingerprint method
10 years ago
Fabian Reinartz dc7d27ab9a retrieval: add honor label handling and parametrized querying.
10 years ago
beorn7 9016917d1c Increment dirty counter only if setDirty(true) is called.
10 years ago
Fabian Reinartz 1eff186555 Merge pull request #810 from prometheus/fabxc/lmatch
10 years ago
Fabian Reinartz 5b91ea9b36 storage: improve label matching and allow unset matching.
10 years ago
Fabian Reinartz 46df1fd5ea storage/local: add benchmark for label matching.
10 years ago
Fabian Reinartz b105e26f4d storage: remove global flags
10 years ago
Fabian Reinartz 5c6c0e2faa Add storage method to delete time series
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz 2317b001d0 Move flock package to pkg/flock
10 years ago
Fabian Reinartz 3c8fbf1e15 Move test package to pkg/testutil
10 years ago
Fabian Reinartz aff01e29c3 Limit retrievable samples to retention window.
10 years ago
Fabian Reinartz a92134a947 Merge pull request #724 from prometheus/fabxc/storage-startup
10 years ago
Fabian Reinartz 6e319532cf Read from indexing queue during crash recovery.
10 years ago
beorn7 dbcb3d9333 Use an RW lock to checkpoint fingerprint mappings.
10 years ago
beorn7 3b9ab546e6 Add metrics to count inconsistencies and fp collisions.
10 years ago
Björn Rabenstein c44e7cd105 Merge pull request #706 from prometheus/beorn7/persistence2
10 years ago
Fabian Reinartz 112a778922 Align int64s for atomic operations
10 years ago
beorn7 3b9c421a69 Weed out all the [Gg]et* method names.
10 years ago
Julius Volz 267fd34156 Switch Prometheus to use github.com/prometheus/log.
10 years ago
beorn7 81b190bf45 Remove locking from series iterator. Cache chunk iterators.
10 years ago
beorn7 cd5574bf8a Make chunk and series iterators more efficient.
10 years ago
beorn7 f79c694be5 Add benchmarks for series iterator methods.
10 years ago
Fabian Reinartz f59a449a24 Fix storage test
10 years ago
Fabian Reinartz d8440d75f1 Do not start storage processing before Start() is called.
10 years ago
beorn7 d1a93655a1 Fix typo.
10 years ago
beorn7 7c6466d476 Reserve only ~1M FPs for the mapping.
10 years ago
beorn7 ac75dc2812 Avoid archive lookup for known mapped FPs.
10 years ago
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
beorn7 9820e5fe99 Use FastFingerprint where appropriate.
10 years ago
Scott Worley e5f92d35fe Fix storage/local tests for 32-bit systems
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