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>
4 years ago
Julien Pivotto
02ee690e3c
Merge pull request #8407 from roidelapluie/deprecate-alertmanager-timeout-flag
...
Deprecate --alertmanager.timeout
4 years ago
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>
4 years ago
Julien Pivotto
2316062d4e
Deprecate --alertmanager.timeout
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Ganesh Vernekar
b5dfa2414b
Fix flaky TestAtModifier ( #8401 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
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>
4 years ago
Ganesh Vernekar
a7e446cf2d
Link blog post on TSDB queries in tsdb/README.md ( #8391 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
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>
4 years ago
Julien Pivotto
82330b96ee
Merge pull request #8384 from prometheus/beorn7/release-2.24
...
Merge release-2.24 forward into main branch
4 years ago
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>
4 years ago
beorn7
2344b2c514
Merge branch 'master' into beorn7/release-2.24
4 years ago
beorn7
94d70e76cd
Merge branch 'master' into beorn7/release-2.24
4 years ago
beorn7
e448727485
Cut v2.24.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
beorn7
806a799195
Update exporter-toolkit dependency to 0.5.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Julien Pivotto
b7fe028740
Merge pull request #8373 from hs0210/work
...
Fix a typo in docs/configuration/configuration.md
4 years ago
Hu Shuai
2d8738c947
Fix a typo in docs/configuration/configuration.md
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
4 years ago
Julien Pivotto
c83e4a7b1c
Merge pull request #8370 from prometheus/superq/force_security.md
...
Enforce SECURITY.md updates
4 years ago
Ben Kochie
2fd1243b0e
Enforce SECURITY.md updates
...
Add SECURITY.md to the enforced repo sync updates.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Julien Pivotto
e483cff61f
Merge pull request #8249 from prometheus/add-codeql
...
Add CodeQL Security Scanning
4 years ago
Julien Pivotto
5bd7145e55
Merge pull request #8327 from roidelapluie/tlsexemple
...
https: Add example configuration file
4 years ago
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>
4 years ago
Julien Pivotto
08c259cda6
https: Add example configuration file
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
b82d76faec
Merge pull request #8363 from roidelapluie/toolkit-update
...
Update exporter-toolkit to 0.5.0
4 years ago
Julien Pivotto
ac2626757c
Update exporter-toolkit to 0.5.0
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
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>
4 years ago
Julien Pivotto
fd022965c0
Add SECURITY.md file ( #8292 )
...
* Add SECURITY.md file
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
34656bbf8e
PromQL parser: fastpath for non-empty matchers and metric name ( #8345 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Guangwen Feng
2df1a482da
Fix misspelled word in comment ( #8348 )
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
4 years ago
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>
4 years ago
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>
4 years ago
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
4 years ago
Björn Rabenstein
02e92236a8
Merge pull request #8346 from prometheus/beorn7/release
...
Cut final v2.24.0
4 years ago
beorn7
a6d4e8c636
Cut final v2.24.0
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Julien Pivotto
8dfbad7a88
Merge pull request #8344 from fenggw-fnst/work
...
Fix golint issue caused by typo
4 years ago
Guangwen Feng
e2cd6c5f57
Fix golint issue caused by typo
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
4 years ago
Björn Rabenstein
997bb7134f
Merge pull request #8338 from prometheus/release-2.24
...
Merge release back (or forward?) into master.
4 years ago
Björn Rabenstein
de4fbed840
Merge pull request #8337 from prometheus/beorn7/sd
...
prevent adding empty target when CNAME is encountered
4 years ago
Frederic Branczyk
19b0ec3baf
Merge pull request #8273 from fcddk/fcddk-k8s-enpoints-label
...
K8s SD: add endpoints labels metadata
4 years ago
Matt Berther
31e86ed4bc
prevent adding empty target when CNAME is encountered
...
Signed-off-by: Matt Berther <mattberther@users.noreply.github.com>
4 years ago
Julien Pivotto
0fd5ed0648
Merge pull request #8336 from roidelapluie/dochttp
...
Add https to navbar and fix link in it
4 years ago
Ganesh Vernekar
063154eab7
Automate part of TestMaxQuerySamples ( #8314 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
Julien Pivotto
438ab463ad
Fix link in documentation
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
c04284ff90
Add https and authentication to the navbar
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Frederic Branczyk
83c5fa1ea5
Merge pull request #8332 from brancz/fix-grafana-config
...
mixin: Scope grafana config
4 years ago
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>
4 years ago
Björn Rabenstein
32d8dee872
Merge pull request #8331 from prometheus/release-2.24
...
Cut v2.24.0-rc.0
4 years ago
beorn7
0cb133aaa5
Remove CHANGELOG entry about logging
...
This happens against the explicit objection of the release shepherd.
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
beorn7
d9ab154fbe
More CHANGELOG tweaks
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
beorn7
94bcfe3b91
Tweak CHANGELOG.md
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
beorn7
e5ba7878ab
Cut v2.24.0-rc.0
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago