- 24 Oct, 2020 1 commit
-
-
Piper authored
Signed-off-by:
Piper <piperchester@gmail.com>
-
- 23 Oct, 2020 1 commit
-
-
Harkishen Singh authored
Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com>
-
- 22 Oct, 2020 4 commits
-
-
like-inspur authored
* add networking.k8s.io for ingress level=error ts=2020-10-19T08:32:30.544Z caller=klog.go:96 component=k8s_client_runtime func=ErrorDepth msg="github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:494: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: ingresses.networking.k8s.io is forbidden: User \"system:serviceaccount:monitoring:prometheus\" cannot list resource \"ingresses\" in API group \"networking.k8s.io\" at the cluster scope" Signed-off-by:
root <likerj@inspur.com> * Update rbac-setup.yml Signed-off-by:
root <likerj@inspur.com>
-
James Ranson authored
* dynamically determine path prefix Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * minor changes per PR review Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * use Context for apiPath and pathPrefix Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * remove unhandled "/version" path Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * only process index once instead of on every req Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * remove unneeded tag fragment Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * switch api path to const Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * revert Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * update tests Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * linter updates Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * simplify Signed-off-by:
James Ranson <james_ranson@cable.comcast.com> * updates per peer review Signed-off-by:
James Ranson <james_ranson@cable.comcast.com>
-
Victor Araujo authored
When the latest tag is added, also add a tag for the major version when the version tag matches the latest release defined in VERSION. Signed-off-by:
Victor Araujo <vear91@gmail.com>
-
Julien Pivotto authored
Signed-off-by:
Julien Pivotto <roidelapluie@inuits.eu>
-
- 21 Oct, 2020 6 commits
-
-
Arthur Silva Sens authored
* Close resources after failing to startup TSDB Signed-off-by:
arthursens <arthursens2005@gmail.com> * Return close error instead of logging Signed-off-by:
arthursens <arthursens2005@gmail.com> * Change named return's name Signed-off-by:
arthursens <arthursens2005@gmail.com>
-
Brian Brazil authored
This is how much memory we use to load in the on-disk symbol tables, not the size of the tables themselves. Signed-off-by:
Brian Brazil <brian.brazil@robustperception.io>
-
Ganesh Vernekar authored
* Simplify TestHeadReadWriter_Truncate Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix review comments Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
Ganesh Vernekar authored
* Read repair empty file in chunks_head Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Refactor and introduce repairLastChunkFile Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Attempt windows test fix Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix review comments Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix review comments Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
Frederic Branczyk authored
Use absolute jsonnet import paths
-
Ricky Pai authored
Signed-off-by:
Ricky Pai <rickyp999+github@gmail.com>
-
- 20 Oct, 2020 1 commit
-
-
Matthias Loibl authored
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:
Matthias Loibl <mail@matthiasloibl.com>
-
- 19 Oct, 2020 4 commits
-
-
Bartlomiej Plotka authored
* Create a checkpoint only at the end of Compact call Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix review comments Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix Bartek's offline reviews Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Introduce TruncateInMemory and TruncateWAL Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Small enhancements and test fixing attempts Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Fix tests Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Add TestOneCheckpointPerCompactCall Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Don't truncate WAL on block compaction Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> * Simplified the algo. Signed-off-by:
Bartlomiej Plotka <bwplotka@gmail.com> * Better protection around calling truncateWAL, truncate WAL on Head compaction error Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in> Co-authored-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
Ganesh Vernekar authored
Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
Julien Pivotto authored
Signed-off-by:
Julien Pivotto <roidelapluie@inuits.eu>
-
Ganesh Vernekar authored
Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
- 15 Oct, 2020 7 commits
-
-
Julien Pivotto authored
* Remote: Do not collect non-initialized timestamp metrics Signed-off-by:
Julien Pivotto <roidelapluie@inuits.eu>
-
Bartlomiej Plotka authored
* 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:
Bartlomiej Plotka <bwplotka@gmail.com> * Addressed Kemal's comment. Signed-off-by:
Bartlomiej 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:
Bartlomiej Plotka <bwplotka@gmail.com> * Removed old xxhash package. Signed-off-by:
Bartlomiej Plotka <bwplotka@gmail.com> * Pined minor version. Signed-off-by:
Bartlomiej Plotka <bwplotka@gmail.com>
-
Björn Rabenstein authored
documentation/prometheus-mixin: improve PrometheusNotIngestingSamples
-
Simon Pasquier authored
The alert shouldn't fire when there's no target and no rule configured. Signed-off-by:
Simon Pasquier <spasquie@redhat.com>
-
Tobias Schmidt authored
No more need to do anything manually for release docs. Signed-off-by:
Tobias Schmidt <tobidt@gmail.com>
-
Ganesh Vernekar authored
Signed-off-by:
Ganesh Vernekar <cs15btech11018@iith.ac.in>
-
Julien Pivotto authored
* 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:
Julien Pivotto <roidelapluie@inuits.eu>
-
- 14 Oct, 2020 3 commits
-
-
frbimo authored
Signed-off-by:
frbimo <fr.bimo@gmail.com>
-
Gayathri Venkatesh authored
* Modified unknownRefs to unknownRefs.Load() Signed-off-by:
GayathriVenkatesh <gayaa2010@gmail.com> * Modified db.go Signed-off-by:
GayathriVenkatesh <gayaa2010@gmail.com> * Revert "Modified unknownRefs to unknownRefs.Load()" This reverts commit 79caf595fa9b9193878dc0dd9dec17d58851ae42. Signed-off-by:
GayathriVenkatesh <gayaa2010@gmail.com> * Made changes to reload error in db.go Signed-off-by:
GayathriVenkatesh <gayaa2010@gmail.com>
-
Goutham Veeramachaneni authored
Fixes https://github.com/prometheus/prometheus/issues/5547 Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com>
-
- 13 Oct, 2020 2 commits
-
-
Ling Jin authored
Signed-off-by:
JinLingChristopher <jinl1037@hotmail.com>
-
Bartlomiej Plotka authored
Signed-off-by:
Bartlomiej Plotka <bwplotka@gmail.com>
-
- 12 Oct, 2020 5 commits
-
-
Björn Rabenstein authored
Instrumentation: Report valid configs in the respective metrics from the beginning
-
Arthur Silva Sens authored
* promtool tsdb list now prints blocks' size Signed-off-by:
arthursens <arthursens2005@gmail.com>
-
beorn7 authored
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:
beorn7 <beorn@grafana.com>
-
Jess G authored
* add a tsdb writer interface Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * use block writer in tsdbutil block creator Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * pass thru context Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * use block writer in blockutil and also in tests Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * fix link err Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * add err handling for defer Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * add blockwriter test Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * mv initHead into NewBlockWriter, update tests Signed-off-by:
jessicagreben <jessicagrebens@gmail.com> * use blocksize arg, make test more concise Signed-off-by:
jessicagreben <jessicagrebens@gmail.com>
-
Brian Brazil authored
This was already fixed by #8013, but add a test case anyway in case the regexp engine changes in future. Signed-off-by:
Brian Brazil <brian.brazil@robustperception.io>
-
- 08 Oct, 2020 6 commits
-
-
Frederic Branczyk authored
*: Cut v2.22.0-rc.0
-
Frederic Branczyk authored
Signed-off-by:
Frederic Branczyk <fbranczyk@gmail.com>
-
Frederic Branczyk authored
*: Update dependencies
-
Frederic Branczyk authored
Signed-off-by:
Frederic Branczyk <fbranczyk@gmail.com>
-
Frederic Branczyk authored
Signed-off-by:
Frederic Branczyk <fbranczyk@gmail.com>
-
Frederic Branczyk authored
Signed-off-by:
Frederic Branczyk <fbranczyk@gmail.com>
-