Julien Pivotto
3e1c268828
Merge pull request #12911 from prometheus/dependabot/github_actions/scripts/actions/checkout-4.1.0
...
build(deps): bump actions/checkout from 4.0.0 to 4.1.0 in /scripts
1 year ago
dependabot[bot]
216cf6046e
build(deps): bump actions/checkout from 4.0.0 to 4.1.0 in /scripts
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Julien Pivotto
2fe9e7bfd7
Merge pull request #12907 from mmorel-35/errorlint/model
...
ci(lint): enable errorlint linter on model
1 year ago
Matthieu MOREL
0a513f827d
ci(lint): enable errorlint linter on model
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 year ago
Julien Pivotto
a38179c4e1
Merge pull request #12901 from khallai/khallai
...
Fixed broken feature flag link on Functions page
1 year ago
Julien Pivotto
ac0919d48c
Update docs/querying/functions.md
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
4d18ed24d2
Merge pull request #12905 from roidelapluie/up-sec-up
...
UI: Update some dependencies
1 year ago
Julien Pivotto
b6dbfcc15f
Merge pull request #12903 from roidelapluie/fix-pr-7023
...
rulefmt: remove unreachable code
1 year ago
Julien Pivotto
76ebd621d6
UI: Update word-wrap (GHSA-j8xg-fqg3-53r7)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
3d80cb1325
UI: Update json5 (GHSA-9c47-m6qq-7p4h)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
d50c7d3bfc
UI: Update loader-utils (GHSA-hhq3-ff78-jv3g GHSA-3rfm-jhwj-7488)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
f24dc17fcc
UI: Update semver (GHSA-c2qf-rxjj-qqgw)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
ca12cb8909
UI: Update tough-cookie (GHSA-72xf-g2v4-qvf3 GHSA-76p3-8jx3-jpfq)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
b6fbda0c8a
UI: Update Webpack (GHSA-hc6q-2mpp-qw7j)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
77bc6b01f0
Merge pull request #11348 from gabibguti/main
...
Add OpenSSF Scorecards GitHub Action
1 year ago
Julien Pivotto
19b4cb2f48
OpenSSF: Run on main and PR's
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Gabriela Gutierrez
6237aba7c4
Fix trailing spaces
...
Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
1 year ago
Gabriela Gutierrez
17caa505b1
Add Google copyright notice
...
Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
1 year ago
Gabriela Gutierrez
9a628bb1c8
Add OpenSSF Scorecard badge to README.md
...
Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
1 year ago
Gabriela Gutierrez
a1c1fc8244
Create scorecards.yml
...
Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
1 year ago
Julien Pivotto
4b735f02a6
Merge pull request #10569 from zzJinux/discovery-manager-run
...
Fix discovery managers to be properly cancelled
1 year ago
Julien Pivotto
c52db2b196
Remove duplicate tests
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
johncming
5d68ebb207
pkg/rulefmt: fix bug of validate.
...
Signed-off-by: johncming <johncming@yahoo.com>
1 year ago
Julien Pivotto
a56e5a1da0
Merge pull request #12898 from mmorel-35/lint/errorlint
...
ci(lint): enable errorlint linter on cmd
1 year ago
lasea75
f15f0ac16a
Update functions.md
...
Signed-off-by: lasea75 <lasea75@gmail.com>
1 year ago
Matthieu MOREL
67dcca5005
ci(lint): enable errorlint linter on cmd
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 year ago
Björn Rabenstein
0de7f39e6a
Merge pull request #12894 from linasm/linasm/test-case-for-ValidateHistogram
...
Additional test case for ValidateHistogram
1 year ago
Linas Medziunas
1aad4004c3
Additional test case for ValidateHistogram
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
1 year ago
Julien Pivotto
a3f424641a
Merge pull request #6724 from peergynt/template_reference
...
Added externalURL and pathPrefix functions to Template reference docs
1 year ago
Julien Pivotto
a8cdb7eb6c
Merge branch 'main' into template_reference
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Bryan Boreham
6dcbd653e9
tsdb: register metrics after Head is initialized ( #12876 )
...
This avoids situations where metrics are scraped before the data they
are trying to look at is initialized.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Alan Protasio
a15e884e7a
Prevent Prometheus from overallocating memory on subquery with large amount of steps. ( #12734 )
...
* change initial points slice size
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* refactor on the steps calculation and moving the getXPoint/putXPoint method to the evaluator
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* prevent potential panic
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* Update promql/engine.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* Update promql/engine.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* Update promql/engine.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* Update promql/engine.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* Allocating slice with maximum size of 5k
Signed-off-by: Alan Protasio <alanprot@gmail.com>
* adding comments
Signed-off-by: Alan Protasio <alanprot@gmail.com>
---------
Signed-off-by: Alan Protasio <alanprot@gmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
1 year ago
ouyang1204
5d233df7ef
Fix rule check broken ( #12715 )
...
Signed-off-by: DrAuYueng <ouyang1204@gmail.com>
1 year ago
Goutham Veeramachaneni
86729d4d7b
Update exp package ( #12650 )
1 year ago
Björn Rabenstein
f8dd8770ac
Merge pull request #12757 from bboreham/reuse-bufiter
...
TSDB: re-use iterator when moving between series
1 year ago
Björn Rabenstein
ade2ee3fe4
Merge pull request #12716 from bboreham/simplify-seek
...
storage: simplify Seek on BufferedSeriesIterator
1 year ago
Bryan Boreham
91054875d6
Merge pull request #12732 from bboreham/simplify-rangeeval
...
promql: simplify inner loop of rangeEval
1 year ago
Bryan Boreham
d498bb0d8c
Merge pull request #12875 from dimitarvdimitrov/dimitar/TestQuerierIndexQueriesRace-incorrect-exit-condition
...
Fix samples generation in TestQuerierIndexQueriesRace
The loop would run forever if the context was cancelled before the goroutine got started.
1 year ago
Dimitar Dimitrov
6f1284ac93
Fix exit condition of TestQuerierIndexQueriesRace
...
The test was introduced in # but was changed during the code review and not reran with the faulty code since then.
Closes #
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
1 year ago
Bryan Boreham
bca9a79bca
Merge pull request #12877 from bboreham/fix-promtool
...
promtool: fix compile error from bad merge
1 year ago
Bryan Boreham
5ecea3c840
promtool: fix compile error from bad merge
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Björn Rabenstein
864da019cd
Merge pull request #12874 from krajorama/outof-order-chunks
...
Fix duplicate sample detection at chunk size limit
1 year ago
Björn Rabenstein
9071913fd9
Merge pull request #12831 from aknuds1/arve/posting-context
...
Add context argument to `tsdb.PostingsForMatchers`
1 year ago
Bryan Boreham
2b77ad4591
Merge pull request #12677 from bboreham/retry-on-500
...
remote-write: respect Retry-After header on 5xx errors
1 year ago
György Krajcsovits
9dbd100a5e
Refactor solution to not repeat code
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
1 year ago
György Krajcsovits
96d03b6f46
Fix duplicate sample detection at chunks size limit
...
Before cutting a new XOR chunk in case the chunk goes over the size
limit, check that the timestamp is in order and not equal or older
than the latest sample in the old chunk.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
1 year ago
György Krajcsovits
56b3a015b6
Add regression test for duplicate detection at chunk size limit
...
TestHeadDetectsDuplcateSampleAtSizeLimit tests a regression where a
duplicate sample,is appended to the head, right when the head chunk is
at the size limit. The test adds all samples as duplicate, thus
expecting that the result has exactly half of the samples.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
1 year ago
Ben Ye
c78124427e
Support specifying series matchers to analyze tsdb ( #12842 )
...
* support specifying series matchers to analyze tsdb
Signed-off-by: Ben Ye <benye@amazon.com>
* fix cli docs
Signed-off-by: Ben Ye <benye@amazon.com>
---------
Signed-off-by: Ben Ye <benye@amazon.com>
1 year ago
William Dumont
ce6ad15422
remote-write: TestClientRetryAfter status code 500
...
and compare the retryAfter values.
Signed-off-by: William Dumont <william.dumont@grafana.com>
1 year ago
William Dumont
febd62a23e
remote-write: refactor TestClientRetryAfter
...
The new version features a set of test cases that simplify the addition
of new HTTP status codes.
Signed-off-by: William Dumont <william.dumont@grafana.com>
1 year ago