Commit Graph

1414 Commits (ff1bcdb7b9b46a5ce06362233bf3929683c36038)

Author SHA1 Message Date
DrAuYueng 5a6e26556b
Add an option to use the external labels as selectors for the remote read endpoint (#10254)
3 years ago
Julien Pivotto b0d70557b7
Merge pull request #10285 from prometheus/release-2.33
3 years ago
Chris Marchbanks bfb1500a38
Fix deadlock when stopping a shard (#10279)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Bryan Boreham 954c0e8020 remote_write: round desired shards up before check
3 years ago
Bryan Boreham 6d01ce8c4d remote_write: shard up more when backlogged
3 years ago
Bryan Boreham d588b14d9c remote_write: detailed test for shard calculation
3 years ago
Chris Marchbanks ba03f7fc23
Merge pull request #10102 from prometheus/update-metrics-on-rw-fails
3 years ago
beorn7 e7592fe353 sparsehistogram: Address two TODOs
3 years ago
Goutham Veeramachaneni 6696b7a5f0
Don't update metrics on context cancellation
3 years ago
Chris Marchbanks dfa5cb7462
Merge pull request #10038 from charlesxsh/fix-TestReshardRaceWithStop
3 years ago
Goutham Veeramachaneni 1af81dc5c9
Update sent timestamp when write irrecoverably fails.
3 years ago
Shihao Xia c3e7bfb813 add proper exit for loop
3 years ago
beorn7 86cc83b13c storage: iterator fixes after merge
3 years ago
beorn7 64c7bd2b08 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto 27343277fa
Merge release-2.32 forward into main (#10032)
3 years ago
beorn7 0ede6ae321 storage: fix bug #10027 in iterators' Seek method
3 years ago
beorn7 b042e29569 storage: expose bug in iterators #10027
3 years ago
beorn7 6f33ab2b35 Merge branch 'main' into sparsehistogram
3 years ago
Chris Marchbanks 0a8d28ea93
Merge pull request #9934 from bboreham/remote-write-struct
3 years ago
Bryan Boreham bd6436605d Review feedback
3 years ago
Sebastian Rabenhorst d8b8678bd1
Log time series details for out-of-order samples in remote write receiver (#9894)
3 years ago
detailyang 3e482c905f
fix:storage:avoid panic when iterater exhauested (#9945)
3 years ago
Bryan Boreham 50878ebe5e remote-write: buffer struct instead of interface
3 years ago
Bryan Boreham c478d6477a remote-write: benchmark just sending, on 20 shards
3 years ago
Chris Marchbanks e95d4ec3f1
Merge pull request #9830 from prometheus/batch-queues
3 years ago
Chris Marchbanks c655684142
Subtract from enqueued samples/exemplars upon send
3 years ago
Chris Marchbanks 319249f9db
Batch samples before sending them to channels
3 years ago
beorn7 68e02be963 Post-merge fixes
3 years ago
beorn7 e4e24453fa Merge branch 'main' into beorn7/merge2
3 years ago
Björn Rabenstein 4ce01e9770
storage: Rename ...Values methods to At... (#9889)
3 years ago
Björn Rabenstein d677aa4b29
storage: Consolidate iterator method names (Values -> At) (#9888)
3 years ago
Björn Rabenstein b866db009b
storage: Fix and improve the Seek method of various iterators (#9878)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
Ganesh Vernekar 26c0a433f5
Support appending different sample types to the same series (#9705)
3 years ago
Matheus Alcantara e673805d67
storage/remote: use t.TempDir instead of ioutil.TempDir on tests (#9811)
3 years ago
Hu Shuai eb43437d83
Fix golint issue (#9800)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451)
3 years ago
beorn7 73858d7f82 storage: histogram support in memoized_iterator
3 years ago
beorn7 9b30ca2598 promql: Support histogram in value string representation
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
Mateusz Gozdek d8561dbfd8 storage/remote: make tests use separate remote write configs
3 years ago
Mateusz Gozdek 116552cc58 storage/remote: check errors from ApplyConfig in tests
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
beorn7 8f92c90897 Add TODOs and some minor tweaks
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Ganesh Vernekar c8b267efd6
Get histograms from TSDB to the rate() function implementation
3 years ago
Marco Pracucci 9f5ff5b269
Allow to disable trimming when querying TSDB (#9647)
3 years ago
sniper f82e56fbba
fix request bytes size and continue is useless (#9635)
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
lzhfromustc 9da5382103
storage/remote: Prevent two goroutines from endless loop (#8967)
3 years ago
lzhfromustc d42be7be76
test:Fix two potential goroutine leaks (#8964)
3 years ago
Bryan Boreham 5afa606ecb
Remote-write: reuse memory for marshalling (#9412)
3 years ago
Robert Fratto bc72a718c4
Initial draft of prometheus-agent (#8785)
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
Ben Ye fdbc40a9ef
Expose NewChainSampleIterator func (#9475)
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Bryan Boreham 1fb3c1b598
Replace calls to strings.Compare (#9397)
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Nick Pillitteri acee8c8a88
Redact remote write URL when used for metric label (#9383)
3 years ago
Serge Catudal d77c985f8c
Add initial support for exemplar to the remote write receiver endpoint (#9319)
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Levi Harrison bd57cd395e
Switch to common/sigv4
3 years ago
Ganesh Vernekar eedb86783e
Fix queries on blocks for sparse histograms and add unit test (#9209)
3 years ago
Ganesh Vernekar 095f572d4a
Sync sparsehistogram branch with main (#9189)
3 years ago
Levi Harrison fac1b57334
Remove Individual Data Type Caps in Per-shard Buffering for Remote Write (#8921)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Bryan Boreham 60804c5a09
remote_write: reduce blocking from garbage-collect of series (#9109)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
Ganesh Vernekar a1087ed37a
Fix scraping of sparse histograms (#9031)
3 years ago
Ganesh Vernekar f4d3af73f0
Query histograms from TSDB and unit test for append+query (#9022)
3 years ago
Ganesh Vernekar 04ad56d9b8
Append sparse histograms into the Head block (#9013)
3 years ago
Ganesh Vernekar 64bea6999e
HistogramAppender interface for sparse histograms (#9007)
3 years ago
Levi Harrison d5c3c567d3
Remote Write: Add max samples per metadata send (#8959)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
kongxs 632678a461
Fix spelling mistake (#8879)
4 years ago
Julien Pivotto ae086c73cb
Merge pull request #8757 from songjiayang/refactor-processExternalLabels
4 years ago
Ben Ye d95b097250
expose seriesToChunkEncoder (#8845)
4 years ago
Matthias Loibl 7e7efaba32
storage: Split chunks if more than 120 samples (#8582)
4 years ago
songjiayang 9a01472780 Refactor processExternalLabels method with slice copy for left labels
4 years ago
Hu Shuai 996848ef40 Fix golint issue
4 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
ZouYu c7262f0d70
Fix some gofmt warnings (#8743)
4 years ago
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Christian Simon 9781e51f59
Correct spelling of "iterable" (#8713)
4 years ago
Bryan Boreham c7a62b95ce
GetRef() now returns the label set (#8641)
4 years ago
Bryan Boreham d614ae9ecf
[RFC] Add method to get reference number for TSDB Appender (#8600)
4 years ago
Marco Pracucci e246670193
Further increase max log line in remote write client (#8616)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto 76750d2a96
Merge pull request #8585 from pracucci/optimize-buffered-iterator
4 years ago
Marco Pracucci 6f050f66c7
Update storage/memoized_iterator.go
4 years ago
Julius Volz cf4250cff3 Fix sample deduplication in chainSampleIterator
4 years ago
Marco Pracucci b92c03023d
Optimized vector selector
4 years ago
Robert Fratto 5b78aa0649
Contribute grafana/agent sigv4 code (#8509)
4 years ago
Julien Pivotto 9c4bc38c94
Merge pull request #8516 from Harkishen-Singh/headers-remote-read-on-round-tripper
4 years ago
Tom Wilkie ce97cdd477
Move remote read handler to remote package. (#8536)
4 years ago
Harkishen-Singh 79ba53a6c4 Custom headers on remote-read and refactor implementation to roundtripper.
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Harkishen-Singh 77c20fd2f8 Adds support to configure retry on Rate-Limiting from remote-write config.
4 years ago
Harkishen Singh cd412470d7
Consider status code 429 as recoverable errors to avoid resharding (#8237)
4 years ago
fuling 47d7e3781f [fix] remote_storage : change "write_hander.go" to "write_handler.go"
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Tom Wilkie d479151f1f Various enhancements and refactorings for remote write receiver:
4 years ago
Julien Pivotto 6368227f0c
Merge pull request #8443 from liguozhong/remote_storage
4 years ago
Nándor István Krácser 509000269a
remote_write: allow passing along custom HTTP headers (#8416)
4 years ago
fuling 4a407210f5 [remote storage] remove sendWriteRequestWithBackoff() "s" and "req" param
4 years ago
Chris Marchbanks 275f7e7766
Log recoverable remote write errors as warnings (#8412)
4 years ago
kevinForMyself db445844d3
Fix garbage collection about t.droppedSeries in QueueManager.SeriesReset. (#8387)
4 years ago
Ben Ye caa173d2aa
Support matchers for Labels API (#8301)
4 years ago
gotjosh 4eca4dffb8
Allow metric metadata to be propagated via Remote Write. (#6815)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
Jorge Luis Betancourt 4dc755cd27
Add a metric for tracking max_samples_per_send (#8102)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Julien Pivotto 8c9850c2bb
Remote: Do not collect non-initialized timestamp metrics (#8060)
4 years ago
Frederic Branczyk 21a2e8c320
storage/remote/intern_test.go: Fix linting errors
4 years ago
Siddhant Sinha d9dcf2c90f
Fixes #7982. Increase maxErrMsgLen value remote_write api (#8017)
4 years ago
Harkishen Singh 072b9649a3
Refactor vars to avoid test failures in storage/remote with -count > 1 (#7934)
4 years ago
Chris Marchbanks f0f8e50567
Fix missing remote read spans (#7914)
4 years ago
Julien Pivotto a6ee1f8517
Merge pull request #7913 from prometheus/release-2.21
4 years ago
Bartlomiej Plotka 088fcc9e48
Fixed iterator regression: Avoid using heap for each sample when iterating. (#7900)
4 years ago
Bartlomiej Plotka a399227a9f Revert "Fixed iterator regression: Avoid using heap for each sample when iterating."
4 years ago
Julien Pivotto 2c8b2c5915 Fixed iterator regression: Avoid using heap for each sample when iterating.
4 years ago
Anand Sanmukhani f4a1b3cef6
Rename `remote.newReadClient()` to `remote.NewReadClient()` (#7881)
4 years ago
showuon dfdc358a5b
Fix the duplicated results issue from /api/v1/series (#7862)
4 years ago
Robert Fratto 2bd077ed97
expose UserAgent to make it changeable by importers (#7832)
4 years ago
Joe Elliott 624075eafe
Exposes remote storage http client to allow for customization (#7831)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
Julien Pivotto a55c69c4c3
Apply gofmt -s on storage/remote/write_test.go (#7791)
4 years ago
Mucahit Kurt 869f1bc587
use remote.Storage in TestSampleDelivery instead of direct creation of QueueManager (#4758)
4 years ago
johncming 2b75c1b199
storage/remote: rename httpclient name. (#7747)
4 years ago
Guangwen Feng 2c4a4548a8
Fix golint issue caused by incorrect func name (#7756)
4 years ago
Bartlomiej Plotka 28c5cfaf0d
tsdb: Moved code merge series and iterators to differen files; cleanup. No functional changes just move! (#7714)
4 years ago
Julien Pivotto 9848e77678
storage/remote: remove unused code now that tsdb implements ChunkQuerier (#7715)
4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069)
4 years ago
Annanay ec562f152b Merge branch 'master' into appender-context
4 years ago
Annanay 9bba8a6eae Merge branch 'master' into appender-context
4 years ago
Annanay 89129cd39a Address comments
4 years ago
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683)
4 years ago
Joe Elliott 04b028f1e6
Exports recoverable error (#7689)
4 years ago
Annanay f40e4579b7 gofmt
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
Zhou Hao ddedf454d0
add os.RemoveAll err verification (#7540)
4 years ago
Hu Shuai b962029031
Add a unit test for MergeLabels in storage/remote/codec.go. (#7499)
4 years ago
Ganesh Vernekar a4c2ea1ca3
Merge remote-tracking branch 'upstream/master' into merge-release-2.19
4 years ago
Chris Marchbanks b299aba6cf
Fix panic when updating a remote write queue (#7452)
4 years ago
Chris Marchbanks d78656c244
Pending Samples metric includes samples in channel (#7335)
4 years ago
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
4 years ago
Nicole J d5a8f2afc4
Added the remote read histogram (#7334)
5 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Bartlomiej Plotka 8f0a924be9 Merge branch 'release-2.18' into get2.18.2-to-master
5 years ago
Marco Pracucci bc1d7d7f27 Fixed incorrect query results caused by buffer reuse in merge adapter (#7361)
5 years ago
Marco Pracucci 1e006d84a0
Fixed incorrect query results caused by buffer reuse in merge adapter (#7361)
5 years ago
Bert Hartmann 82c7cd320a
increase the remote write bucket range (#7323)
5 years ago
Nicole J 5e9bd17b1f
added the prometheus_remote_storage_remote_read_queries_total (#7328)
5 years ago
Cody Boggs 3268eac2dd
Trace Remote Write requests (#7206)
5 years ago
Chris Marchbanks c1f9917e90
Add test for unregistering queue manager metrics
5 years ago
Chris Marchbanks dfad1da296
Remove duplicate metrics in QueueManager
5 years ago
Julien Pivotto 7ecd2d1c24
Jaeger: Create child span for remote read (#7187)
5 years ago
qinng f36ae1c21c
[remote-storage] use warn log level when send samples to remote failed (#7184)
5 years ago
Vasily Sliouniaev 0393b188c9
Add Jaeger (#7148)
5 years ago
Marek Slabicki 4b5e7d4984
Adding a shouldReshard function to modularize logic for the QueueManager deciding if it should shard or not (#7143)
5 years ago
Chris Marchbanks cd12f0873c
Merge pull request #7073 from csmarchbanks/fix-md5-remote-write
5 years ago
Chris Marchbanks 5ab6b043c1
Always update lastSendTimestamp after a request (#7122)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Chris Marchbanks d88a2b0261 Handle secret changes in remote write ApplyConfig
5 years ago
Simon Pasquier 317e73de79 Hash YAML instead of JSON
5 years ago
Simon Pasquier 8cc84660fa storage/remote: add tests for config changes
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
ga 9a21fdcd1b
[storage] clean imports (#7099)
5 years ago
Callum Styan be13a4ba7e
Compare querier storage to primary storage via reflect.DeepEqual. (#7050)
5 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
5 years ago
beorn7 526cff39b9 Fix tests that were broken by #7009
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Callum Styan f802f1e8ca
Fix bug with WAL watcher and Live Reader metrics usage. (#6998)
5 years ago
Chris Marchbanks 3128875ff4
Fix panic when a remote read store errors (#6975)
5 years ago
beorn7 f6f4fd6556 tsdb: Do a full rollback upon commit error
5 years ago
Callum Styan 1518083168
Rw testability improvements (#6537)
5 years ago
李国忠 f7a322fa6d
[comments] change the word "liike" to "like" (#6859)
5 years ago
Bartlomiej Plotka 59c9d6ef45 Addressed Brian's comments, moved metrics to main.go
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Bartlomiej Plotka 2cf637fbf5 Addressed comments.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
李国忠 3cd6a5b050
Storage concurrently tests and bug fix (#6808)
5 years ago
李国忠 40dd13b074
Storage concurrently (#6770)
5 years ago
helenxu1221 7df4fe3faa reset counter after collecting metric (#6798)
5 years ago
Robert Fratto a53e00f9fd
pass registerer from storage to queue manager for its metrics (#6728)
5 years ago
Peter Štibraný 08c5549055
Document that NewMergeSeriesSet expects individual sets to be sorted. (#6718)
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Anand Singh Kunwar aa61e392b2 Make remote client `Store` use passed context (#6673)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Julien Pivotto aad8f89ecb Remote storage: propagate json marshal errors (#6622)
5 years ago
Chris Marchbanks 7f3aca62c4 Only reduce the number of shards when caught up.
5 years ago
Chris Marchbanks 9e24e1f9e8 Use samplesPending rather than integral
5 years ago
Chris Marchbanks 847c66a843 Add sharding test
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Julien Pivotto 31700a05df Improve testutil.ErrorEqual (#6471)
5 years ago
Callum Styan 67838643ee
Add config option for remote job name (#6043)
5 years ago
Garrett 5a9c4acfbf Pushdown aggregator group by through read hint (#6401)
5 years ago
Chris Marchbanks 5000c05378
Merge pull request #6378 from prometheus/accurate-desired-shards-metric
5 years ago
Callum Styan 5830e03691
Merge pull request #6337 from cstyan/rw-log-replay
5 years ago
Callum Styan 6a24eee340 Simplify duration check for watcher WAL replay.
5 years ago
Chris Marchbanks 6f34e35b3e
Record the exact value of desired shards in metric
5 years ago
Chris Marchbanks 0e684ca205
Fix unknown type in sharding up log
5 years ago
Callum Styan c2cb1e4103 Add a metric to track total bytes sent per remote write queue. (#6344)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Callum Styan 5f1be2cf45 Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111)
5 years ago
Krasi Georgiev 81d284f806
Merge the 2.13 release branch to master (#6117)
5 years ago
Callum Styan 84ff928606 Make sure the remote write storage uses a dedupe logger. (#6113)
5 years ago
Chris Marchbanks 8df4bca470
Garbage collect asynchronously in the WAL Watcher
5 years ago
George Felix 895abbb7d0 Replaced test validations with testutils on storage/remote/codec_test.go (#6097)
5 years ago
Joe Elliott 95dc59ec7e Replaced t.Fatalf() with testutil.Assert() in buffer_test.go (#6084)
5 years ago
陈谭军 103f26d188 fix the wrong word (#6069)
5 years ago
Callum Styan 3344bb5c33 Move WAL watcher code to tsdb/wal package. (#5999)
5 years ago
Björn Rabenstein 3b3eaf3496
Merge pull request #5787 from cstyan/reshard-max-logging
5 years ago
Chris Marchbanks b4317768b9
Merge pull request #5849 from csmarchbanks/rw-use-labels
5 years ago
Yao Zengzeng f65b7c296d fix TODO: only stop & recreate remote write queues which have changes (#5540)
5 years ago
Chris Marchbanks 791a2409a2
Pre-allocate pendingSamples to reduce allocations
5 years ago
Chris Marchbanks 160186da18
Store labels.Labels instead of []prompb.Label
5 years ago
Stanislav Putrya 6141a8bd7c Show warnings in UI if query have returned some warnings (#5964)
5 years ago
Bartek Płotka 48b2c9c8ea
remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703)
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Bartek Płotka 32be514845
Merge pull request #5805 from codesome/merge-tsdb
5 years ago
Chris Marchbanks a6a55c433c Improve desired shards calculation (#5763)
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
ethan 38ccf0157e cleanup: correct func name in log message (#5852)
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
Vadym Martsynovskyy 8318aa2d5d Check for duplicate label names in remote read (#5829)
5 years ago
Callum Styan c40a83f386 Add metrics for max shards, min shards, and desired shards.
5 years ago
AllenZMC 758c71b980 fix word `encourter` to `encounter`
5 years ago
Devin Trejo d77f2aa29c Only check last directory when discovering checkpoint number (#5756)
5 years ago
Yao Zengzeng 3cde8a9941 pass error up if WALWathcer.segments() return err (#5741)
5 years ago
Xigang Wang 445bcd1251 Update the runShard method and change len(pendingSamples) to n=len(pendingSamples) (#5708)
5 years ago
Chris Marchbanks 06f1ba73eb
Provide flag to compress the tsdb WAL
5 years ago
Chris Marchbanks 475ca2ecd0
Update to tsdb 0.9.1
5 years ago
Chris Marchbanks 06bdaf076f Remote Write Allocs Improvements (#5614)
5 years ago
Chris Marchbanks a38a54fa11 Split remote write storage into its own type
5 years ago
Thomas Jackson 91d7175eaa Add storage.Warnings to LabelValues and LabelNames (#5673)
6 years ago
Dmitry Shmulevich 0c0638b080 resolve race condition in maxGauge (#5647)
6 years ago
Chris Marchbanks 840872a6f8 Fix remote storage config not updating correctly (#5555)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago