Commit Graph

870 Commits (090e7e09598d1ce5ec9d73e44cce7bf2db8dc7e2)

Author SHA1 Message Date
Brian Brazil f9e581907a Make index queue bigger. (#2322)
8 years ago
Fabian Reinartz bc20d93f0a storage: rename iterator value getters to At()
8 years ago
Fabian Reinartz 7322c46b8e storage: add mock iterator for test
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Mitsuhiro Tanda 7e369b9318 expose max memory chunks metrics (#2303)
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 622ece6273 *: fix recording tests, migrate matcher types
8 years ago
Fabian Reinartz 0492ddbd4d *: fully decouple tsdb, add new storage interfaces
8 years ago
Fabian Reinartz d17b5be48a storage/metric: remove package
8 years ago
Fabian Reinartz 8b84ee5ee6 storage: remove old storage
8 years ago
Fabian Reinartz 11a731ba82 remote: remove hard-coded remote storages
8 years ago
Brian Brazil 93b70ee4ea Evict chunk descs of all unloaded chunks during maintenance. (#2297)
8 years ago
Brian Brazil 1b8a474612 Don't clone the metric if there's no remote writes.
8 years ago
Tristan Colgate 30be8e0b8a ignore dotfiles in data directory
8 years ago
Björn Rabenstein 45570e5972 Merge pull request #2277 from prometheus/beorn7/storage2
8 years ago
beorn7 253be23c00 storage: Sanity-check number of loaded chunk descs
8 years ago
Björn Rabenstein 5f0c0e43cf Merge pull request #2276 from prometheus/beorn7/storage
8 years ago
beorn7 837c029b16 storage: Fix linter issue
8 years ago
beorn7 4719482f5f storage: Make tests go-vet and golint clean
8 years ago
beorn7 485ac8dff7 storage: Verify validity of byte length when unmarshalling (double)delta chunks
8 years ago
tattsun e714079cf2 storage: fix error message (#2270)
8 years ago
Christopher M. Luciano 148b006e25 Clarify error message when Prometheus data dir finds unexpected files
8 years ago
Julius Volz 127332c56f Merge pull request #2168 from tomwilkie/chunk-len
8 years ago
Tom Wilkie 585878cdb2 Add call to estimate number of samples in a chunk to the API
8 years ago
Björn Rabenstein 036715370f Merge pull request #2184 from huydx/master
8 years ago
huydx c999902761 Fix possible memory leak by defer inside loop
8 years ago
Fabian Reinartz 856de30c09 Check error before defer closing
8 years ago
Fabian Reinartz 6703404cb4 Merge remote-tracking branch 'origin/release-1.2'
8 years ago
beorn7 c5bd178b93 Protect exported Querier interface method against negative time ranges
8 years ago
beorn7 5b16d6bd6e Merge branch 'release-1.2'
8 years ago
beorn7 876e5da4f8 Add guard against non-monotonic samples in series
8 years ago
Dominik Schulz 182e17958a Trivial spelling corrections and a small comment.
8 years ago
Fabian Reinartz 8fa18d564a storage: enhance Querier interface usage
8 years ago
beorn7 719508752b Re-add counting of evict chunk ops and decrementing NumMemChunks
8 years ago
Julius Volz cb02f017ee Clean up some doc comments
8 years ago
Julius Volz c212ef0326 Add Chunk.Utilization() methods
8 years ago
Julius Volz c7932aa009 Remove gRPC leftovers in protobuf definitions
8 years ago
Björn Rabenstein 1e2f03f668 Merge pull request #2005 from redbaron/microoptimise-matching
8 years ago
Maxim Ivanov e6db9f8159 New fpsForLabelMatchers and seriesForLabelMatchers methods
8 years ago
Brian Brazil 6e8f87a37f Merge pull request #2047 from prometheus/write-relabel
8 years ago
Brian Brazil 77605649a9 Add support for remote write relabelling.
8 years ago
Julius Volz c9d4526428 Unpublish accidentally published series methods
8 years ago
Maxim Ivanov 4978a65495 Extract initial FP candidate build logic into candidateFPsForLabelMatchers method
8 years ago
Maxim Ivanov c048a0cde8 Add metrics to result after checking all matchers
8 years ago
Maxim Ivanov bedc0eda1f Added BenchmarkQueryRange
8 years ago
Julius Volz c25f0de5ae Remove local.ZeroSample{,Pair}, use model definitions
8 years ago
Julius Volz 044ebce779 Review fixups.
8 years ago
Julius Volz d30a3c7c0f Fix accidental publishing of memorySeries.firstTime()
8 years ago
Julius Volz ab80ced756 storage: separate chunk package, publish more names
8 years ago
Julius Volz 42c05dd3a2 Merge pull request #2011 from mattkanwisher/chuck-public
8 years ago
beorn7 ca98382943 Avoid `defer` in seriesMap.get
8 years ago
Matthew Campbell 67d76e3a5d timeseries: store varbit encoded data into cassandra
8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957)
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Maxim Ivanov bdc53098fc Avoid having contended mutexes on same cacheline
8 years ago
Julius Volz 5f5a78e807 Merge pull request #1974 from prometheus/disable-local-storage
8 years ago
Tom Wilkie d83879210c Switch back to protos over HTTP, instead of GRPC.
8 years ago
Tobias Schmidt 29ced0090f Fix common english misspellings
8 years ago
Tobias Schmidt e2c12dcdb5 Add missing error check in persistence test
8 years ago
Tobias Schmidt 8f3b62bfe4 Simplify struct initialization
8 years ago
Julius Volz b24e5d63bc Add noop local storage engine.
8 years ago
Fabian Reinartz 22296dcb85 storage: clarify sample/matcher relation in docs
8 years ago
Fabian Reinartz cc6f988a5e storage: fix Querier interface documentation
8 years ago
Fabian Reinartz 7bd7e63f97 storage: fix struct alignment issue in test
8 years ago
nghialv 7655038184 fix typo
8 years ago
Tom Wilkie d41d91388f Update for new generic remote storage.
8 years ago
Tom Wilkie a6931b71e8 Rationalise retrieval metrics so we have the state (success/failed) on both samples and batches, in a consistent fashion.
8 years ago
Tom Wilkie ece12bff93 Shard/parrallelise samples by fingerprint in StorageQueueManager
8 years ago
Julius Volz fe29e87824 Merge pull request #1930 from prometheus/generic-write-grpc
8 years ago
Julius Volz aa3f2b7216 Generic write cleanups and changes.
8 years ago
Brian Brazil 36d2c4bd0b Add generic write path using grpc.
8 years ago
Dan Milstein ec064c96f6 Add field names to table-driven test fixtures
8 years ago
Dan Milstein ac8788aca6 Convert to table-driven test and inline helper func
8 years ago
Dan Milstein f50f656a66 Fix double-delta unmarshaling to respect actual min header size
8 years ago
Dan Milstein b815956341 Catch errors when unmarshalling delta/doubleDelta encoded chunks
8 years ago
Matt Bostock e618af5d0b Storage: Add crash recovery metric 'started_dirty'
8 years ago
Dan Milstein 764ceaa939 Add timeout to test, cap waiting at 1 second
8 years ago
Dan Milstein 007907b410 Fix one of the tests for a remote storage QueueManager
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
beorn7 fc6737b7fb storage: improve index lookups
8 years ago
Dmitry Vorobev 273e457da4 web: return status code and error message for config resource
8 years ago
Björn Rabenstein 0622304244 Merge pull request #1798 from prometheus/beorn7/storage2
8 years ago
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
Tobias Schmidt 4c439b4b45 Merge pull request #1646 from prometheus/beorn7/valuecomparison
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
Dmitry Vorobev bd2a770015 storage/remote: Spawn not more than "maxConcurrentSends" goroutines.
9 years ago
Dmitry Savintsev 7fdb62c253 fix several minor golint style issues
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
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
beorn7 d09ca03e10 Work around compiler bug
9 years ago
beorn7 507f550cd4 Merge branch 'master' into beorn7/storage7
9 years ago
beorn7 865d16f870 Rename Gorilla into varbit
9 years ago
Julius Volz d3b53bd7f0 Fix comment about Graphite mapping of dimensions.
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
Corentin Chary 7b6c3e556c Use '.' instead of '=' to separate labels from their values in Graphite
9 years ago
Julius Volz 75fdcf5698 Merge pull request #1197 from iksaif/master
9 years ago
Corentin Chary a2e4439086 Add support for remote storage on Graphite
9 years ago
Fabian Reinartz 33aab4169c Anchor regexes in vector matching
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Julius Volz dac26cef71 Rename global "labels" config option to "external_labels".
9 years ago
Julius Volz eeb1da36ac Fix InfluxDB write support to work with InfluxDB 0.9.x.
9 years ago
Julius Volz 5f77fce578 Improve remote storage queue manager metrics.
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
Fabian Reinartz 8fa719f778 Attach global labels to remote storage samples
9 years ago
Dieter Plaetinck e1dacc56e6 fix comment.
9 years ago
Julius Volz 744d5d5a7a Merge pull request #1029 from prometheus/vet-fixes
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Julius Volz 963ad82dcb Fix "go vet" errors.
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
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