machine424
9e43ad2e37
chore(remote_write): clean up as watcher.go is part of wlog now
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
4 months ago
Arve Knudsen
e92a18b6ce
Merge pull request #14590 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/Azure/azure-sdk-for-go/sdk/azidentity-1.6.0
...
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.2 to 1.6.0 in /documentation/examples/remote_storage
4 months ago
dependabot[bot]
58aa188747
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.2...sdk/azcore/v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Arve Knudsen
0cac919c4a
Merge pull request #14587 from prometheus/dependabot/npm_and_yarn/web/ui/follow-redirects-1.15.6
...
build(deps): bump follow-redirects from 1.15.2 to 1.15.6 in /web/ui
4 months ago
Arve Knudsen
db803c7357
Merge pull request #14589 from prometheus/dependabot/npm_and_yarn/web/ui/express-4.19.2
...
build(deps-dev): bump express from 4.18.1 to 4.19.2 in /web/ui
4 months ago
Arve Knudsen
760649d91f
Merge pull request #14588 from prometheus/dependabot/npm_and_yarn/web/ui/ejs-3.1.10
...
build(deps-dev): bump ejs from 3.1.8 to 3.1.10 in /web/ui
4 months ago
dependabot[bot]
983d0bd5cb
build(deps-dev): bump express from 4.18.1 to 4.19.2 in /web/ui
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
12dd999164
build(deps-dev): bump ejs from 3.1.8 to 3.1.10 in /web/ui
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.8...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
6b9c386d14
build(deps): bump follow-redirects from 1.15.2 to 1.15.6 in /web/ui
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Arve Knudsen
5f6221743f
Merge pull request #14583 from prometheus/dependabot/npm_and_yarn/web/ui/braces-3.0.3
...
build(deps): bump braces from 3.0.2 to 3.0.3 in /web/ui
4 months ago
dependabot[bot]
099d209a26
build(deps): bump braces from 3.0.2 to 3.0.3 in /web/ui
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
5681ec50e1
build(deps): bump @lezer/lr from 1.4.1 to 1.4.2 in /web/ui ( #14560 )
...
Bumps [@lezer/lr](https://github.com/lezer-parser/lr ) from 1.4.1 to 1.4.2.
- [Changelog](https://github.com/lezer-parser/lr/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/lr/compare/1.4.1...1.4.2 )
---
updated-dependencies:
- dependency-name: "@lezer/lr"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Bartlomiej Plotka
ed8acee9a1
Merge pull request #14549 from prometheus/rw20-exemplar-timestamp
...
[rw2.0] change comment that allows timestamps to be optional
4 months ago
dependabot[bot]
a5666dded5
build(deps): bump @codemirror/view from 6.28.3 to 6.29.1 in /web/ui ( #14564 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 6.28.3 to 6.29.1.
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/6.28.3...6.29.1 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Callum Styan
6ca5b9cd40
regenerate pb files with new comment
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
4 months ago
Callum Styan
2bcac1b77b
change comment that allows timestamps to be optional
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
4 months ago
George Krajcsovits
00ab05c3b9
Native histograms: fix spurios counter reset when merging recoded chunk to normal chunk ( #14513 )
...
* chunkenc: allow missing empty buckets on histogram append
Allow appending to chunks when the histogram to be added is missing
some buckets, but the missing buckets are empty in the chunk.
For example bucket at index 5 is present in the chunk, but its value
is 0 and the new histogram doesn't have a bucket at index 5.
This fixes an issue of merging chunks where one chunk was recoded to
retroactively have some empty buckets in all the histograms and we are
merging in a histogram that doesn't have the empty bucket (because it
was not recoded yet).
The operation alters the histogram that is being added, however this has
already been the case when appending gauge histograms. Thus the test
TestHistogramSeriesToChunks in storage package is changed to explicitly
test what happened to the appended histogram - Compact(0) call is removed.
The new expandIntSpansAndBuckets and expandFloatSpansAndBuckets functions
are a merge of expandSpansForward and counterResetInAnyBucket and
counterResetInAnyFloatBucket.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
4 months ago
Augustin Husson
29b62762db
adapt the lezer grammar and codemirror autocompletion with duration and number that are equivalent ( #14417 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
4 months ago
dependabot[bot]
bffe0f80dc
build(deps): bump github.com/hetznercloud/hcloud-go/v2 ( #14535 )
...
Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go ) from 2.10.2 to 2.12.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases )
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v2.10.2...v2.12.0 )
---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
0dc00825f5
build(deps): bump github.com/digitalocean/godo from 1.118.0 to 1.119.0 ( #14529 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.118.0 to 1.119.0.
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.118.0...v1.119.0 )
---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
01209f0766
build(deps): bump github.com/linode/linodego from 1.37.0 to 1.38.0 ( #14530 )
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.37.0...v1.38.0 )
---
updated-dependencies:
- dependency-name: github.com/linode/linodego
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
31a77630ce
build(deps): bump github.com/gophercloud/gophercloud ( #14534 )
...
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/gophercloud/gophercloud/releases )
- [Changelog](https://github.com/gophercloud/gophercloud/blob/v1.14.0/CHANGELOG.md )
- [Commits](https://github.com/gophercloud/gophercloud/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/gophercloud/gophercloud
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
a319fd133a
build(deps): bump google.golang.org/api from 0.188.0 to 0.189.0 ( #14536 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.188.0 to 0.189.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.188.0...v0.189.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Bryan Boreham
f9d9b9ddbb
Merge pull request #13458 from mmorel-35/ossf-security-insight
...
chore: provide OSSF security insight
4 months ago
George Krajcsovits
d0d41cfebd
Merge pull request #14538 from fpetkovski/stats-hist-reset
...
Use CopyTo when resetting histogram in stats iterator
4 months ago
Filip Petkovski
3e6155e596
Use CopyTo when resetting histogram in stats iterator
...
The histogram stats iterator does not fully clear the histogram object
and is not resilient to new fields being added to the histogram type.
To resolve the issue, the commit uses the CopyTo methods which should
be future proof to new fields being added.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
4 months ago
Charles Korn
7fab72a280
promqltest: add support for setting counter reset hint on histogram samples ( #14537 )
...
* promqltest: add support for setting counter reset hint on histogram samples
Signed-off-by: Charles Korn <charles.korn@grafana.com>
4 months ago
Bartlomiej Plotka
6816149852
Merge pull request #14525 from colega/merge-mmmaxtime-into-shardhash
...
Store `mmMaxTime` in same field as `seriesShard`
4 months ago
Matthieu MOREL
2880ee8e46
chore: provide OSSF security insight
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
4 months ago
Callum Styan
1561815732
remote write: increase time threshold for resharding ( #14450 )
...
Don't reshard if we haven't successfully sent a sample in the last
shardUpdateDuration seconds.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: kushagra Shukla <kushalshukla110@gmail.com>
4 months ago
Max Amin
84b819a69f
feat: add Google cloud roundtripper for remote write ( #14346 )
...
* feat: Google Auth for remote write
Signed-off-by: Max Amin <maxamin@google.com>
---------
Signed-off-by: Max Amin <maxamin@google.com>
4 months ago
Bryan Boreham
79a0ba9d64
Merge pull request #13503 from tylitianrui/chore/remove_redundance
...
remove redundant code
4 months ago
dependabot[bot]
6cef8698c2
build(deps-dev): bump @lezer/generator from 1.7.0 to 1.7.1 in /web/ui ( #14382 )
...
Bumps [@lezer/generator](https://github.com/lezer-parser/generator ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/lezer-parser/generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/generator/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: "@lezer/generator"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Oleg Zaytsev
0300ad58a9
Revert the option regardless of error
...
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
4 months ago
Oleg Zaytsev
d8e1b6bdfd
Store mmMaxTime in same field as seriesShard
...
We don't use seriesShard during DB initialization, so we can use the
same 8 bytes to store mmMaxTime, and save those during the rest of the
lifetime of the database.
This doesn't affect CPU performance.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
4 months ago
Oleg Zaytsev
b7f2f3c3ac
Add BenchmarkLoadRealWLs
...
This benchmark runs on real WLs rather than fake generated ones.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
4 months ago
George Krajcsovits
395f7088c3
Merge pull request #14514 from fpetkovski/counter-reset-nan
...
Ignore stale histograms for counter reset detection
4 months ago
Bryan Boreham
a7c8ff00c6
Merge pull request #14515 from prometheus/revert-13777-remoteread2
...
Revert "Chunked remote read: close the querier earlier"
4 months ago
Filip Petkovski
2cd97c61e0
Add more test cases
...
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
4 months ago
Kushal shukla
fe12924638
promtool: JUnit-Format XML Test Results ( #14506 )
...
* Junit compatible output
Signed-off-by: Kushal Shukla <kushalshukla110@gmail.com>
4 months ago
Marco Pracucci
d4f098ae80
Fix relabel.Regexp zero value marshalling ( #14517 )
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 months ago
Bryan Boreham
6e89250a5d
Revert "Chunked remote read: close the querier earlier"
...
Believed to trigger segmentation faults due to memory-mapped block
data still being accessed by iterators after the querier is closed.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
4 months ago
Filip Petkovski
be7a4c9b83
Ignore stale histograms for counter reset detection
...
The histogram stats decoder keeps track of the last seen histogram sample
in order to properly detect counter resets. We are seeing an issue where
a histogram with UnknownResetHint gets treated as a counter reset when it follows
a stale histogram sample.
I believe that this is incorrect since stale samples should be completely ignored
in PromQL. As a result, they should not be stored in the histogram stats iterator
and the counter reset detection needs to be done against the last non-stale sample.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
4 months ago
Bryan Boreham
71c90c71d4
Merge pull request #14470 from bboreham/label-sep-byte
...
Labels: use single byte as separator - small speedup
4 months ago
Bryan Boreham
4dd705d867
Merge pull request #14496 from bboreham/fix-nil-primary
...
[BUGFIX] Storage: errors from a single secondary querier should be warnings.
4 months ago
Bryan Boreham
b03b895a03
Merge pull request #14497 from bboreham/explain-range-queries
...
[DOCS] Querying basics: explain range and instant queries
4 months ago
Bryan Boreham
c037a3df84
lint
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
4 months ago
Bryan Boreham
cc7dcf5afe
[DOCS] Querying basics: explain range and instant queries
...
I often see people ask questions that indicate they don't understand
this point, and launching into "instant vector" and "range vector" is
likely to point them in the wrong direction.
Remove the admonishment that the reader mustn't confuse these things.
Remove mention of "inferred sample timestamps" that is never explained.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
4 months ago
Bryan Boreham
12bd92a25c
[ENHANCEMENT] Storage: Short-circuit merge of single querier with no-op queriers
...
Filter before checking whether there is only one.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
4 months ago
Bryan Boreham
90d793e8c5
[BUGFIX] Storage: Single secondary querier errors should be warnings.
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
4 months ago