Commit Graph

171 Commits (ff1bcdb7b9b46a5ce06362233bf3929683c36038)

Author SHA1 Message Date
Callum Styan 1a7923dde3 Add ref counting to string interning so we can remove
6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Tom Wilkie 2fa93595d6
More WAL remote_write tweaks. (#5300)
6 years ago
Tariq Ibrahim ab8e9b7423 fix typo in queue_manager.go comment (#5294)
6 years ago
Tom Wilkie 67da8e7b46
Refactor and fix queue resharding (#5286)
6 years ago
Callum Styan b8106dd459 Review feedback:
6 years ago
Tom Wilkie f795942572 Decrement pending sample when queue exits.
6 years ago
Tom Wilkie efbd9559f4 Deal with corruptions in the WAL:
6 years ago
Tom Wilkie d6f911b511 Factor out logging ratelimit & dedupe middleware.
6 years ago
Tom Wilkie 37ad4db485 Export timestamps in seconds since epoch.
6 years ago
JoeWrightss 362873f72b Fix .Log() error message (#5257)
6 years ago
Callum Styan 37e35f9e0c Various improvements to WAL based remote write.
6 years ago
Tom Wilkie b93bafeee1 Various fixes to locking & shutdown for WAL-based remote write.
6 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955)
6 years ago
Ryota Arai 135d580ab2 Introduce min_shards for remote write to set minimum number of shards. (#4924)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
fengyuceNv 94fff219ab improve remote storage enqueue performance (#4772)
6 years ago
Daisy T 7d01ead689 change time.duration to model.duration for standardization (#4479)
6 years ago
Goutham Veeramachaneni c28cc5076c Saner defaults and metrics for remote-write (#4279)
6 years ago
Bryan Boreham 3277aeefaa Add queue name to logger for remote writes
7 years ago
Tom Wilkie b58199bf12 Review feedback.
7 years ago
Tom Wilkie 3353bbd018 Add proper unclean shutdown handling with a cancellable context.
7 years ago
Tom Wilkie e51d6c4b6c Make remote flush deadline a command line param.
7 years ago
Tom Wilkie a6c353613a Make the flush deadline configurable.
7 years ago
Tom Wilkie aa17263edd Remove WaitGroup and extra goroutine.
7 years ago
Tom Wilkie f3c61f8bb2 Only give remote queues 1 minute to flush samples on shutdown.
7 years ago
Mario Trangoni 464e747f1e fix some comments typos (#4059)
7 years ago
Tom Wilkie 22d820ef8e Review feedback.
7 years ago
Tom Wilkie f8c9d375b6 Correctly stop the timer used in the remote write path.
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Bryan Boreham 8a4535e6ad Re-use timer instead of creating new ones on every sample
7 years ago
Tom Wilkie 6e4d4ea402 Initialise some counters in remote storage API.
7 years ago
Tom Wilkie ee011d906d Port remote read server to 2.0.
7 years ago
Tom Wilkie 8fe0212ff7 Port 'Make queue manager configurable.' to 2.0, see #2991
7 years ago
Brian Brazil 73dc96e7f5 Fix leak of ticker in remote storage queue manager.
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Tom Wilkie ec999ff397 Prevent number of remote write shards from going negative.
7 years ago
Tom Wilkie 2dda5775e3 Initial port of remote storage to v2.
7 years ago
Fabian Reinartz 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Tom Wilkie 75bb0f3253 Review feedback
8 years ago
Tom Wilkie 9d22f030cf Dynamically reshard the QueueManager based on observed load.
8 years ago
Tom Wilkie 1ab893c6ec Limit 'discarding sample' logs to 1 every 10s (#2446)
8 years ago
Julius Volz 2f39dbc8b3 Rename StorageQueueManager -> QueueManager
8 years ago
Julius Volz e9476b35d5 Re-add multiple remote writers
8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957)
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
beorn7 064b57858e Consistently use the `Seconds()` method for conversion of durations
9 years ago
Dmitry Vorobev bd2a770015 storage/remote: Spawn not more than "maxConcurrentSends" goroutines.
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
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Julius Volz 5f77fce578 Improve remote storage queue manager metrics.
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 267fd34156 Switch Prometheus to use github.com/prometheus/log.
10 years ago
Julius Volz 593e565688 Allow writing to InfluxDB/OpenTSDB at the same time.
10 years ago
Julius Volz 61fb688dd9 Add experimental InfluxDB write support.
10 years ago
beorn7 be11cb2b07 Remove the sample ingestion channel.
10 years ago
beorn7 8a1c195b54 Move emptiness check to the receivers.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Bjoern Rabenstein ae70eac97d Adjust the partitioning by outcome.
10 years ago
Bjoern Rabenstein 74c143c4c9 Improve scraper shutdown time.
10 years ago
Bjoern Rabenstein 443dd33805 Improve instrumentation in storage.
10 years ago
Bjoern Rabenstein b3ed9aa7a2 Clean up start-up and shut-down.
10 years ago
Bjoern Rabenstein 1909686789 Make metrics exported by the Prometheus server itself more consistent.
10 years ago
Bjoern Rabenstein 8956faeccb Migrate to new client_golang.
10 years ago
Bjoern Rabenstein 6bc083f38b Major code cleanup in storage.
11 years ago
Julius Volz 61d26e8445 Add optional sample replication to OpenTSDB.
11 years ago