Julien Pivotto
e83ef207b6
Release 2.21.0 ( #7925 )
...
* Release 2.21.0
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Julien Pivotto
a6ee1f8517
Merge pull request #7913 from prometheus/release-2.21
...
Merge release 2.21 into master
4 years ago
Julien Pivotto
e55b0be9b7
Release 2.21.0-rc.1 ( #7868 )
...
Add missing items in the changelog
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
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>
4 years ago
Anonymous
8219b442c8
rules: Remove redundant RLock to avoid double RLock ( #7183 )
...
Signed-off-by: BurtonQin <bobbqqin@gmail.com>
4 years ago
Justin Walz
808a14569d
Update alerting_rules.md ( #7252 )
...
Update `ALERTS` example be more meta-syntactic.
Signed-off-by: Justin Walz <justin.walz10@gmail.com>
4 years ago
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>
4 years ago
zhulongcheng
5ea6bdca1f
tsdb: sync temporary checkpoint directory before rename ( #7004 )
...
Signed-off-by: zhulongcheng <zhulongcheng.dev@gmail.com>
4 years ago
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>
4 years ago
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>
4 years ago
Hrishikesh Barman
f8c8adfd67
Update all_nodepools_deleted to all_nodes_deleted in prombench workflow
...
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
4 years ago
Bartlomiej Plotka
a399227a9f
Revert "Fixed iterator regression: Avoid using heap for each sample when iterating."
...
This reverts commit 2c8b2c5915
.
4 years ago
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>
4 years ago
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>
4 years ago
Ben Kochie
7b4a2ca870
Bump promu version ( #7880 )
...
Upgrade to promu 0.6.0.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
johncming
75ae384192
tsdb: remove redundant fields. ( #7869 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
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>
4 years ago
Ganesh Vernekar
2255b6f62f
Refactor WAL.Segments method to be part of the wal package ( #6477 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
showuon
dba729f6b6
Referring to configuration.md, to have a Generic placeholders definition section ( #7875 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
johncming
252265fa81
tsdb/chunks: remove un-used code. ( #6944 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
Jaga Santagostino
3ebffa7e20
add key to StatusWithStatusIndicator component in loop ( #6879 )
...
Signed-off-by: Jaga Santagostino <jagasantagostino@gmail.com>
4 years ago
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>
4 years ago
Julien Pivotto
a5366cb236
Fix rules.html afte name cleaup in #7841 ( #7865 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
johncming
a14245b4b1
web/api/v1: rename http status code. ( #7864 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
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>
4 years ago
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>
4 years ago
Julien Pivotto
1195cc24e3
Release 2.21.0-rc.0 ( #7857 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Vijay Samuel
00ee73ef91
Export members of EvalNodeHelper to facilitate usage in external functions ( #7860 )
...
Signed-off-by: Vijay Samuel <vjsamuel@ebay.com>
4 years ago
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>
4 years ago
kangwoo
7c0d5ae4e7
Add Eureka Service Discovery ( #3369 )
...
Signed-off-by: kangwoo <kangwoo@gmail.com>
4 years ago
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>
4 years ago
johncming
267dd17fe7
promql/parser: use pos instead of origin. ( #7853 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
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>
4 years ago
showuon
ca6f2bde94
add relabeling link to be consistent with other section ( #7851 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Julien Pivotto
27a1a281fd
Improve hetzner documentation ( #7849 )
...
* Improve hetzner documentation
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Robert Fratto
2bd077ed97
expose UserAgent to make it changeable by importers ( #7832 )
...
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
4 years ago
Li Zhijian
369245e606
cleanup one more tempfile ( #7839 )
...
Introduced by a recent PR(#7810 )
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
4 years ago
johncming
3e7b463908
add testcase for rangeForTimestamp. ( #6454 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
Simon Pasquier
e693af6c01
.circleci/config.yml: check mixins ( #6895 )
...
* .circleci/config.yml: check mixins
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Run jsonnetfmt
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Install tools in the image instead of using coreos/jsonnet-ci
The latter is deprecated
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update jsonnetfile.json
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
johncming
a5beb627ff
some fixies for consul sd. ( #7799 )
...
* discovery/consul: make duration more accurate.
Signed-off-by: johncming <johncming@yahoo.com>
* discovery/consul: fix bug when context done.
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago
johncming
2f2a51a43a
web/api/v1: make names consistent. ( #7841 )
...
Signed-off-by: johncming <johncming@yahoo.com>
4 years ago