Commit Graph

97 Commits (add-chunkiterator-interface)

Author SHA1 Message Date
helenxu1221 7df4fe3faa reset counter after collecting metric (#6798) 6 years ago
Robert Fratto a53e00f9fd
pass registerer from storage to queue manager for its metrics (#6728) 6 years ago
Chris Marchbanks 7f3aca62c4 Only reduce the number of shards when caught up. 6 years ago
Chris Marchbanks 9e24e1f9e8 Use samplesPending rather than integral 6 years ago
Callum Styan 67838643ee
Add config option for remote job name (#6043) 6 years ago
Chris Marchbanks 6f34e35b3e
Record the exact value of desired shards in metric 6 years ago
Chris Marchbanks 0e684ca205
Fix unknown type in sharding up log 6 years ago
Callum Styan c2cb1e4103 Add a metric to track total bytes sent per remote write queue. (#6344) 6 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326) 6 years ago
Callum Styan 5f1be2cf45 Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111) 6 years ago
Chris Marchbanks 8df4bca470
Garbage collect asynchronously in the WAL Watcher 6 years ago
Callum Styan 3344bb5c33 Move WAL watcher code to tsdb/wal package. (#5999) 6 years ago
Chris Marchbanks 791a2409a2
Pre-allocate pendingSamples to reduce allocations 6 years ago
Chris Marchbanks 160186da18
Store labels.Labels instead of []prompb.Label 6 years ago
Chris Marchbanks a6a55c433c Improve desired shards calculation (#5763) 7 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 7 years ago
ethan 38ccf0157e cleanup: correct func name in log message (#5852) 7 years ago
Callum Styan c40a83f386 Add metrics for max shards, min shards, and desired shards. 7 years ago
Xigang Wang 445bcd1251 Update the runShard method and change len(pendingSamples) to n=len(pendingSamples) (#5708) 7 years ago
Chris Marchbanks 06bdaf076f Remote Write Allocs Improvements (#5614) 7 years ago
Callum Styan 23c382e240 Remote Storage: string interner should not panic in release (#5487) 7 years ago
Callum Styan 3639d51eb6 Remote Storage: string interner should not panic in release (#5487) 7 years ago
Callum Styan e87449b59d Remote Write: Queue Manager specific metrics shouldn't exist if the queue no longer exists (#5445) 7 years ago
Vasily Sliouniaev ef19ede14a Prevent reshard concurrent with calling stop (#5460) 7 years ago
Vasily Sliouniaev 5be9a1426f Prevent reshard concurrent with calling stop (#5460) 7 years ago
Tom Wilkie 807fd33ecc Review feedback. 7 years ago
Callum Styan 1a7923dde3 Add ref counting to string interning so we can remove 7 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write. 7 years ago
Tom Wilkie 2fa93595d6
More WAL remote_write tweaks. (#5300) 7 years ago
Tariq Ibrahim ab8e9b7423 fix typo in queue_manager.go comment (#5294) 7 years ago
Tom Wilkie 67da8e7b46
Refactor and fix queue resharding (#5286) 7 years ago
Callum Styan b8106dd459 Review feedback: 7 years ago
Tom Wilkie f795942572 Decrement pending sample when queue exits. 7 years ago
Tom Wilkie efbd9559f4 Deal with corruptions in the WAL: 7 years ago
Tom Wilkie d6f911b511 Factor out logging ratelimit & dedupe middleware. 7 years ago
Tom Wilkie 37ad4db485 Export timestamps in seconds since epoch. 7 years ago
JoeWrightss 362873f72b Fix .Log() error message (#5257) 7 years ago
Callum Styan 37e35f9e0c Various improvements to WAL based remote write. 7 years ago
Tom Wilkie b93bafeee1 Various fixes to locking & shutdown for WAL-based remote write. 7 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write 7 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057) 7 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955) 7 years ago
Ryota Arai 135d580ab2 Introduce min_shards for remote write to set minimum number of shards. (#4924) 7 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921) 7 years ago
fengyuceNv 94fff219ab improve remote storage enqueue performance (#4772) 7 years ago
Daisy T 7d01ead689 change time.duration to model.duration for standardization (#4479) 7 years ago
Goutham Veeramachaneni c28cc5076c Saner defaults and metrics for remote-write (#4279) 8 years ago
Bryan Boreham 3277aeefaa Add queue name to logger for remote writes 8 years ago
Tom Wilkie b58199bf12 Review feedback. 8 years ago
Tom Wilkie 3353bbd018 Add proper unclean shutdown handling with a cancellable context. 8 years ago