Raphael Bauduin
a7d64cad21
promtool: alert_rule_test items require alertname
...
Accepting alert_rule_test without alertname is confusing as it will
always pass with empty exp_alerts, and never with non-empty exp_alerts.
Signed-off-by: Raphael Bauduin <raphael.bauduin@tessares.net>
2021-02-17 16:23:12 +01:00
Julien Pivotto
a6be548dbc
Merge pull request #8506 from roidelapluie/release-225-final
...
Release 2.25.0
2021-02-17 15:12:58 +01:00
Chris Marchbanks
bedcd88343
Compress records before checking segment size ( #8501 )
...
Right now a new segment might be created unnecessarily if the
uncompressed record would not fit, but after compression (typically
reducing record size in half) it would.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2021-02-17 18:45:49 +05:30
Julien Pivotto
c2410d4147
docs: fix typo in disabled feature link
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-17 12:49:09 +01:00
Julien Pivotto
f3e7921595
Release 2.25.0
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-17 12:04:12 +01:00
Julien Pivotto
f0ae5f1584
Merge pull request #8505 from roidelapluie/go115-relase-225
...
Pin go version for windows to go1.15
2021-02-17 11:59:49 +01:00
Julien Pivotto
f1208bb7ea
Merge pull request #8496 from codesome/fix-8476
...
Increase block writer size for backfilling
2021-02-17 11:56:40 +01:00
Julien Pivotto
bdf7759eeb
Pin go version for windows to go1.15
...
Tests are failing with go 1.16 at the moment, and by default we test
with latest go version.
https://github.com/prometheus/prometheus/issues/8403
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-17 11:50:19 +01:00
Ganesh Vernekar
c4536fa28c
Increase block writer size for backfilling
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-02-17 15:45:41 +05:30
Arthur Silva Sens
6a3d55db0a
Rolling tombstones clean up ( #8007 )
...
* CleanupTombstones refactored, now reloading blocks after every compaction.
The goal is to remove deletable blocks after every compaction and, thus, decrease disk space used when cleaning tombstones.
Signed-off-by: arthursens <arthursens2005@gmail.com>
* Protect DB against parallel reloads
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
* Fix typos
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-02-17 11:02:43 +05:30
Julien Pivotto
9b85ed7056
Merge pull request #7564 from roidelapluie/zookeeper
...
zookeeper: change upstream to github.com/go-zookeeper/zk
2021-02-16 23:13:25 +01:00
Julien Pivotto
120a84da5d
zookeeper: change upstream to github.com/go-zookeeper/zk
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-16 22:58:11 +01:00
Julien Pivotto
a419b75abd
Merge pull request #8485 from hryniuk/promtool-query-errors-details
...
Print details of API errors received by promtool
2021-02-16 22:47:08 +01:00
Julien Pivotto
5f92a82ca7
Merge pull request #8477 from Harkishen-Singh/configure-rate-limit-via-config
...
Configure retry on Rate-Limiting from remote-write config
2021-02-16 20:11:52 +01:00
Julien Pivotto
2ac80298e8
Merge pull request #8497 from Amygos/master
...
Add image name meta label to DO service discovery
2021-02-16 12:24:08 +01:00
Matteo Valentini
5628ed3c34
Update docs/configuration/configuration.md
...
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
Signed-off-by: Matteo Valentini <matteo.valentini@nethesis.it>
2021-02-16 11:23:55 +01:00
Matteo Valentini
44b78ef318
Add image name meta label to DO service discovery
...
The label `__meta_digitalocean_image` expose the `slug` of the image and
the `slug` is only present in the public images.
To refer a user-generated image (`snapshot` or `custom`) we can use
the image's display name.
See: https://developers.digitalocean.com/documentation/v2/#images
Signed-off-by: Matteo Valentini <matteo.valentini@nethesis.it>
2021-02-16 11:05:14 +01:00
Harkishen-Singh
77c20fd2f8
Adds support to configure retry on Rate-Limiting from remote-write config.
...
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
2021-02-16 14:52:49 +05:30
Łukasz Hryniuk
ab41de68b4
Print details of API errors
...
Signed-off-by: Łukasz Hryniuk <code@hryniuk.pl>
2021-02-15 23:42:06 +01:00
Julien Pivotto
6393b48929
Merge pull request #8493 from prometheus/beorn7/doc
...
Recommend to get promtool from a binary distribution.
2021-02-15 22:21:09 +01:00
beorn7
00cf59829d
Recommend to get promtool from a binary distribution.
...
Rather than compile it yourself, which doesn't work as shown anymore
because of Go Modules.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-02-15 22:18:21 +01:00
Julien Pivotto
eae197c610
Merge pull request #8491 from prometheus/beorn7/doc
...
Recommend to get promtool from a binary distribution.
2021-02-15 22:06:05 +01:00
beorn7
ae900a117f
Recommend to get promtool from a binary distribution.
...
Rather than compile it yourself, which doesn't work as shown anymore
because of Go Modules.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-02-15 21:59:32 +01:00
Julien Pivotto
adcc5b50f7
Merge pull request #8490 from dgl/add-negative-tests
...
promtool: Add more negative alert tests
2021-02-15 19:55:49 +01:00
David Leadbeater
3e30f72af1
promtool: Add more negative alert tests
...
Signed-off-by: David Leadbeater <dgl@dgl.cx>
2021-02-15 17:00:49 +00:00
Julien Pivotto
10156762eb
Merge pull request #8484 from roidelapluie/add-note-am-api-v2
...
Add a note about deprecating alertmanager in the next release.
2021-02-15 16:38:38 +01:00
Frederic Branczyk
8b215fe907
Merge pull request #8470 from liguozhong/service_discovery_k8s
...
[fix] service discovery : change var "eps" to "pod
2021-02-15 14:58:15 +01:00
Julien Pivotto
6f488061df
Merge pull request #8488 from pstibrany/pass-queryable-and-appendable-explicitly
...
Split queryable and appendable arguments in api_v1.NewAPI.
2021-02-15 13:11:30 +01:00
Peter Štibraný
a2e5ad6174
Split queryable and appendable arguments in api_v1.NewAPI.
...
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
2021-02-15 12:30:00 +01:00
Julien Pivotto
4fca1b9f5d
Merge pull request #8483 from roidelapluie/re-introduce-fuzzing
...
Re-introduce fuzzing in pull requests
2021-02-14 10:07:25 +01:00
Julien Pivotto
276c1b21d8
Add a note about deprecating alertmanager in the next release.
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-13 22:49:17 +01:00
Julien Pivotto
718df82e09
Update azure to test pull request fuzzing
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-13 22:23:50 +01:00
Julien Pivotto
bc87f37830
Re-introduce fuzzing in pull requests
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-13 22:23:46 +01:00
Julien Pivotto
b987dcc3b1
Merge pull request #8482 from roidelapluie/merge-back-2.25-rc0
...
Merge back 2.25 rc0
2021-02-13 00:00:40 +01:00
Julien Pivotto
93dcc3c7be
Consider status code 429 as recoverable errors to avoid resharding ( #8237 )
...
This reverts commit 49a8ce5239
.
This commit is necessary since we only wanted to not have the
functionality in 2.25. It will be improved soon on the main branch.
Co-authored-by: Harkishen-Singh <harkishensingh@hotmail.com>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-12 23:38:46 +01:00
Julien Pivotto
526095f9fa
Merge pull request #8479 from roidelapluie/initiate-release-225
...
release 2.25.0-rc.0
2021-02-12 19:57:55 +01:00
Julien Pivotto
6035fe3b8c
Merge pull request #8463 from prometheus/build-docker-on-a-mac
...
Add instructions for building docker image locally to README.md
2021-02-12 16:24:19 +01:00
Julien Pivotto
2a9e05b777
Release 2.25.0-rc.0
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-12 16:12:33 +01:00
Tom Wilkie
74e0614b5c
Add instructions for building docker image locally to README.md
...
Fixes #8442
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2021-02-12 13:47:41 +00:00
Julius Volz
e98e625649
Add names and email addresses to MAINTAINERS.md ( #8473 )
...
* Add names and email addresses to MAINTAINERS.md
This is so people can more easily reach the right people (e.g. for security
reports), and because we do it like this in other repos.
I did add parentheses to the formatting (different than in other
MAINTAINERS.md) to make it more readable, this this repo is more complex.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Update Björn's email address
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-02-12 14:03:47 +01:00
Julien Pivotto
49a8ce5239
Revert "Consider status code 429 as recoverable errors to avoid resharding ( #8237 )"
...
This reverts commit cd412470d7
.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-12 09:44:06 +01:00
Julien Pivotto
8f6c5e8cb0
Merge pull request #8471 from prometheus/superq/yarn_yarn_yarn
...
Update web UI package.json
2021-02-12 09:41:02 +01:00
Ben Kochie
f8779137d0
Update web UI package.json
...
Update several NPM version pinnings.
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-02-11 15:51:56 +01:00
Julien Pivotto
cdc71a1c2a
Merge pull request #8460 from roidelapluie/update-vendor-for-2-25
...
Update vendoring for 2.25 release
2021-02-11 15:50:21 +01:00
Julien Pivotto
90a8cb263e
Update dependencies
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-11 11:53:33 +01:00
Julien Pivotto
b5edda7cc5
Disable fuzzing
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-11 11:53:33 +01:00
Ben Kochie
000d7edec9
Remove inline Go vendor dir
...
Remove the inline Go vendoring per Prometheus 2020 Dev Summit[0].
[0]: https://docs.google.com/document/d/1yuaPKLDvhJNXMF1ubsOOm5kE2_6dvCxHowBQIDs0KdU/edit
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-11 11:53:22 +01:00
Harkishen Singh
cd412470d7
Consider status code 429 as recoverable errors to avoid resharding ( #8237 )
...
* Consider status code 429 as recoverable errors to avoid resharding.
* Adds support for Retry-After in backoff logic in remote storage.
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
2021-02-10 15:25:37 -07:00
Julien Pivotto
b61d7b3b69
Update javascript dependencies ( #8465 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-10 18:00:20 +01:00
Taishi Matsumoto
89e9632a34
Increase golint timeout 1m -> 2m ( #8469 )
...
* Increase golint timeout 1m -> 2m
Signed-off-by: w1mvy <w1mvypine@gmail.com>
2021-02-10 14:02:26 +01:00