- 09 4月, 2020 1 次提交
-
-
由 Callum Styan 提交于
Signed-off-by: NCallum Styan <callumstyan@gmail.com>
-
- 08 4月, 2020 1 次提交
-
-
由 ga 提交于
Signed-off-by: NGaurav Singh <gaurav1086@gmail.com>
-
- 07 4月, 2020 5 次提交
-
-
由 Ben Ye 提交于
Signed-off-by: Nyeya24 <yb532204897@gmail.com>
-
由 Frederic Branczyk 提交于
remove deprecated methods from the MetricProvider interface
-
由 Muhammad Falak R Wani 提交于
* rules: manager: clarify doc string for NewGroupMetrics Signed-off-by: NMuhammad Falak R Wani <falakreyaz@gmail.com>
-
由 Brian Brazil 提交于
Previously we were keeping up to around 6 hours of WAL around by removing 1/3 every hours. This was excessive, so switch to removing 2/3 which will up to around 3 hours of WAL around. This will roughly halve the size of the WAL and halve startup time for those who are I/O bound. This may increase the checkpoint size for those with certain churn patterns, but by much less than we're saving from the segments. Signed-off-by: NBrian Brazil <brian.brazil@robustperception.io>
-
由 Tariq Ibrahim 提交于
Signed-off-by: NTariq Ibrahim <tariq181290@gmail.com>
-
- 06 4月, 2020 2 次提交
-
-
由 Brad Walker 提交于
* tsdb: Replace fileutil.ReadDir with ioutil.ReadDir (#7029) Signed-off-by: NBrad Walker <brad@bradmwalker.com> * tsdb: Remove fileutil.ReadDir (#7029) Signed-off-by: NBrad Walker <brad@bradmwalker.com>
-
由 Julian Taylor 提交于
Closes gh-7080 Signed-off-by: NJulian Taylor <juliantaylor108@gmail.com>
-
- 01 4月, 2020 2 次提交
-
-
由 Chris Marchbanks 提交于
https://github.com/facebook/create-react-app/issues/8689 is causing our tests to fail in the CI pipeline. As the comments suggest, downgrading to react-scripts 3.4.0 fixes the problem. In addition, fix a test warning due to a missing id field. Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
- 30 3月, 2020 2 次提交
-
-
由 MengZeLee 提交于
Fix typo. Signed-off-by: NMengZn <adnt587@gmail.com>
-
由 Brian Brazil 提交于
time.Unix attaches the local timezone, which can then leak out (e.g. in the alert json). While this is harmless, we should be consistent. Signed-off-by: NBrian Brazil <brian.brazil@robustperception.io>
-
- 29 3月, 2020 1 次提交
-
-
由 Deepjyoti Mondal 提交于
This PR adds architecture meta labels for EC2 instances Signed-off-by: NDeepjyoti Mondal <djmdeveloper060796@gmail.com>
-
- 28 3月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
scrape/target_test.go: remove deprecated function BuildNameToCertificate()
-
- 27 3月, 2020 2 次提交
-
-
由 Julien Pivotto 提交于
Release 2.17
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 26 3月, 2020 8 次提交
-
-
由 Julien Pivotto 提交于
Revert head posting optimization
-
由 Bartlomiej Plotka 提交于
## Example: ``` exp: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e160), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e180), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e1a0), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e1c0), MinTime:24, MaxTime:6}} got: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e280), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e2a0), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e220), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e240), MinTime:6, MaxTime:6}} ``` Now: ``` exp: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e740), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e760), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e780), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e7a0), MinTime:24, MaxTime:6}} got: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e800), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e820), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e860), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e880), MinTime:6, MaxTime:6}} Diff: --- Expected +++ Actual @@ -50,3 +50,3 @@ }), - MinTime: (int64) 24, + MinTime: (int64) 6, MaxTime: (int64) 6 ``` Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Callum Styan 提交于
* Separate scrape add error checking out into it's own function. Signed-off-by: NCallum Styan <callumstyan@gmail.com> * pass sampleLimitError to checkAddError instead of returning an error Signed-off-by: NCallum Styan <callumstyan@gmail.com> * Return bool, error from checkAddError so we can properly handle ErrNotFound for AddFast. This should in theory never happen, but the previous code path handled this case. Adds a test for this, which master passes and the previous commit fails. Signed-off-by: NCallum Styan <callumstyan@gmail.com> * Address comment changes. Signed-off-by: NCallum Styan <callumstyan@gmail.com> * Move sampleAdded inside the loop iteration within append, since that's the only block the variable is used in. Signed-off-by: NCallum Styan <callumstyan@gmail.com>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
This reverts commit 52630ad0. Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Bartlomiej Plotka 提交于
👋 I am happy to do next release. This is because we spent a lot time recent weeks in query optimizations on Prometheus, Thanos, and Cortex, so 2.18 release might have significant changes like: * Chunk Iterators finally❤ * @pstibrany and @pracucci major optimizations to postings * Potentially https://github.com/prometheus/prometheus/issues/6878 with @mkabischev help. I know I was a release Shephard just in December, but given that I have full context for those I feel like I can help in releasing 2.18 a lot. -
由 Callum Styan 提交于
Signed-off-by: NCallum Styan <callumstyan@gmail.com>
-
- 25 3月, 2020 3 次提交
-
-
由 Julien Pivotto 提交于
Backport Release 2.17.0 into master
-
由 Bartlomiej Plotka 提交于
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005) * storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. ## Rationales: In many places (e.g. chunk Remote read, Thanos Receive fetching chunk from TSDB), we operate on encoded chunks not samples. This means that we unnecessary decode/encode, wasting CPU, time and memory. This PR adds chunk iterator interfaces and makes the merge code to be reused between both seriesSets I will make the use of it in following PR inside tsdb itself. For now fanout implements it and mergers. All merges now also allows passing series mergers. This opens doors for custom deduplications other than TSDB vertical ones (e.g. offline one we have in Thanos). ## Changes * Added Chunk versions of all iterating methods. It all starts in Querier/ChunkQuerier. The plan is that Storage will implement both chunked and samples. * Added Seek to chunks.Iterator interface for iterating over chunks. * NewMergeChunkQuerier was added; Both this and NewMergeQuerier are now using generigMergeQuerier to share the code. Generic code was added. * Improved tests. * Added some TODO for further simplifications in next PRs. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Addressed Brian's comments. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Moved s/Labeled/SeriesLabels as per Krasi suggestion. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Addressed Krasi's comments. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Second iteration of Krasi comments. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Another round of comments. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 24 3月, 2020 2 次提交
-
-
由 Ben Kochie 提交于
Enable golint in CI
-
由 Ben Kochie 提交于
Signed-off-by: NBen Kochie <superq@gmail.com>
-
- 23 3月, 2020 5 次提交
-
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
由 Ben Kochie 提交于
Enable the golint module in golangci-lint. Fixes: https://github.com/prometheus/prometheus/issues/4125Signed-off-by: NBen Kochie <superq@gmail.com>
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
由 zhulongcheng 提交于
Signed-off-by: Nzhulongcheng <zhulongcheng.dev@gmail.com>
-
由 Ben Kochie 提交于
Fix security warnings. Signed-off-by: NBen Kochie <superq@gmail.com>
-
- 22 3月, 2020 3 次提交
-
-
由 zhulongcheng 提交于
Signed-off-by: Nzhulongcheng <zhulongcheng.dev@gmail.com>
-
由 Julien Pivotto 提交于
Merge release 2.17 into master
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 21 3月, 2020 2 次提交
-
-
由 Bartlomiej Plotka 提交于
Backport #6971 to release-2.17
-
由 johncming 提交于
Signed-off-by: Njohncming <johncming@yahoo.com>
-