Keenan Romain
55f3a9fe4a
Allows globs for rules when unit testing ( #5595 )
...
* Includes glob support when unit testing rule_files.
Signed-off-by: Keenan Romain <Keenan.Romain@mailchimp.com>
2019-06-12 11:31:07 +01:00
Björn Rabenstein
a0e8d0d98d
Merge pull request #5653 from prometheus/beorn7/client_golang
...
Add objectives to Summaries
2019-06-12 11:46:47 +02:00
beorn7
dd81912554
Add objectives to Summaries
...
With the next release of client_golang, Summaries will not have
objectives by default. To not lose the objectives we have right now,
explicitly state the current default objectives.
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-12 02:03:13 +02:00
Thomas Jackson
a000cec011
Re-use label builder in promql aggregation ( #5641 )
...
For my benchmarks on aggregation this reduces allocations by ~5% (~10%
time improvement):
```
benchmark old ns/op new ns/op delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4 727692 649626 -10.73%
benchmark old allocs new allocs delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4 2566 2434 -5.14%
benchmark old bytes new bytes delta
BenchmarkEvaluations/benchdata/aggregators.test/promxy-4 162760 148854 -8.54%
```
Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-11 09:24:49 +01:00
naivewong
6ab483071a
Improvement on postings intersection ( #616 )
...
* improvement on postings intersection
Signed-off-by: naivewong <867245430@qq.com>
2019-06-11 10:14:25 +02:00
Callum Styan
e9129abeff
Remove max_retries from queue_config since it's not used in remote write
...
anymore.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-06-10 12:43:08 -07:00
Krasi Georgiev
e809cb477d
Add e2e benchmarks for head and block Queries ( #467 )
...
* Add e2e had and block query benchmarks
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-06-07 15:41:44 +02:00
Brian Brazil
be4edbe174
Start a new WAL segement on head truncation. ( #605 )
...
This reduces disk space usage to not be a minimum of 3 128MB files
in small setups. This will possibly also help debug wal data issues,
by making things a bit more deterministic.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2019-06-07 11:35:02 +01:00
mkenigs
e23fa22233
Change snapshot description to be consistent with rest of the doc ( #5642 )
...
Signed-off-by: mkenigs <matthewkenigsberg@gmail.com>
2019-06-07 10:21:47 +01:00
Krasi Georgiev
48c4dc63ea
github template for PRs ( #624 )
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-06-07 10:43:04 +02:00
PrometheusBot
4b9970053f
makefile: update Makefile.common with newer version ( #625 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-07 10:03:51 +02:00
Brian Brazil
149c5dc73a
Handle multiple refs for the same series when WAL reading. ( #623 )
...
This can happen if a given series is created/truncated/recreated.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2019-06-06 14:28:54 +01:00
Hrishikesh Barman
819205ed03
DOCKERFILE_PATH added to Makefile.common ( #5635 )
...
* added dockerfile path to Makefile.common
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
2019-06-06 14:36:57 +02:00
Björn Rabenstein
6097d27f11
Merge pull request #5634 from prometheus/beorn7/release
...
Update instructions for the release shepherd
2019-06-06 11:16:29 +02:00
beorn7
2e77b32fb5
Further clarification
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-05 19:51:17 +02:00
beorn7
1329faca14
Clarify when changes in master can be merged into the release branch
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-05 18:59:06 +02:00
Frederic Branczyk
9fc3c61e2c
Merge pull request #5598 from sh0rez/master
...
include InitContainers in Kubernetes Service Discovery
2019-06-05 18:47:13 +02:00
beorn7
adfc5aaa64
Update instructions for the release shepherd
...
This codifies how 2.10 was released. It removes the inconsistency of
freezing master for pre-releases but handling post-release bug fixes
in a separate branch.
The previous instructions came from a time where master was often in
bad shape. However, that's a problem of its own, which should be
avoided at all times and not only when a release is imminent. On other
words, freezing master can still happen if it is in bad shape and we
need a break from feature development and just fix the bugs for a
while. However, it should not happen as a formal step during the
release of a release candidate. On the contrary, a release candidate
is not really a release candidate if we already know it is in such a
bad shape that we need bug fixes. On the other hand, if we truly
believe the RC could be identical to the final release, there is no
need to freeze master.
I can explain more of the concept if there is still a need for
clarification.
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-05 17:58:55 +02:00
Björn Rabenstein
1a26dd6c9a
Merge pull request #5632 from prometheus/juliusv-release-shepherd
...
Add next three release shepherds
2019-06-05 15:24:52 +02:00
beorn7
ac8d10f6e2
Replace Ganesh with Frederic for 2.11
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-05 15:22:49 +02:00
Julius Volz
1299a73781
Add next three release shepherds
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-06-05 14:18:42 +02:00
Frederic Branczyk
731ed22ac8
Merge pull request #622 from prometheus/live-reader-metric-suffix
...
wal: Add `_total` suffix as metric is a counter
2019-06-05 10:02:23 +02:00
Frederic Branczyk
e708ba1d14
wal: Add _total
suffix as metric is a counter
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2019-06-05 09:24:25 +02:00
mrasu
3db36f021b
Fix make bench
( #610 )
...
Remove flag -log.level
Signed-off-by: mrasu <m.rasu.hitsuji@gmail.com>
2019-06-03 22:37:24 +02:00
Frederic Branczyk
b800a89ae3
Merge pull request #619 from prometheus/remove-promauto
...
wal: Replace promauto with injected registry
2019-06-03 20:07:15 +02:00
Frederic Branczyk
abd15845e2
wal: Replace promauto with injected registry
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2019-06-03 12:29:52 +02:00
Krasi Georgiev
882162d5b9
fix the "failed compaction" metric. ( #613 )
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-05-30 13:57:28 +02:00
Simon Pasquier
74ff35ccdd
cmd/promtool: add $externalLabels for alert unit tests
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-05-29 16:40:01 +02:00
sh0rez
8ba23fb336
fix(style): container_is_init to container_init
...
Removes 'is' keyword to comply style guide
Signed-off-by: sh0rez <me@shorez.de>
2019-05-29 16:16:19 +02:00
Carl Bergquist
9ba2f13c5e
fix inconsistant example rule ( #5605 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2019-05-29 10:46:00 +01:00
sh0rez
88b79bae64
chore(style): Comply with style guide, order list
...
Signed-off-by: sh0rez <me@shorez.de>
2019-05-29 11:22:10 +02:00
Simon Pasquier
22824c2e08
Use Circle CI's org context ( #5561 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-05-29 10:02:30 +02:00
Callum Styan
babb8a0572
Update queue config documentation to reflect default value change for capacity.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-05-28 14:12:57 -07:00
beorn7
31ba9777f8
Merge branch 'release-2.10'
2019-05-28 20:48:28 +02:00
Björn Rabenstein
66e55f1d67
Merge pull request #5602 from roramirez/consoles-bootstrap-update
...
console_libraries: Update to Bootstrap 4.3.1
2019-05-28 20:47:49 +02:00
Rodrigo Ramírez Norambuena
598bdcc2f5
console_libraries: Update to Bootstrap 4.3.1
...
PR #5506 update the version for Bootstrap. This change update the
assets for console_libraries on this version of Bootstrap.
Signed-off-by: Rodrigo Ramírez Norambuena <a@rodrigoramirez.com>
2019-05-28 15:58:29 +00:00
sh0rez
1b144e499f
doc(discovery/kubernetes): container_is_init meta label
...
Signed-off-by: sh0rez <me@shorez.de>
2019-05-28 16:52:13 +02:00
sh0rez
6618f28fd7
test(discovery/kubernetes): TestPodDiscoveryInitContainer
...
Adds a test to check whether an InitContainer is included in the discovery
Signed-off-by: sh0rez <me@shorez.de>
2019-05-28 16:51:58 +02:00
sh0rez
fbd5c6f310
test(discovery/kubernetes): add container_is_init label to tests
...
Adds the new container_is_init label to the current tests to make them pass again
Signed-off-by: sh0rez <me@shorez.de>
2019-05-27 19:16:03 +02:00
sh0rez
cfa253ae06
feat(discovery/kubernetes): container_is_init label
...
Adds a label that shows whether the container is an init container or not
Signed-off-by: sh0rez <me@shorez.de>
2019-05-27 17:48:15 +02:00
naivewong
13c80a5979
Optimize queries using regex matchers for set lookups ( #602 )
...
* Original version of the set optimization
Signed-off-by: naivewong <867245430@qq.com>
* simple set matcher
Signed-off-by: naivewong <867245430@qq.com>
* simple set matcher
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* add benchmark
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update benchmark
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update benchmark
Signed-off-by: naivewong <867245430@qq.com>
* update benchmark
Signed-off-by: naivewong <867245430@qq.com>
* update benchmark
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
* use genSeries from #467
Signed-off-by: naivewong <867245430@qq.com>
* update
Signed-off-by: naivewong <867245430@qq.com>
2019-05-27 16:54:46 +05:30
sh0rez
bea07fe866
feat(discovery/kubernetes): include InitContainers
...
Includes InitContainers in the ServiceDiscovery
Signed-off-by: sh0rez <me@shorez.de>
2019-05-26 22:53:14 +02:00
beorn7
212ff4b659
Merge branch 'release-2.10'
2019-05-25 14:25:35 +02:00
Björn Rabenstein
d20e84d0fb
Merge pull request #5597 from prometheus/beorn7/release
...
Promote rc.0 to final v2.10.0
2019-05-25 14:23:59 +02:00
beorn7
2a5b7f9156
Promote rc.0 to final v2.10.0
...
Signed-off-by: beorn7 <bjoern@rabenste.in>
2019-05-25 13:35:41 +02:00
Bevisy
70b2be3907
Exhaust request body before closing it ( #5596 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
2019-05-25 13:34:49 +02:00
Bevisy
2548271e0f
format markdown code block ( #5594 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
2019-05-25 13:34:49 +02:00
Bevisy
bdebb0c890
format markdown code block ( #5594 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
2019-05-25 11:28:50 +01:00
Bevisy
b7cdd3e840
Exhaust request body before closing it ( #5596 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
2019-05-25 11:27:12 +01:00
Callum Styan
562e93e8e6
Always create a new clean segment when starting the WAL. ( #608 )
...
* Always create a new clean segment when starting the WAL.
* Ensure we flush the last page after repairing and before recreating the
new segment in Repair.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-05-24 19:33:27 +01:00