ravilr
adc8807851
Update remote-write alert rules mixin ( #8423 )
...
Signed-off-by: ravilr <raviprasad_lr@yahoo.com>
2021-01-31 20:07:49 +00:00
alex-petrov-vt
91eef5e3bf
Added warnings into react Panel on the Graph page ( #8427 )
...
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
2021-01-31 13:48:32 +01:00
beorn7
fac3a4eef5
Avoid minor logical ambiguity
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-01-29 19:41:35 +01:00
beorn7
00c11bb5f8
Change main/default maintainer from @brian-brazil to @roidelapluie
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-01-29 19:40:57 +01:00
Chris Marchbanks
275f7e7766
Log recoverable remote write errors as warnings ( #8412 )
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2021-01-27 09:38:34 -07:00
Alfred Krohmer
fc8004eeec
EC2 SD: fix error handling of NewSessionWithOptions ( #8356 )
...
Last change in 4efca5a
introduced a problem where NewDiscovery would
just return a nil value, which is not handled well and didn't allow for
fixing configuration issues at runtime without a reload.
Signed-off-by: Alfred Krohmer <alfred.krohmer@logmein.com>
2021-01-26 11:27:30 +00:00
Julien Pivotto
02ee690e3c
Merge pull request #8407 from roidelapluie/deprecate-alertmanager-timeout-flag
...
Deprecate --alertmanager.timeout
2021-01-25 23:55:34 +01:00
Goutham Veeramachaneni
e572e77d90
Increase the buckets for compaction duration ( #8342 )
...
We're seeing compactions that are taking hours in Cortex which this is
missing. I know while it is not common in Prometheus, I am pretty sure
there are setups where compaction takes longer than 512s. On our own
Prometheus the average compaction duration is 566s.
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2021-01-25 18:12:18 +00:00
Julien Pivotto
2316062d4e
Deprecate --alertmanager.timeout
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-25 12:36:13 +01:00
Ganesh Vernekar
b5dfa2414b
Fix flaky TestAtModifier ( #8401 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-01-24 20:23:30 +05:30
kevinForMyself
db445844d3
Fix garbage collection about t.droppedSeries in QueueManager.SeriesReset. ( #8387 )
...
* Fix memory leak about t.droppedSeries in QueueManager.SeriesReset.
Signed-off-by: kevinForMyself <zise_2001@163.com>
* Fix garbage collection about t.droppedSeries in QueueManager.SeriesReset
Signed-off-by: kevinForMyself <zise_2001@163.com>
2021-01-22 08:03:10 -07:00
Ganesh Vernekar
a7e446cf2d
Link blog post on TSDB queries in tsdb/README.md ( #8391 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-01-21 17:14:40 +05:30
Marco Pracucci
d8c17025df
Fix TSDB head struct dump on querier error ( #8379 )
...
* Fix TSDB head struct dump on querier error
Signed-off-by: Marco Pracucci <marco@pracucci.com>
* Added mint/maxt to RangeHead.String()
Signed-off-by: Marco Pracucci <marco@pracucci.com>
2021-01-21 16:07:29 +05:30
Julien Pivotto
82330b96ee
Merge pull request #8384 from prometheus/beorn7/release-2.24
...
Merge release-2.24 forward into main branch
2021-01-20 12:37:17 +01:00
Ganesh Vernekar
9199fcb8d1
'@ <timestamp>' modifier ( #8121 )
...
This commit adds `@ <timestamp>` modifier as per this design doc: https://docs.google.com/document/d/1uSbD3T2beM-iX4-Hp7V074bzBRiRNlqUdcWP6JTDQSs/edit .
An example query:
```
rate(process_cpu_seconds_total[1m])
and
topk(7, rate(process_cpu_seconds_total[1h] @ 1234))
```
which ranks based on last 1h rate and w.r.t. unix timestamp 1234 but actually plots the 1m rate.
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-01-20 16:27:39 +05:30
beorn7
2344b2c514
Merge branch 'master' into beorn7/release-2.24
2021-01-20 02:20:24 +01:00
beorn7
94d70e76cd
Merge branch 'master' into beorn7/release-2.24
2021-01-20 02:09:25 +01:00
beorn7
e448727485
Cut v2.24.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-01-19 22:48:10 +01:00
beorn7
806a799195
Update exporter-toolkit dependency to 0.5.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-01-19 22:21:20 +01:00
Julien Pivotto
b7fe028740
Merge pull request #8373 from hs0210/work
...
Fix a typo in docs/configuration/configuration.md
2021-01-18 08:24:05 +01:00
Hu Shuai
2d8738c947
Fix a typo in docs/configuration/configuration.md
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
2021-01-18 10:14:47 +08:00
Julien Pivotto
c83e4a7b1c
Merge pull request #8370 from prometheus/superq/force_security.md
...
Enforce SECURITY.md updates
2021-01-16 22:12:03 +01:00
Ben Kochie
2fd1243b0e
Enforce SECURITY.md updates
...
Add SECURITY.md to the enforced repo sync updates.
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-01-16 20:07:55 +01:00
Julien Pivotto
e483cff61f
Merge pull request #8249 from prometheus/add-codeql
...
Add CodeQL Security Scanning
2021-01-15 10:13:16 +01:00
Julien Pivotto
5bd7145e55
Merge pull request #8327 from roidelapluie/tlsexemple
...
https: Add example configuration file
2021-01-15 09:50:52 +01:00
Li Zhijian
9602933db2
Cleanup tempfiles in tests ( #8179 )
...
* test: cleanup tempdir for TestBlockWriter
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
* test: cleanup tempdir for TestLogPartialWrite
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-01-15 13:49:57 +05:30
Julien Pivotto
08c259cda6
https: Add example configuration file
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-15 01:37:50 +01:00
Julien Pivotto
b82d76faec
Merge pull request #8363 from roidelapluie/toolkit-update
...
Update exporter-toolkit to 0.5.0
2021-01-14 01:08:18 +01:00
Julien Pivotto
ac2626757c
Update exporter-toolkit to 0.5.0
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-13 21:49:54 +01:00
Nguyen Le Vu Long
fbe960f2c1
fix: remove pre-2.21 tmp blocks on start ( #8353 )
...
* fix: remove pre-2.21 tmp blocks on start
Signed-off-by: Nguyen Le Vu Long <vulongvn98@gmail.com>
* fix: commenting
Signed-off-by: Nguyen Le Vu Long <vulongvn98@gmail.com>
2021-01-09 10:02:26 +01:00
Julien Pivotto
fd022965c0
Add SECURITY.md file ( #8292 )
...
* Add SECURITY.md file
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-09 09:58:53 +01:00
Julien Pivotto
34656bbf8e
PromQL parser: fastpath for non-empty matchers and metric name ( #8345 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-07 11:38:38 +01:00
Guangwen Feng
2df1a482da
Fix misspelled word in comment ( #8348 )
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2021-01-07 10:01:08 +00:00
Arthur Silva Sens
7e932637e3
Reload tsdb blocks every minute ( #8340 )
...
* Reload tsdb blocks every minute
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
* Proteced tsdb with mutex locks
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-07 13:00:08 +05:30
Nguyen Le Vu Long
cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page ( #8343 )
...
* tsdb: Expose total number of label pairs in head
Signed-off-by: Nguyen Le Vu Long <vulongvn98@gmail.com>
* fix: add comment for NumLabelPairs
Signed-off-by: Nguyen Le Vu Long <vulongvn98@gmail.com>
* fix: remove comment
Signed-off-by: Nguyen Le Vu Long <vulongvn98@gmail.com>
2021-01-07 12:11:32 +05:30
Björn Rabenstein
0954026b9a
Merge pull request #8347 from prometheus/release-2.24
...
Merge release branch back into master after 2.24.0 is done
2021-01-06 19:26:03 +01:00
Björn Rabenstein
02e92236a8
Merge pull request #8346 from prometheus/beorn7/release
...
Cut final v2.24.0
2021-01-06 14:44:34 +01:00
beorn7
a6d4e8c636
Cut final v2.24.0
...
Signed-off-by: beorn7 <beorn@grafana.com>
2021-01-06 14:25:43 +01:00
Julien Pivotto
8dfbad7a88
Merge pull request #8344 from fenggw-fnst/work
...
Fix golint issue caused by typo
2021-01-06 09:28:08 +01:00
Guangwen Feng
e2cd6c5f57
Fix golint issue caused by typo
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2021-01-06 15:54:35 +08:00
Björn Rabenstein
997bb7134f
Merge pull request #8338 from prometheus/release-2.24
...
Merge release back (or forward?) into master.
2021-01-04 18:13:09 +01:00
Björn Rabenstein
de4fbed840
Merge pull request #8337 from prometheus/beorn7/sd
...
prevent adding empty target when CNAME is encountered
2021-01-04 17:52:04 +01:00
Frederic Branczyk
19b0ec3baf
Merge pull request #8273 from fcddk/fcddk-k8s-enpoints-label
...
K8s SD: add endpoints labels metadata
2021-01-04 17:25:27 +01:00
Matt Berther
31e86ed4bc
prevent adding empty target when CNAME is encountered
...
Signed-off-by: Matt Berther <mattberther@users.noreply.github.com>
2021-01-04 15:51:41 +01:00
Julien Pivotto
0fd5ed0648
Merge pull request #8336 from roidelapluie/dochttp
...
Add https to navbar and fix link in it
2021-01-04 11:27:43 +01:00
Ganesh Vernekar
063154eab7
Automate part of TestMaxQuerySamples ( #8314 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-01-04 14:33:36 +05:30
Julien Pivotto
438ab463ad
Fix link in documentation
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-04 01:12:47 +01:00
Julien Pivotto
c04284ff90
Add https and authentication to the navbar
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-01-04 01:12:47 +01:00
Frederic Branczyk
83c5fa1ea5
Merge pull request #8332 from brancz/fix-grafana-config
...
mixin: Scope grafana config
2020-12-30 19:47:31 +01:00
Frederic Branczyk
62bc755733
mixin: Scope grafana config
...
In its current form this configuration clashes in one of the most widely
used configurations (kube-prometheus). This patch scopes the
configuration to prevent this.
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-12-30 17:50:34 +01:00