venkatbvc
6f28c46f4c
Updating storage.md for retention.size ( #7942 )
...
Signed-off-by: venkatbvc <chalapathirao@gmail.com>
2020-09-16 10:49:02 +05:30
Julien Pivotto
e208afcc95
web: Remove APIv2 ( #7935 )
...
* web: Remove APIv2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-09-15 09:30:55 +02:00
Luke Chen
7de6046d1e
update the protoc version to 3.12.3 in readme.md ( #7931 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
2020-09-14 09:08:27 +01:00
Julien Pivotto
ed2a483beb
Merge pull request #7929 from prometheus/release-2.21
...
Merge release 2.21 in master
2020-09-11 14:26:56 +02:00
Julien Pivotto
e83ef207b6
Release 2.21.0 ( #7925 )
...
* Release 2.21.0
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-09-11 13:07:23 +02:00
Xiaochao Dong
a282d25099
tsdb: remove duplicate values set to reduce memory usage(map overhead) ( #7915 )
...
Signed-off-by: Xiaochao Dong (@damnever) <dxc.wolf@gmail.com>
2020-09-10 20:35:47 +05:30
Bryan Boreham
90fc6be70f
Default to bigger remote_write sends ( #5267 )
...
* Default to bigger remote_write sends
Raise the default MaxSamplesPerSend to amortise the cost of remote
calls across more samples. Lower MaxShards to keep the expected max
memory usage within reason.
Signed-off-by: Bryan Boreham <bryan@weave.works>
* Change default Capacity to 2500
To maintain ratio with MaxSamplesPerSend
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2020-09-09 14:00:23 -06:00
Julien Pivotto
538f6b7dd1
Fix missing remote read spans ( #7914 ) ( #7916 )
...
The remote read client needs to use the nethttp.Transport wrapper in
order for spans to be instrumented properly.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Co-authored-by: Chris Marchbanks <csmarchbanks@gmail.com>
2020-09-09 17:39:59 +02:00
Chris Marchbanks
f0f8e50567
Fix missing remote read spans ( #7914 )
...
The remote read client needs to use the nethttp.Transport wrapper in
order for spans to be instrumented properly.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2020-09-09 14:03:48 +02:00
Harkishen Singh
fc8e769d71
Use ASSIGN when using = inside braces ( #7911 )
...
* Fix EQL when using = inside braces.
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
* EQL => EQLC and ASSIGN => EQL
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
* Aligned yacc code.
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
2020-09-09 15:40:02 +05:30
Julien Pivotto
a6ee1f8517
Merge pull request #7913 from prometheus/release-2.21
...
Merge release 2.21 into master
2020-09-09 11:08:32 +02:00
Julien Pivotto
e55b0be9b7
Release 2.21.0-rc.1 ( #7868 )
...
Add missing items in the changelog
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-09-08 20:48:20 +02:00
Bartlomiej Plotka
088fcc9e48
Fixed iterator regression: Avoid using heap for each sample when iterating. ( #7900 )
...
* Fixed iterator regression: Avoid using heap for each sample when iterating.
Fixes: https://github.com/prometheus/prometheus/issues/7873
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Addressed comments.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Check for .At() called after .Next() returned false
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* More comments
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-09-08 16:23:01 +02:00
Anonymous
8219b442c8
rules: Remove redundant RLock to avoid double RLock ( #7183 )
...
Signed-off-by: BurtonQin <bobbqqin@gmail.com>
2020-09-07 18:58:21 +01:00
Justin Walz
808a14569d
Update alerting_rules.md ( #7252 )
...
Update `ALERTS` example be more meta-syntactic.
Signed-off-by: Justin Walz <justin.walz10@gmail.com>
2020-09-07 17:30:01 +01:00
Deepjyoti Mondal
c8ad79efdc
Fixes #6127 : Add Collapse All button ( #6957 )
...
The collapse all option as suggested in the corresponding issue
has been implemented in this PR.
Signed-off-by: Deepjyoti Mondal <djmdeveloper060796@gmail.com>
2020-09-07 16:54:54 +02:00
zhulongcheng
5ea6bdca1f
tsdb: sync temporary checkpoint directory before rename ( #7004 )
...
Signed-off-by: zhulongcheng <zhulongcheng.dev@gmail.com>
2020-09-07 20:04:49 +05:30
Christian Hoffmann
51306cb158
docs: add promtool version in rule migration cmd ( #6989 )
...
`promtool update rules` is no longer available after Prometheus 2.5.
Document this to avoid confusion such as in #6988 .
Signed-off-by: Christian Hoffmann <mail@hoffmann-christian.info>
2020-09-07 16:30:07 +02:00
Julius Volz
01daddeb75
Fix styling bug for target labels with special names ( #7902 )
...
Adding the label name as a CSS class can break styling and other
behavior when the label name has a special meaning in CSS. E.g. the
"container" label was displayed at 100% width because it was interpreted
to be a bootstrap container layout element.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-09-06 22:10:25 +02:00
Hrishikesh Barman
f8c8adfd67
Update all_nodepools_deleted to all_nodes_deleted in prombench workflow
...
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
2020-09-05 21:03:56 +05:30
Bartlomiej Plotka
a399227a9f
Revert "Fixed iterator regression: Avoid using heap for each sample when iterating."
...
This reverts commit 2c8b2c5915
.
2020-09-04 17:10:42 +01:00
Julien Pivotto
2c8b2c5915
Fixed iterator regression: Avoid using heap for each sample when iterating.
...
Fixes: https://github.com/prometheus/prometheus/issues/7873
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2020-09-04 17:09:40 +01:00
Anand Sanmukhani
f4a1b3cef6
Rename remote.newReadClient()
to remote.NewReadClient()
( #7881 )
...
This should make the `NewReadClient()` exported outside the `remote` package
Signed-off-by: Anand Sanmukhani <asanmukh@redhat.com>
2020-09-02 17:15:10 +01:00
Ben Kochie
7b4a2ca870
Bump promu version ( #7880 )
...
Upgrade to promu 0.6.0.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-09-02 17:03:52 +01:00
johncming
75ae384192
tsdb: remove redundant fields. ( #7869 )
...
Signed-off-by: johncming <johncming@yahoo.com>
2020-09-02 17:03:21 +01:00
iurii
bd53b5ff37
Unnecessary go routine spawn. ( #7879 )
...
* Unnecessary go routine spawn.
* Remove unnecessary local variable creation.
Signed-off-by: iurii <iurii@coins.ph>
Co-authored-by: iurii <iurii@coins.ph>
2020-09-02 16:26:42 +01:00
Ganesh Vernekar
2255b6f62f
Refactor WAL.Segments method to be part of the wal package ( #6477 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-09-01 14:46:57 +05:30
showuon
dba729f6b6
Referring to configuration.md, to have a Generic placeholders definition section ( #7875 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
2020-09-01 09:37:09 +01:00
johncming
252265fa81
tsdb/chunks: remove un-used code. ( #6944 )
...
Signed-off-by: johncming <johncming@yahoo.com>
2020-08-31 16:55:47 +02:00
Jaga Santagostino
3ebffa7e20
add key to StatusWithStatusIndicator component in loop ( #6879 )
...
Signed-off-by: Jaga Santagostino <jagasantagostino@gmail.com>
2020-08-31 16:47:35 +02:00
Lars Kellogg-Stedman
e4cfa742a5
docs: minor corrections to the docker documentation ( #6869 )
...
The documentation referenced "data volume containers", which were
superseded by named volume support in Docker several years ago.
There were to bind-mounting examples in the docs that are effectively
doing the same thing, but the description of the second was somewhat
erroneous.
Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
2020-08-31 15:44:08 +01:00
Julien Pivotto
a5366cb236
Fix rules.html afte name cleaup in #7841 ( #7865 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-31 14:00:46 +02:00
Lukas Kämmerling
c49d8680ce
Fix Hetzner Robot SD decoding with non HTTP 2xx ( #7872 )
...
* Fix Hetzner Robot SD trying to decode response when a non 2xx HTTP code was returned
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-08-31 13:24:39 +02:00
showuon
791b84830d
Update the storage.md to fix typo, and some grammar/format issue ( #7871 )
...
* Update the storage.md to fix typo, and some grammar/format issue
Signed-off-by: Luke Chen <showuon@gmail.com>
2020-08-31 09:50:42 +01:00
Julien Pivotto
6573bf42f2
web: Close and exhaust all response bodies in tests + cleanup snapshot directory ( #7850 )
...
* web: Close and exhaust all response bodies in tests
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Remove empty snapshot directory
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Fix lint
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-29 11:22:00 +01:00
showuon
dfdc358a5b
Fix the duplicated results issue from /api/v1/series ( #7862 )
...
* Fix the duplicated results issue from /api/v1/series
Signed-off-by: Luke Chen <showuon@gmail.com>
2020-08-29 01:21:39 +02:00
johncming
a14245b4b1
web/api/v1: rename http status code. ( #7864 )
...
Signed-off-by: johncming <johncming@yahoo.com>
2020-08-28 12:18:31 +02:00
Julien Pivotto
085352ba97
Hetzner: fix lists in documentation ( #7863 )
...
The lists are inlined without empty lines upfront.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-28 11:38:24 +02:00
Stefan Büringer
d30f202c08
Fix Experimental UI for cookie based authentication ( #7827 )
...
We're using Prometheus behind a reverse proxy which authenticates everything based on cookies.
Without this attribute the cookie is not send with the request for the manifest.json
Signed-off-by: Stefan Bueringer <sbueringer@gmail.com>
2020-08-27 22:50:32 +02:00
Julien Pivotto
1195cc24e3
Release 2.21.0-rc.0 ( #7857 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-27 22:14:22 +02:00
Vijay Samuel
00ee73ef91
Export members of EvalNodeHelper to facilitate usage in external functions ( #7860 )
...
Signed-off-by: Vijay Samuel <vjsamuel@ebay.com>
2020-08-27 19:30:10 +01:00
Ganesh Vernekar
c806262206
Fix 'chunks.HeadReadWriter: maxt of the files are not set' error ( #7856 )
...
* Fix chunks.HeadReadWriter: maxt of the files are not set
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-08-26 19:59:18 +02:00
kangwoo
7c0d5ae4e7
Add Eureka Service Discovery ( #3369 )
...
Signed-off-by: kangwoo <kangwoo@gmail.com>
2020-08-26 17:36:59 +02:00
Yukun Sun
cfd4e05c9e
fix: return a corruption error when iterator function find a chunk that is out of sequence ( #7855 )
...
Signed-off-by: sunyukun <sunyukun@didiglobal.com>
Co-authored-by: sunyukun <sunyukun@didiglobal.com>
2020-08-26 20:36:27 +05:30
johncming
267dd17fe7
promql/parser: use pos instead of origin. ( #7853 )
...
Signed-off-by: johncming <johncming@yahoo.com>
2020-08-26 15:26:26 +05:30
Max Neverov
bb5c6b38e2
Fix Possible Race Condition in TSDB ( #7815 )
...
* Replace tsdb chunk mapper size with atomic; protect mmappedChunkFiles with read path mutex on DeleteCorrupted
Signed-off-by: Max Neverov <neverov.max@gmail.com>
* PR fixes
Signed-off-by: Max Neverov <neverov.max@gmail.com>
2020-08-26 14:22:48 +05:30
showuon
ca6f2bde94
add relabeling link to be consistent with other section ( #7851 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
2020-08-26 08:39:31 +01:00
Julien Pivotto
27a1a281fd
Improve hetzner documentation ( #7849 )
...
* Improve hetzner documentation
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-08-25 20:51:54 +02:00
Robert Fratto
2bd077ed97
expose UserAgent to make it changeable by importers ( #7832 )
...
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2020-08-25 10:38:37 -06:00
Li Zhijian
369245e606
cleanup one more tempfile ( #7839 )
...
Introduced by a recent PR(#7810 )
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-25 18:13:48 +02:00