forked from prometheus/prometheus
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from prometheus:master #317
Open
pull
wants to merge
51
commits into
yeya24:master
Choose a base branch
from
prometheus:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If an alert test had a failing test, then any other alert test interval specified after that point would result in the test exiting early. This made debugging some tests more difficult than needed. Now only exit early for evaluation failures. Signed-off-by: David Leadbeater <dgl@dgl.cx>
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Re-introduce fuzzing in pull requests
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
…-explicitly Split queryable and appendable arguments in api_v1.NewAPI.
[fix] service discovery : change var "eps" to "pod
Add a note about deprecating alertmanager in the next release.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
promtool: Add more negative alert tests
Rather than compile it yourself, which doesn't work as shown anymore because of Go Modules. Signed-off-by: beorn7 <beorn@grafana.com>
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>
Recommend to get promtool from a binary distribution.
Signed-off-by: Łukasz Hryniuk <code@hryniuk.pl>
…nfig. Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
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>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com> Signed-off-by: Matteo Valentini <matteo.valentini@nethesis.it>
Add image name meta label to DO service discovery
…a-config Configure retry on Rate-Limiting from remote-write config
Print details of API errors received by promtool
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
zookeeper: change upstream to github.com/go-zookeeper/zk
* 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>
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Tests are failing with go 1.16 at the moment, and by default we test with latest go version. #8403 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Increase block writer size for backfilling
Pin go version for windows to go1.15
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
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>
Release 2.25.0
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>
Merge back release 2.25
promtool: alert_rule_test items require alertname
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
This moves the label lookup into TSDB, whilst still keeping the cached-ref optimisation for repeated Appends. This makes the API easier to consume and implement. In particular this change is motivated by the scrape-time-aggregation work, which I don't think is possible to implement without it as it needs access to label values. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Most of the backwards compat tests is done in common. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Fix DB tests in the default branch
…#8517) * Prevent lexer from seeking to next rune after lexing escape sequence. Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Update common to support credential types
* Add expression explorer Signed-off-by: Lucas Hild <git@lucas-hild.de> * Add final new line to all files Signed-off-by: Lucas Hild <git@lucas-hild.de> * Rename expression to metric Signed-off-by: Lucas Hild <git@lucas-hild.de> * Pass dedicated metrics array to metrics explorer Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix styling of button Signed-off-by: Lucas Hild <git@lucas-hild.de> * Use append instead of prepend Signed-off-by: Lucas Hild <git@lucas-hild.de> * Update max width of modal Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix code style Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix inconsistent variable naming Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix modal title Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix tests Signed-off-by: Lucas Hild <git@lucas-hild.de> * Prevent request from being cached Signed-off-by: Lucas Hild <git@lucas-hild.de> * Remove timestamp from request Signed-off-by: Lucas Hild <git@lucas-hild.de> * Update button selector in test Signed-off-by: Lucas Hild <git@lucas-hild.de> * Refactor passing down metric names and query history Signed-off-by: Lucas Hild <git@lucas-hild.de> * Fix code style Signed-off-by: Lucas Hild <git@lucas-hild.de>
* Add sgn, clamp and last_over_time functions Signed-off-by: schou <pschou@users.noreply.github.com>
promtool: Don't end alert tests early, in some failure situations
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: songjiayang <songjiayang1@gmail.com>
Speed delta without loop to calculate resultValue
Rename default branch to main
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )