Goutham Veeramachaneni
469629ef08
*: release v2.0.0-rc.1
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
7 years ago
Krasi Georgiev
3697075b8f
validates that the recording name to include only allowed characters. ( #3305 )
7 years ago
Julius Volz
9ef8518b37
Remove "package remote" garbage from license headers ( #3304 )
7 years ago
Julius Volz
5f715f5733
Fix typo in flag description ( #3302 )
7 years ago
Fabian Reinartz
b5851a49e5
Merge pull request #3297 from prometheus/grobie/update-tsdb
...
Update prometheus/tsdb dependency
7 years ago
pasquier-s
88e4815bb7
Get OpenStack variables from env as fallback ( #3293 )
...
This change enables the OpenStack service discovery to read the
authentication parameters from the OS_* environment variables when the
identity endpoint URL is not defined in the Prometheus configuration
file.
7 years ago
Tobias Schmidt
721050c6cb
Update prometheus/tsdb dependency
7 years ago
Fabian Reinartz
e948721a0b
Merge pull request #3274 from prometheus/matcher-anchoring
...
Don't add anchoring to exported `Value` matcher field
7 years ago
Bjørn Erik Pedersen
b276ef1c91
Fix "go get" in README ( #3288 )
...
You start by saying that you need >= Go 1.8, then you say you need the Go 1.5 flag `GO15VENDOREXPERIMENT`, which was made default in Go 1.6.
7 years ago
Tobias Schmidt
3589f2f1d4
Merge pull request #3285 from jlevesy/use-testutils-in-cmd-subpackage
...
Use testutil assertion helpers in cmd package
7 years ago
Tobias Schmidt
7515a6de03
Merge pull request #3269 from alcortesm/issue-3242-config
...
Fix issue 3242 for package config
7 years ago
Alberto Cortés
6c67296423
config: fix error message for unexpected result of yaml marshal
7 years ago
Alberto Cortés
0f3d8ea075
config: use testutil package
7 years ago
Fabian Reinartz
53875da7fb
Merge pull request #3286 from prometheus/dev-2.0
...
Dev 2.0
7 years ago
Julien Levesy
d7b4fa8d78
use testutil assertions in the cmd/prometheus package
7 years ago
Julien Levesy
8c1b9e45cf
add a NotOk helper method in the testing package
7 years ago
BasPH
a91d3bcb83
Add UI warning for time drift >30 seconds ( #3276 )
...
* Add UI warning for time drift >30 seconds
* Yellow time drift warning & better warning message
* Set warning threshold to 30 sec
* Include changed assets
7 years ago
Julius Volz
5da0fd91db
Add label matcher tests
7 years ago
Julius Volz
33c1171b9c
Don't add anchoring to exported `Value` matcher field
...
Instead, just make the anchoring part of the internal regex. This helps because
some users will want to read back the `Value` field and expect it to be the
same as the input value (e.g. some tests in Cortex), or use the value in
another context which is already expected to add its own anchoring, leading to
superfluous double anchoring (such as when we translate matchers into remote
read request matchers).
7 years ago
Fabian Reinartz
269b5cf936
Merge pull request #3245 from jlevesy/use-require-web
...
Imports benbjohnson/testing and use it in web package
7 years ago
Fabian Reinartz
ea879df6aa
Merge pull request #3265 from mathieui/better-cmdline-errors
...
Provide better errors messages in commandline
7 years ago
Brian Brazil
73dc96e7f5
Fix leak of ticker in remote storage queue manager.
7 years ago
Brian Brazil
5ee07b3b3a
Update staticcheck ignores
...
Remove things that now longer apply, ignore new things
that are acceptable.
7 years ago
Brian Brazil
cc5499fcad
Only close after checking for err.
7 years ago
Brian Brazil
7158675aa8
Add back continue.
...
Accidentally removed in
15a931dbdb
7 years ago
Brian Brazil
1545842704
TrimPrefix removes a prefix, TrimLeft removes chars
7 years ago
Brian Brazil
ee88f0d222
Ensure all values are used or _
7 years ago
Brian Brazil
8740fcc657
Use panic in goroutine in test, not t.Fatalf
7 years ago
Mathieu Pasquet
38afa507bb
Provide better errors messages in commandline
...
Instead or only printing the help message, which is not always helpful.
For example, when upgrading from prometheus v1, the retention time value
format has changed and now only accepts one unit (e.g. "15d") where it
previously allowed more complex strings (e.g. "360h0m0s").
This commit provides the error message as an explanation for the parsing
failure.
7 years ago
Brian Brazil
37ec2d5283
Fix off by one error in concreteSeriesSet ( #3262 )
7 years ago
Fabian Reinartz
abf7c975c9
Merge branch 'master' into dev-2.0
7 years ago
Björn Rabenstein
3569eef8b1
Merge pull request #3260 from prometheus/beorn7/release
...
Cut v1.8.0
7 years ago
beorn7
5829e4880d
Cut v1.8.0
7 years ago
Björn Rabenstein
6bfc8f094c
Merge pull request #3259 from prometheus/beorn7/web
...
Only respond to API requests once the server is ready
7 years ago
beorn7
f20e6a0ae4
Only respond to API requests once the server is ready
7 years ago
Björn Rabenstein
5fad671af9
Merge pull request #3257 from prometheus/beorn7/storage2
...
Avoid blocking in the logThrottling loop
7 years ago
beorn7
2fad91d25a
Avoid blocking in the logThrottling loop
...
The timer semantics is really hard. The simple pattern as given in the
godoc for the time package assumes we are not elsewhere consuming from
the timer's channel. However, exactly that can happen here with the
right sequence of events. Thus, we have to drain the channel only if
it has something to drain.
7 years ago
Björn Rabenstein
a5412cfc59
Merge pull request #3252 from LK4D4/proper_reset
...
[storage/local] fix timer.Reset usage
7 years ago
Jack Neely
128b31d058
Log failure to send NaN values to remote store as Debug ( #3235 )
...
This was a warning and can be a frequent occurrence. Let's not fill up
logs unless we are asked to.
7 years ago
Marc Sluiter
6a633eece1
Added go-conntrack for monitoring http connections ( #3241 )
...
Added metrics for in- and outgoing traffic with go-conntrack.
7 years ago
Alexander Morozov
7e814ada72
[storage/local] fix timer.Reset usage
...
According to https://golang.org/pkg/time/#Timer.Reset you must not rely
on a returned value from Reset.
Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
7 years ago
Julien Levesy
26a067b23d
use testutil assertion helpers in web package testsuite
7 years ago
Julien Levesy
332910d02d
import assertion helpers in testutil
7 years ago
Goutham Veeramachaneni
012e52e3f9
Merge pull request #3248 from Gouthamve/release-rc1
...
*: release v2.0.0-rc.0
7 years ago
Goutham Veeramachaneni
7779d34877
*: release v2.0.0-rc.0
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
7 years ago
Fabian Reinartz
748d392a7a
vendor: remove unused dependencies
7 years ago
Fabian Reinartz
f52248269e
vendor: update prometheus/tsdb
7 years ago
Fabian Reinartz
7a3261aa99
Merge pull request #3240 from Gouthamve/fix-admin-api
...
web/api: Fix typo which broke the 2.0 admin APIs.
7 years ago
Fabian Reinartz
46dc7e356a
Merge pull request #3243 from prometheus/mergemaster
...
Merge master into dev-2.0
7 years ago
Brian Brazil
99905f82a6
Remove keep_common modifier.
...
See #3060
7 years ago