Fabian Reinartz
d109149d17
Merge pull request #186 from prometheus/closeallblocks
...
Ensure readers are closed on setup failure.
2017-10-25 09:31:06 +02:00
Fabian Reinartz
c93162c751
Merge pull request #185 from prometheus/walslice
...
Limit WAL sample processing batch size
2017-10-25 09:30:52 +02:00
Fabian Reinartz
820bd8b170
Merge pull request #181 from prometheus/gcchunk
...
Fix dangling chunk reference panic
2017-10-25 09:30:16 +02:00
Fabian Reinartz
6ecdaa5314
Merge pull request #183 from prometheus/walbrokensegment
...
Truncate segments on broken header
2017-10-25 09:27:44 +02:00
Julius Volz
099df0c5f0
Migrate "golang.org/x/net/context" -> "context" ( #3333 )
...
In some places, where ctxhttp or gRPC are concerned, we still need to use the
old contexts.
2017-10-24 21:21:42 -07:00
Fabian Reinartz
7bc07d80b6
Merge pull request #180 from prometheus/fixbugz
...
Fix race in symbol table re-creation
2017-10-24 11:39:13 +02:00
Takashi Kokubun
bd52950ce8
Fix invalid syntax in graph.css ( #3309 )
2017-10-24 10:48:58 +02:00
Tom Wilkie
4bbef0ec30
Bypass the fanout storage merging if no remote storage is configured.
2017-10-23 21:34:53 +01:00
Fabian Reinartz
a57ea79660
Close index reader properly
2017-10-23 21:59:18 +02:00
Fabian Reinartz
f8e88bfdb7
Close previous block queriers on error
...
This ensures we close all previously opened queriers if on of the block
querier fails to open.
Also swap in new blocks before closing old ones to avoid the situation
in general. Make read locking of blocks more conservative to avoid
unnecessary retries by clients, e.g. when blocks are getting closed
before we can successfully instantiate querier against them.
2017-10-23 21:56:12 +02:00
Fabian Reinartz
9749aa2a3e
head: limit WAL sample processing batch size
2017-10-23 16:22:24 +02:00
Brian Brazil
3a7c51ab70
Remote read endpoint should handle matchers for external labels. ( #3325 )
...
If the other Prometheus has an external label that matches that of
the Prometheus being read from, then we need to remove that matcher
from the request as it's not actually stored in the database - it's
only added for alerts, federation and on the output of the remote read
endpoint.
Instead we check for that label being empty, in case there is a time
series with a different label value for that external label.
2017-10-23 15:12:22 +01:00
Julius Volz
c3d6abc8e6
Fix some lint errors ( #3334 )
...
I left the promql ones and some others untouched as I remember that @fabxc
prefers them that way.
2017-10-23 14:57:30 +01:00
Julius Volz
2846d62573
Fix staticcheck issue in test ( #3331 )
...
staticcheck fails with:
storage/remote/read_test.go:199:27: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
2017-10-23 11:51:48 +01:00
Julius Volz
9d43176ab3
Remove unused printVersion variable ( #3335 )
...
Kingpin now automatically does this via --version.
2017-10-23 08:50:13 +01:00
Julius Volz
82c5b98496
Capitalize Prometheus in startup message ( #3332 )
...
Hey, branding :)
2017-10-23 08:49:28 +01:00
Brian Brazil
4a50f547c8
removeLabels needs a pointer to work. ( #3326 )
2017-10-21 08:29:03 +01:00
Callum Styan
45f9f3c539
use a timeout in the HTTP client used for consul sd ( #3303 )
2017-10-20 16:56:30 +01:00
Krasi Georgiev
55a1311f6a
fix golint nits ( #3291 )
2017-10-20 14:59:53 +01:00
Fabian Reinartz
80055bb95b
Truncate segments on broken header
2017-10-20 13:16:44 +02:00
Fabian Reinartz
9e999e8b0b
Merge pull request #184 from prometheus/metricprefix
...
Prefix all metrics with `prometheus_*`
2017-10-20 13:01:15 +02:00
Fabian Reinartz
d17104f1f0
Prefix all metrics with prometheus_*
2017-10-20 12:32:32 +02:00
Fabian Reinartz
ea817e169b
Return nop iterator for invalid chunk references
2017-10-20 09:43:52 +02:00
Fabian Reinartz
6dcca97755
Fix race in symbol table re-creation
2017-10-20 09:29:03 +02:00
Fabian Reinartz
ebdc0f4a61
Merge pull request #179 from prometheus/tabw
...
Remove GetTabWriter from tsdb package
2017-10-20 08:51:07 +02:00
Fabian Reinartz
e59b7b8ac4
Remove prometheus/prometheus dev-2.0 branch workaround
2017-10-19 18:24:12 +02:00
Fabian Reinartz
6a10761b50
Remove GetTabWriter from tsdb package
2017-10-19 18:14:37 +02:00
Brian Brazil
f6df3b7d57
Bump version for 1.8.1
2017-10-19 16:45:27 +01:00
Brian Brazil
ced935e2d2
Release 1.8.1 ( #3318 )
2017-10-19 15:05:25 +01:00
Björn Rabenstein
be5422a166
Update command line flags in issue template ( #3317 )
2017-10-19 13:59:00 +01:00
Alexander Kazarin
2c163f32a5
fix for issue 2976 ( #3313 )
...
fix for null pointer exception in ZookeeperLogger
2017-10-18 17:02:20 +01:00
Thibault Chataigner
bf4a279a91
Remote storage reads based on oldest timestamp in primary storage ( #3129 )
...
Currently all read queries are simply pushed to remote read clients.
This is fine, except for remote storage for wich it unefficient and
make query slower even if remote read is unnecessary.
So we need instead to compare the oldest timestamp in primary/local
storage with the query range lower boundary. If the oldest timestamp
is older than the mint parameter, then there is no need for remote read.
This is an optionnal behavior per remote read client.
Signed-off-by: Thibault Chataigner <t.chataigner@criteo.com>
2017-10-18 12:08:14 +01:00
Goutham Veeramachaneni
5ab8834bef
Merge pull request #3306 from Gouthamve/rc.1
...
*: release v2.0.0-rc.1
2017-10-17 14:24:42 +02:00
Goutham Veeramachaneni
469629ef08
*: release v2.0.0-rc.1
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-10-17 13:51:07 +02:00
Krasi Georgiev
3697075b8f
validates that the recording name to include only allowed characters. ( #3305 )
2017-10-17 10:22:59 +01:00
Julius Volz
9ef8518b37
Remove "package remote" garbage from license headers ( #3304 )
2017-10-17 02:26:38 +01:00
Julius Volz
5f715f5733
Fix typo in flag description ( #3302 )
2017-10-16 23:00:05 +01:00
Fabian Reinartz
b5851a49e5
Merge pull request #3297 from prometheus/grobie/update-tsdb
...
Update prometheus/tsdb dependency
2017-10-16 21:43:55 +02:00
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.
2017-10-16 18:01:50 +01:00
Tobias Schmidt
721050c6cb
Update prometheus/tsdb dependency
2017-10-16 15:36:25 +02:00
Brian Brazil
c25f7c600b
Apply external labels to remote read endpoint ( #3263 )
...
Fixes #3261
2017-10-16 14:35:47 +01:00
Fabian Reinartz
e948721a0b
Merge pull request #3274 from prometheus/matcher-anchoring
...
Don't add anchoring to exported `Value` matcher field
2017-10-13 07:45:55 +02:00
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.
2017-10-12 23:15:29 +01:00
Tobias Schmidt
3589f2f1d4
Merge pull request #3285 from jlevesy/use-testutils-in-cmd-subpackage
...
Use testutil assertion helpers in cmd package
2017-10-13 00:12:39 +02:00
Tobias Schmidt
7515a6de03
Merge pull request #3269 from alcortesm/issue-3242-config
...
Fix issue 3242 for package config
2017-10-13 00:11:07 +02:00
Alberto Cortés
6c67296423
config: fix error message for unexpected result of yaml marshal
2017-10-12 19:50:07 +02:00
Alberto Cortés
0f3d8ea075
config: use testutil package
2017-10-12 19:50:07 +02:00
Fabian Reinartz
53875da7fb
Merge pull request #3286 from prometheus/dev-2.0
...
Dev 2.0
2017-10-12 16:19:10 +02:00
Fabian Reinartz
7f8fa07cf7
Merge pull request #176 from prometheus/races
...
Races
2017-10-12 15:27:08 +02:00
Fabian Reinartz
efe9509d04
Merge pull request #175 from prometheus/seriesnotfound
...
Clarify postings index semantics, handle staleness
2017-10-12 15:22:44 +02:00