Ganesh Vernekar
ccdf2f7d94
Merge pull request #660 from YaoZengzeng/fix
...
enhancement: flush the page more precisely
2019-08-06 15:38:37 +05:30
AllenZMC
41151ca8dc
fix mis-spelling in consul_test.go ( #5836 )
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-08-06 06:11:41 +01:00
ethan
8928094b56
func name ref correct "qauntile" -> "quantile" ( #5834 )
...
Signed-off-by: ethan <guangming.wang@daocloud.io>
2019-08-06 06:11:16 +01:00
slava
5e974d3170
Fix context for the showWarning function ( #5833 )
...
* Fix context for the showWarning function
If the difference between the current time on a client and time on a server is quite big, Prometheus tries to show a related warning in UI on the Graph tab. But in the code, an incorrect context is used to invoke this method. As a result, an error is showed in the web developer console and the whole page stop working at all. This commit fixes the context.
CC @juliusv
Signed-off-by: Vyacheslav Kulakov <vkulakov@swiftserve.com>
* Fix context for the showWarning function
Fixed assets
CC @juliusv
Signed-off-by: Vyacheslav Kulakov <vkulakov@swiftserve.com>
2019-08-05 20:03:12 +02:00
Ganesh Vernekar
a3487fc74c
Merge pull request #5830 from vmartsynovskyy/fix-docs
...
Fix incorrect examples in docs
2019-08-05 11:38:02 +05:30
Callum Styan
c40a83f386
Add metrics for max shards, min shards, and desired shards.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-08-04 20:04:19 -07:00
Vadym Martsynovskyy
a9970a47ef
Fix incorrect examples in docs
...
Signed-off-by: Vadym Martsynovskyy <vmartsynovskyy@gmail.com>
2019-08-04 16:42:42 -07:00
AllenZMC
8d6ec5acdc
fix word 'seriess' to 'series' ( #5828 )
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-08-04 16:52:51 +01:00
AllenZMC
5c2c9a03e9
fix word 'consequentally' to 'consequently' ( #5827 )
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-08-03 14:56:58 +01:00
AllenZMC
9e47bb8b46
fix word 'parmeters' to 'parameters' ( #5826 )
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-08-02 14:52:15 +01:00
AllenZMC
ead0933dd9
fix word 'substracting' to 'subtracting' ( #5822 )
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-08-01 15:44:38 +01:00
Dan P
a9dea68ee6
removed document reference to meta label that doesnt exist in the kubernetes_sd ( #5821 )
...
Signed-off-by: Dan Potepa <dan@danpotepa.co.uk>
2019-08-01 12:34:23 +01:00
Advait Bhatwadekar
5d401f1e1b
Added query logging for prometheus. Issue #1315 ( #5794 )
...
* Added query logging for prometheus.
Options added:
1) active.queries.filepath: Filename where queries will be recorded
2) active.queries.filesize: Size of the file where queries will be recorded.
Functionality added:
All active queries are now logged in a file. If prometheus crashes unexpectedly, these queries are also printed out on stdout in the rerun.
Queries are written concurrently to an mmaped file, and removed once they are done. Their positions in the file are reused. They are written in json format. However, due to dynamic nature of application, the json has an extra comma after the last query, and is missing an ending ']'. There may also null bytes in the tail of file.
Signed-off-by: Advait Bhatwadekar <advait123@ymail.com>
2019-07-31 16:12:43 +01:00
Simon Pasquier
63c3e8f7e4
web/ui: update bootstrap3-typeahead to v4.0.2
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-30 16:53:18 +02:00
@aifsair
0f00737308
Fix log config setup ( #5807 )
...
The return value of Set() was not checked.
Hence, the typo ("al" instead of "af") wasn't catched.
Signed-off-by: François (fser) <fser@code-libre.org>
2019-07-29 18:00:30 +01:00
yeya24
b7bb278e95
make targets active parallel ( #5740 )
...
Signed-off-by: yeya24 <yb532204897@gmail.com>
2019-07-29 17:08:54 +01:00
Björn Rabenstein
7d36178731
Merge pull request #5804 from AllenZMC/patch-1
...
fix word `encourter` to `encounter`
2019-07-29 16:44:26 +02:00
AllenZMC
758c71b980
fix word encourter
to encounter
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
2019-07-29 22:16:23 +08:00
Ganesh Vernekar
42bbc6b37b
Merge pull request #5801 from dzzg/patch-1
...
fix wrong spells in ingress.go
2019-07-29 10:06:37 +05:30
YaoZengzeng
104566ae53
enhancement: 1. don't flush the page if it's last fragment of the record
...
2. if it's last record of the bacth, flush the page after it written into the page
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
2019-07-29 09:07:51 +08:00
dzzg
938ca06057
fix wrong spells in ingress.go
...
Signed-off-by: dzzg <zhengguang.zhu@daocloud.io>
2019-07-28 02:07:23 +08:00
Yao Zengzeng
d5b3f07043
add metric for tsdb size retention bytes ( #667 )
...
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
2019-07-27 09:52:25 +01:00
Yao Zengzeng
56578602ab
remove redundant condition judgement whether cut new chunk ( #669 )
...
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
2019-07-26 11:54:06 +03:00
Ganesh Vernekar
87a0fe0c75
Merge pull request #5793 from codesome/tsdb-vendor
...
Vendor tsdb v0.10.0
2019-07-24 16:42:39 +05:30
Johnny Lim
7645ed8fd3
Fix typo ( #5796 )
...
Signed-off-by: Johnny Lim <izeye@naver.com>
2019-07-24 10:41:14 +01:00
Ganesh Vernekar
c782d29310
Vendor tsdb 0.10.0
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-07-24 15:09:12 +05:30
Ganesh Vernekar
7762249358
Merge pull request #668 from codesome/release-0.10.0
...
cut 0.10.0
2019-07-24 15:03:17 +05:30
Ganesh Vernekar
7469719dc8
cut 0.10.0
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-07-24 14:56:19 +05:30
Jeffery To
d91f724637
Update fsnotify to v1.4.7 ( #5792 )
...
fsnotify v1.3.1 uses unix.InotifyInit() which is not available on
mips64/mips64le. Updating to a newer version allows builds to succeed on
these platforms.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-07-23 15:53:50 +01:00
Krasi Georgiev
6f9bbc7253
Open db in Read only mode ( #588 )
...
* Added db read only open mode and use it for the tsdb cli.
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-07-23 11:04:48 +03:00
Simon Pasquier
fb2b3c2b0b
Bump github.com/influxdata/influxdb ( #5784 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-22 13:39:13 +02:00
Ganesh Vernekar
3df36b4fe0
Merge pull request #664 from prometheus/makefile_common
...
Synchronize Makefile.common from prometheus/prometheus
2019-07-20 12:03:45 +05:30
Frederic Branczyk
818373a5f8
Merge pull request #5780 from tariq1890/upd_k8s
...
Add k8s 1.15.1 as a vendor dependency.
2019-07-19 17:29:05 -07:00
prombot
0a3c2e33c3
makefile: update Makefile.common with newer version
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-07-20 00:02:49 +00:00
Yao Zengzeng
bff3ef3db4
minor enhancement: return multi error when closeAll() ( #663 )
...
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
2019-07-19 12:16:34 +03:00
Simon Pasquier
8624913a34
Bump golangci-lint to v1.17.1 ( #5778 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-19 09:14:33 +02:00
Tariq Ibrahim
aacacd635c
Add k8s 1.15.1 as a vendor dependency.
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2019-07-18 15:08:13 -07:00
Ganesh Vernekar
a08db6119a
Merge pull request #5774 from simonpasquier/fix-panic-promtool
...
cmd/promtool: fix panic with empty exp_labels
2019-07-18 14:47:46 +05:30
Simon Pasquier
75886e0464
cmd/promtool: fix panic with empty exp_labels
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-17 17:02:31 +02:00
Devin Trejo
d77f2aa29c
Only check last directory when discovering checkpoint number ( #5756 )
...
* Only check last directory when discovering checkpoint number
Signed-off-by: Devin Trejo <dtrejo@palantir.com>
* Comments for checkpointNum
Signed-off-by: Devin Trejo <dtrejo@palantir.com>
2019-07-15 17:53:58 +01:00
Yao Zengzeng
3cde8a9941
pass error up if WALWathcer.segments() return err ( #5741 )
...
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
2019-07-15 17:52:03 +01:00
Simon Pasquier
abdcbda82a
.circleci/config.yml: limit the number of parallel tasks ( #5705 )
...
If unlimited, it takes too much memory and the job is killed by the CI.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-15 11:20:08 +02:00
Simon Pasquier
bb3141e9f0
.circleci/config.yml: use prometheus/prometheus orb ( #5760 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-15 09:41:28 +02:00
Simon Pasquier
9a1935d641
scrape: remove unused type ( #5761 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-15 08:54:22 +02:00
Ganesh Vernekar
7dd5e177aa
Merge pull request #662 from csmarchbanks/wal-replay-logs
...
Add logging during WAL replay
2019-07-15 11:20:52 +05:30
Chris Marchbanks
0cd46f8762
Add logging during WAL replay
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2019-07-13 11:10:44 -06:00
Ganesh Vernekar
3bc1ea3d75
Reuse byte buffer in WriteChunks and writeHash ( #653 )
...
* Re-use byte buffer in WriteChunks and writeHash
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add CHANGELOG entry
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Fix review comments
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Remove old comment
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-07-12 18:42:34 +05:30
Bartek Płotka
45ee02add5
Merge pull request #658 from johncming/fix-comment
...
chunks: correct the interface name
2019-07-12 01:21:01 +02:00
johncming
84d71073f1
chunks: correct the interface name
...
Signed-off-by: johncming <johncming@yahoo.com>
2019-07-12 06:35:04 +08:00
Frederic Branczyk
fb6c709a5e
Merge pull request #5753 from metalmatze/grafanaDashboards
...
Fix prometheus-mixin dashboards to use grafanaDashboards
2019-07-11 15:51:01 +02:00