- 20 10月, 2020 1 次提交
-
-
由 Matthias Loibl 提交于
This should be the way forward when importing libraries in jsonnet. It's closer to how Go imports look and makes it more obvious where packages live. This is not breaking anything, as the old imports were already symlinks to the now directly used directories. Signed-off-by: NMatthias Loibl <mail@matthiasloibl.com>
-
- 19 10月, 2020 4 次提交
-
-
由 Bartlomiej Plotka 提交于
* Create a checkpoint only at the end of Compact call Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Fix review comments Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Fix Bartek's offline reviews Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Introduce TruncateInMemory and TruncateWAL Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Small enhancements and test fixing attempts Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Fix tests Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Add TestOneCheckpointPerCompactCall Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Don't truncate WAL on block compaction Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Simplified the algo. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Better protection around calling truncateWAL, truncate WAL on Head compaction error Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> Co-authored-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
- 16 10月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
* Remote: Do not collect non-initialized timestamp metrics Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 15 10月, 2020 6 次提交
-
-
由 Bartlomiej Plotka 提交于
* labels: Reduce allocated memory by Hash method in edge cases; Added tests. Old: /tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$ goos: linux goarch: amd64 pkg: github.com/prometheus/prometheus/pkg/labels BenchmarkLabels_Hash BenchmarkLabels_Hash/typical_labels_under_1KB BenchmarkLabels_Hash/typical_labels_under_1KB-12 5366161 259 ns/op 0 B/op 0 allocs/op BenchmarkLabels_Hash/bigger_labels_over_1KB BenchmarkLabels_Hash/bigger_labels_over_1KB-12 1700371 767 ns/op 2048 B/op 1 allocs/op BenchmarkLabels_Hash/extremely_large_label_value_10MB BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 356 3743115 ns/op 10523442 B/op 1 allocs/op PASS New: /tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$ goos: linux goarch: amd64 pkg: github.com/prometheus/prometheus/pkg/labels BenchmarkLabels_Hash BenchmarkLabels_Hash/typical_labels_under_1KB BenchmarkLabels_Hash/typical_labels_under_1KB-12 4758883 259 ns/op 0 B/op 0 allocs/op BenchmarkLabels_Hash/bigger_labels_over_1KB BenchmarkLabels_Hash/bigger_labels_over_1KB-12 3324492 357 ns/op 80 B/op 1 allocs/op BenchmarkLabels_Hash/extremely_large_label_value_10MB BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 1087 1083949 ns/op 9734 B/op 1 allocs/op PASS Process finished with exit code 0 Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Addressed Kemal's comment. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Moved to v2 xxhash for improvements. New: /tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$ -test.benchtime 10s goos: linux goarch: amd64 pkg: github.com/prometheus/prometheus/pkg/labels BenchmarkLabels_Hash BenchmarkLabels_Hash/typical_labels_under_1KB BenchmarkLabels_Hash/typical_labels_under_1KB-12 53447894 221 ns/op 0 B/op 0 allocs/op BenchmarkLabels_Hash/bigger_labels_over_1KB BenchmarkLabels_Hash/bigger_labels_over_1KB-12 42341754 326 ns/op 0 B/op 0 allocs/op BenchmarkLabels_Hash/extremely_large_label_value_10MB BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 10000 1248546 ns/op 0 B/op 0 allocs/op PASS Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Removed old xxhash package. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com> * Pined minor version. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Björn Rabenstein 提交于
documentation/prometheus-mixin: improve PrometheusNotIngestingSamples
-
由 Simon Pasquier 提交于
The alert shouldn't fire when there's no target and no rule configured. Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
-
由 Tobias Schmidt 提交于
No more need to do anything manually for release docs. Signed-off-by: NTobias Schmidt <tobidt@gmail.com>
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
由 Julien Pivotto 提交于
* Mixin: Ignore unset remote write timestamp This pull request ignores the zero value of highest_sent_timestamp_seconds in Highest Timestamp In vs. Highest Timestamp Sent which just show that remote write has not been successful yet. Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 14 10月, 2020 3 次提交
-
-
由 frbimo 提交于
Signed-off-by: Nfrbimo <fr.bimo@gmail.com>
-
由 Gayathri Venkatesh 提交于
* Modified unknownRefs to unknownRefs.Load() Signed-off-by: NGayathriVenkatesh <gayaa2010@gmail.com> * Modified db.go Signed-off-by: NGayathriVenkatesh <gayaa2010@gmail.com> * Revert "Modified unknownRefs to unknownRefs.Load()" This reverts commit 79caf595fa9b9193878dc0dd9dec17d58851ae42. Signed-off-by: NGayathriVenkatesh <gayaa2010@gmail.com> * Made changes to reload error in db.go Signed-off-by: NGayathriVenkatesh <gayaa2010@gmail.com>
-
由 Goutham Veeramachaneni 提交于
Fixes https://github.com/prometheus/prometheus/issues/5547Signed-off-by: NGoutham Veeramachaneni <gouthamve@gmail.com>
-
- 13 10月, 2020 6 次提交
-
-
由 Ling Jin 提交于
Signed-off-by: NJinLingChristopher <jinl1037@hotmail.com>
-
由 Bartlomiej Plotka 提交于
Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Björn Rabenstein 提交于
Instrumentation: Report valid configs in the respective metrics from the beginning
-
由 Arthur Silva Sens 提交于
* promtool tsdb list now prints blocks' size Signed-off-by: Narthursens <arthursens2005@gmail.com>
-
由 beorn7 提交于
In #7399, an early validity check of the config was introduced to prevent the scenario where an invalid config is only detected after a possibly very long startup procedure. However, the respective success metrics are not updated after the initial validation so that the success metrics suggest an invalid config. If the startup procedure, like replaying the WAL, really takes very long, alerts about invalid config will trigger. This commit sets the succes metrics after initial validation. They will be set again after the "real" config (re-)load, but that shouldn't be a problem. The metric now truthfully represents whenever the config was successfully loaded, no matter if the result was then thrown away (because it was just for validation) or actually used. Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
由 Jess G 提交于
* add a tsdb writer interface Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * use block writer in tsdbutil block creator Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * pass thru context Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * use block writer in blockutil and also in tests Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * fix link err Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * add err handling for defer Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * add blockwriter test Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * mv initHead into NewBlockWriter, update tests Signed-off-by: Njessicagreben <jessicagrebens@gmail.com> * use blocksize arg, make test more concise Signed-off-by: Njessicagreben <jessicagrebens@gmail.com>
-
- 12 10月, 2020 1 次提交
-
-
由 Brian Brazil 提交于
This was already fixed by #8013, but add a test case anyway in case the regexp engine changes in future. Signed-off-by: NBrian Brazil <brian.brazil@robustperception.io>
-
- 08 10月, 2020 13 次提交
-
-
由 Frederic Branczyk 提交于
*: Cut v2.22.0-rc.0
-
由 Frederic Branczyk 提交于
Signed-off-by: NFrederic Branczyk <fbranczyk@gmail.com>
-
由 Frederic Branczyk 提交于
*: Update dependencies
-
由 Frederic Branczyk 提交于
Signed-off-by: NFrederic Branczyk <fbranczyk@gmail.com>
-
由 Frederic Branczyk 提交于
Signed-off-by: NFrederic Branczyk <fbranczyk@gmail.com>
-
由 Frederic Branczyk 提交于
Signed-off-by: NFrederic Branczyk <fbranczyk@gmail.com>
-
由 Frederic Branczyk 提交于
Introduce timestamp tolerance in scrapes
-
由 Siddhant Sinha 提交于
Signed-off-by: NSiddhant Sinha <sid.sinha94@gmail.com>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 07 10月, 2020 5 次提交
-
-
由 garanews 提交于
Signed-off-by: Ngaranews <puntogtg@tiscali.it>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Harold Dost 提交于
* Separate tests into: ** Aggregators ** Functions ** Operators ** Selectors * Remove simple files and place tests into other files. * Eliminate some of the _over_time tests since there are already plenty of edge cases present in the functions.test file. Relates to #740 Signed-off-by: NHarold Dost <harolddost@gmail.com>
-
由 Frederic Branczyk 提交于
Bump k8s dependencies + support k8s.io/klog/v2
-