Commit Graph

556 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
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
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
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
Anand Sanmukhani f4a1b3cef6
Rename `remote.newReadClient()` to `remote.NewReadClient()` (#7881)
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
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 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 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
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
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
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
Callum Styan 1518083168
Rw testability improvements (#6537)
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
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
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
陈谭军 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
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
Callum Styan 3639d51eb6 Remote Storage: string interner should not panic in release (#5487)
6 years ago
Callum Styan e87449b59d Remote Write: Queue Manager specific metrics shouldn't exist if the queue no longer exists (#5445)
6 years ago
Callum Styan b7538e7b49 Don't stop, recreate, and start remote storage QueueManagers if the (#5485)
6 years ago
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
6 years ago
Vasily Sliouniaev 5be9a1426f Prevent reshard concurrent with calling stop (#5460)
6 years ago
Callum Styan c2b88992a3 Remote Write: fix checkpoint reading (#5429)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Tom Wilkie 807fd33ecc Review feedback.
6 years ago
Callum Styan 1a7923dde3 Add ref counting to string interning so we can remove
6 years ago
Tom Wilkie cbf5f13285 Naive string iterning for labes & values in the remote_write path.
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 1adb91738d fix typo in recordType method of wal_watcher.go (#5297)
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
Callum Styan 512f549064 Refactor: inline decodeRecord in readSegment and don't bother decoding samples records if we're not tailing the segment, add a benchmark test and fix some other tests
6 years ago
Tom Wilkie f795942572 Decrement pending sample when queue exits.
6 years ago
Tom Wilkie ee7efa93fe Fix some tests.
6 years ago
Callum Styan b69bdfb4d1 Store the checkpoint we read last, so that we don't keep reading the same checkpoint on each tick.
6 years ago
Tom Wilkie efbd9559f4 Deal with corruptions in the WAL:
6 years ago
Tom Wilkie adf5307470 Update wal LiveReader to ensure EOF is correctly propagated.
6 years ago
Callum Styan d6258aea8f Fix up remote write tests:
6 years ago
Tom Wilkie 184f06a981 Combine the record decoding metrics into one; break out garbage collection into a separate function.
6 years ago
Tom Wilkie 859cda27ff Remove some 'global' state, moving segment numbers to parameters.
6 years ago
Tom Wilkie bdc6b764b0 If reading the WAL fails, try again. Also, read from the segment containing the index for the last checkpoint, not the first segment.
6 years ago
Tom Wilkie d6f911b511 Factor out logging ratelimit & dedupe middleware.
6 years ago
Tom Wilkie a5c20642b3 Refactor WAL watcher to remove some duplication.
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
Simon Pasquier b41d6d54f2
storage/remote: increase timeouts for Travis CI (#5224)
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
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Callum Styan 5358f76c5c update remote write path proto so that Labels/Timeseries can't be nil (#4957)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Tom Wilkie 6e08029b56
Move err to be the last return value from storage.Select. (#5054)
6 years ago
AixesHunter 806632790e update inconsistent comment (#5046)
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
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Daniele Sluijters f25a6baedb remote: Set User-Agent header in requests (#4891)
6 years ago
Simon Pasquier ed19373a78
*: remove use of golang.org/x/net/context (#4869)
6 years ago
Ganesh Vernekar ca93fd544b /api/v1/labels endpoint for getting all label names (#4835)
6 years ago
fengyuceNv 94fff219ab improve remote storage enqueue performance (#4772)
6 years ago
Tariq Ibrahim 3f7ed7de49 Adding new metric type to track in-flight remote read queries. (#4677)
6 years ago
Tom Wilkie d3a1ff1abf
Reduce memory usage of remote read by reducing pointer usage. (#4655)
6 years ago
Tom Wilkie 457e4bb58e
Limit the number of samples remote read can return. (#4532)
6 years ago
Daisy T 7d01ead689 change time.duration to model.duration for standardization (#4479)
6 years ago
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
Henri DF ffb7836c14 Send "Accept-Encoding" header in read request (#4421)
6 years ago
Henri DF 3abb2cc349 Fix typo (#4423)
6 years ago
Goutham Veeramachaneni c28cc5076c Saner defaults and metrics for remote-write (#4279)
6 years ago
Thomas Jackson 92c6f0c92e Add offset to selectParams (#4226)
6 years ago
Tom Wilkie 0b189b2da9 Review feedback.
7 years ago
Corentin Chary 530107f8ef federation: nil pointer deference when using remove read
7 years ago
Andreas Auernhammer 37d1bcf495 limit size of POST requests against remote read endpoint (#4239)
7 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
Henri DF 2952387ed1 Pass query hints down into remote read query proto (#4122)
7 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077)
7 years ago
Mario Trangoni 464e747f1e fix some comments typos (#4059)
7 years ago
Tom Wilkie dc860e7d0e Fix nit.
7 years ago
Tom Wilkie 390b018c90 Test sample timeout delivery.
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
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Tom Wilkie a730083cbf
Merge pull request #3731 from bboreham/reuse-timer
7 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape
7 years ago
Bryan Boreham 8a4535e6ad Re-use timer instead of creating new ones on every sample
7 years ago
Tom Wilkie f2c5399e39
Merge pull request #3561 from twiedenbein/master
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
Tom Wiedenbein 937ac8c060
fixed bug with initialization of queueconfig
7 years ago
Fabian Reinartz 83cd270ea4 *: adapt to storage interface changes
7 years ago
Tobias Schmidt 7098c56474 Add remote read filter option
7 years ago
Tobias Schmidt 434f0374f7 Refactor remote storage querier handling
7 years ago
Julius Volz 9f10c63cff
Fix remote read labelset corruption (#3456)
7 years ago
Krasi Georgiev 5d8f93a22a now using only github.com/gogo/protobuf
7 years ago
Tom Wilkie 1af3ef431d s/TestRemoveLabels/TestSeriesSetFilter/
7 years ago
Tom Wilkie 9c3c98e8de Revert "Port 'Don't disable HTTP keep-alives for remote storage connections.' to 2.0 (see #3173)"
7 years ago
Tom Wilkie 746752b946 Merge external labels in order.
7 years ago
Tom Wilkie 6e4d4ea402 Initialise some counters in remote storage API.
7 years ago
Tom Wilkie 2ae04d0e79 Add license header.
7 years ago
Tom Wilkie e8c264e47a Add comment.
7 years ago
Tom Wilkie ee011d906d Port remote read server to 2.0.
7 years ago
Bryan Boreham 0997191b18 Port 'Don't disable HTTP keep-alives for remote storage connections.' to 2.0 (see #3173)
7 years ago
Tom Wilkie 56820726fa Move a couple of the encoding/decoding functions into codec.go
7 years ago
Conor Broderick 08b7328669 Port Metric name validation to 2.0 (see #2975)
7 years ago
Tom Wilkie 8fe0212ff7 Port 'Make queue manager configurable.' to 2.0, see #2991
7 years ago
Tom Wilkie 3760f56c0c remote: Expose ClientConfig type (see #3165)
7 years ago
Tom Wilkie 16f71a7723 Port codec.go over form 1.8 branch.
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Julius Volz 2846d62573 Fix staticcheck issue in test (#3331)
7 years ago
Brian Brazil 4a50f547c8 removeLabels needs a pointer to work. (#3326)
7 years ago
Thibault Chataigner bf4a279a91 Remote storage reads based on oldest timestamp in primary storage (#3129)
7 years ago
Julius Volz 9ef8518b37 Remove "package remote" garbage from license headers (#3304)
7 years ago
Brian Brazil 73dc96e7f5 Fix leak of ticker in remote storage queue manager.
7 years ago
Brian Brazil ee88f0d222 Ensure all values are used or _
7 years ago
Brian Brazil 37ec2d5283 Fix off by one error in concreteSeriesSet (#3262)
7 years ago
Marc Sluiter 6a633eece1 Added go-conntrack for monitoring http connections (#3241)
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Fabian Reinartz 0efecea6d4 Adapt storage APIs to uint64 references
7 years ago
Tom Wilkie b11bc8ae24 Fix some comments.
7 years ago
Tom Wilkie ec999ff397 Prevent number of remote write shards from going negative.
7 years ago
Tom Wilkie a09acdcc5b Make concreteSeriersIterator behave.
7 years ago
Tom Wilkie b568ace7ce Move protos to ./prompb
7 years ago
Tom Wilkie db8128ceeb Add label set as first parameter to AddFast, ingored by TSDB adapter.
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
Julius Volz 5a896033e3 Add remote read external label handling (#2555)
8 years ago
Julius Volz 3f23aa2cc7 Add headers to indicate remote read/write version
8 years ago
Julius Volz 94acd3f1d8 Add fanin tests and fix uncovered bugs
8 years ago
Julius Volz 9b33cfc457 Fix/unify context-based remote storage timeouts
8 years ago
Julius Volz 815762a4ad Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig
8 years ago
Julius Volz eb14678a25 Make remote read/write use config.HTTPClientConfig
8 years ago
Julius Volz 406b65d0dc Rename remote.Storage to remote.Writer
8 years ago
Julius Volz 02395a224d [WIP] Remote Read
8 years ago
Tom Wilkie 75bb0f3253 Review feedback
8 years ago
Tom Wilkie 77cce900b8 Fix tests
8 years ago
Tom Wilkie b48799a01e Add license stanza
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
Julius Volz beb3c4b389 Remove legacy remote storage implementations
8 years ago
Brian Brazil 1b8a474612 Don't clone the metric if there's no remote writes.
8 years ago
Julius Volz c7932aa009 Remove gRPC leftovers in protobuf definitions
8 years ago
Brian Brazil 77605649a9 Add support for remote write relabelling.
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
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 8f3b62bfe4 Simplify struct initialization
8 years ago
Fabian Reinartz 7bd7e63f97 storage: fix struct alignment issue in test
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 aa3f2b7216 Generic write cleanups and changes.
8 years ago
Brian Brazil 36d2c4bd0b Add generic write path using grpc.
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
Dmitry Vorobev 273e457da4 web: return status code and error message for config resource
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
Dmitry Savintsev 7fdb62c253 fix several minor golint style issues
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
Julius Volz d3b53bd7f0 Fix comment about Graphite mapping of dimensions.
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
Corentin Chary 7b6c3e556c Use '.' instead of '=' to separate labels from their values in Graphite
9 years ago
Corentin Chary a2e4439086 Add support for remote storage on Graphite
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
Fabian Reinartz 8fa719f778 Attach global labels to remote storage samples
9 years ago
Julius Volz 963ad82dcb Fix "go vet" errors.
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
Will Rouesnel 7810448dbe Add proxy_url parameter to allow specifying per-job HTTP proxy servers
9 years ago
Fabian Reinartz 23e77450ff main: cleanup initialization of remote storage.
10 years ago
Fabian Reinartz b105e26f4d storage: remove global flags
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz dfaf31a1da Move web/httputils to pkg/httputil and add DeadlineClient to it
10 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