- 20 1月, 2021 1 次提交
-
-
由 beorn7 提交于
Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
- 14 1月, 2021 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 29 12月, 2020 2 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 beorn7 提交于
Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
- 19 11月, 2020 1 次提交
-
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
- 29 10月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
* Testify: move to require Moving testify to require to fail tests early in case of errors. Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu> * More moves Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 22 10月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 15 10月, 2020 1 次提交
-
-
由 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>
-
- 08 10月, 2020 1 次提交
-
-
由 Frederic Branczyk 提交于
Signed-off-by: NFrederic Branczyk <fbranczyk@gmail.com>
-
- 06 10月, 2020 2 次提交
-
-
由 Simon Pasquier 提交于
Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
-
由 Simon Pasquier 提交于
Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
-
- 23 9月, 2020 1 次提交
-
-
由 Daniil Rutskiy 提交于
Signed-off-by: NDaniil Rutskiy <dstdfx@gmail.com>
-
- 19 9月, 2020 1 次提交
-
-
由 Tobias Klauser 提交于
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be used on darwin, see [1]. Instead, use the FcntlFstore libSystem wrapper provided by the golang.org/x/sys/unix package to implement preallocFixed. [1] https://golang.org/doc/go1.12#darwinSigned-off-by: NTobias Klauser <tklauser@distanz.ch>
-
- 15 9月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
* web: Remove APIv2 Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 24 8月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Update dependencies before 2.21 release Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 21 8月, 2020 1 次提交
-
-
由 Lukas Kämmerling 提交于
Signed-off-by: NLukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
-
- 20 8月, 2020 1 次提交
-
-
由 Andy Bursavich 提交于
This also fixes a bug in query_log_file, which now is relative to the config file like all other paths. Signed-off-by: NAndy Bursavich <abursavich@gmail.com>
-
- 05 8月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
* Add support for user-friendly durations Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 27 7月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 21 7月, 2020 2 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 Ganesh Vernekar 提交于
Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
- 11 7月, 2020 1 次提交
-
-
由 beorn7 提交于
Note that by just running `make update-go-deps`, the K8s Go client was set to `k8s.io/client-go v11.0.0+incompatible`. However, that doesn't play well with `k8s.io/apimachinery v0.18.5`. I the manually changed the Go client line to `k8s.io/client-go v0.18.5`, which made everything work. I guess Go Modules got confused by the ginormous v11.0.0 version tag. Or it is a problem that pulling k8s.io/client-go with git results in a rather old repo without the v0.18.5 tag. github.com/kubernetes/client-go has all the right tags. I actually don't understand how Go Modules still correctly figures out the source from the `k8s.io/client-go v0.18.5` line. If one of the reviewers could enlighten me, I'd much appreciate it. Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
- 07 7月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
This PR downgrades the docker dependency to the stable 19.03 branch. It means that we will negociate 1.40 by default and not the uncomplete 1.41 API. It was not possible to use the stable branch before because a patch was pending to build on netbsd and dragonfly: https://github.com/moby/moby/commit/a40b877fbb9ec53925355cf9812fbb14fff925b9Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 03 7月, 2020 1 次提交
-
-
由 yeya24 提交于
Updated prometheus/client_golang and json-iterator/go Signed-off-by: Nyeya24 <yb532204897@gmail.com>
-
- 26 6月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
* Docker Swarm service discovery Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 18 6月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 04 6月, 2020 1 次提交
-
-
由 Ganesh Vernekar 提交于
* Update dependencies Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in> * Update protos Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
-
- 01 6月, 2020 1 次提交
-
-
由 Tariq Ibrahim 提交于
Signed-off-by: NTariq Ibrahim <tariq181290@gmail.com>
-
- 14 5月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Enable HTTP/2. Fixes #5938 Fixes #7237 Add support for "0" duration. Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 08 5月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
This update fixes https://github.com/go-yaml/yaml/issues/575, required by downstream. Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 30 4月, 2020 1 次提交
-
-
由 Hongcai Ren 提交于
* bump github.com/prometheus/client_golang to v1.6.0 Signed-off-by: NRainbowMango <renhongcai@huawei.com>
-
- 24 4月, 2020 2 次提交
-
-
由 Bartlomiej Plotka 提交于
Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Bartlomiej Plotka 提交于
Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
- 23 4月, 2020 3 次提交
-
-
由 Bartlomiej Plotka 提交于
Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Bartlomiej Plotka 提交于
Pinned github.com/googleapis/gnostic as they introduced braking change. Signed-off-by: NBartlomiej Plotka <bwplotka@gmail.com>
-
由 Vasily Sliouniaev 提交于
* Trace remote read Signed-off-by: Nvas <vasily.sliouniaev@jet.com> * Use jaeger Signed-off-by: Nvas <vasily.sliouniaev@jet.com>
-
- 26 3月, 2020 1 次提交
-
-
由 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>
-
- 15 3月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Fixes #6139 Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 09 3月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
- 25 2月, 2020 1 次提交
-
-
由 Julien Pivotto 提交于
Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-