Jesus Vazquez
f269077855
Protect NewOOOCompactionHead from an unitialized wbl
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2 years ago
Ganesh Vernekar
36b04efc7b
Merge pull request #11947 from prometheus/beorn7/protobuf
...
protobuf: Mark repeated fields as non-nullable
2 years ago
Ganesh Vernekar
ebc2b419ca
Merge pull request #11935 from charleskorn/non-nullable-bucketspans
...
Mark `Histogram.positive_spans` and `negative_spans` as non-nullable.
2 years ago
beorn7
1dd53843b6
protobuf: Mark repeated fields as non-nullable
...
Inspired by #11935 , we can do it here, too.
Also, clean up indentation.
Signed-off-by: beorn7 <beorn@grafana.com>
2 years ago
Charles Korn
0a1de58f7e
Mark Histogram.(Positive|Negative)Spans as non-nullable.
...
As far as I understand it, we'd never expect to receive a nil span,
and remote.spansProtoToSpans would panic if we received a nil span.
Marking the fields as non-nullable also means the generated Golang
code doesn't use pointers for these fields, reducing allocations.
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2 years ago
Julien Pivotto
c70d85baed
Merge pull request #11916 from prometheus/release-2.42
...
Merge 2.42 to main
2 years ago
George Krajcsovits
1f0cc09579
Export single ith test histogram generation functions ( #11911 )
...
* Export single ith test histogram generation functions
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Do not set counter reset hint for non-gauge histograms individually
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Apply suggestions from code review
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
---------
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2 years ago
Kemal Akkoyun
225c61122d
Cut v2.42.0 ( #11912 )
...
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2 years ago
Kemal Akkoyun
aee2ea4713
Update changelog for 2.42 ( #11909 )
...
* Update changelog
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
* Reorder entries
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
---------
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2 years ago
Charles Korn
e023d896f2
Correct statement in docs about query results returning either floats or histograms but not both. ( #11880 )
...
* Correct statement in docs about query results returning either floats or histograms but not both.
* Move documentation for range and instant vectors under their corresponding headings.
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2 years ago
Ganesh Vernekar
8e8b718365
Merge pull request #11858 from fayzal-g/fix-chunks-metrics
...
tsdb: when reading WAL, correctly update chunksRemoved and chunks metrics
2 years ago
Kemal Akkoyun
7b9cc7eea3
Cut v2.42.0-rc.0 ( #11902 )
...
* Cut v2.42.0-rc.0
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
* Add missing log items
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2 years ago
Bartlomiej Plotka
6dcfb71740
Merge pull request #11897 from pracucci/propose-to-change-query-canceled-status-code
...
API: change HTTP status code from 503/422 to 499 if a request is canceled
2 years ago
Marco Pracucci
3db77b4491
API: change HTTP status code tracked in metrics form 503/422 to 499 if a request is canceled
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
2 years ago
Kemal Akkoyun
068b6189d8
Merge pull request #11899 from prometheus/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.187
...
build(deps): bump github.com/aws/aws-sdk-go from 1.44.186 to 1.44.187
2 years ago
Kemal Akkoyun
0945628a55
Merge pull request #11901 from prometheus/dependabot/github_actions/actions/cache-3.2.3
...
build(deps): bump actions/cache from 3.2.2 to 3.2.3
2 years ago
Björn Rabenstein
60d763282e
Merge pull request #11864 from prometheus/beorn7/histogram2
...
histograms: Return actually useful counter reset hints
2 years ago
Bartlomiej Plotka
aee77bc790
Merge pull request #11895 from kakkoyun/upgrade_ui_deps
...
Upgrade UI dependencies
2 years ago
dependabot[bot]
ad25842b0b
build(deps): bump actions/cache from 3.2.2 to 3.2.3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.2.2...v3.2.3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Kemal Akkoyun
c3b358d203
Merge pull request #11893 from kakkoyun/upgrade_several_dependencies
...
Upgrade several CI dependencies
2 years ago
dependabot[bot]
787e50550b
build(deps): bump github.com/aws/aws-sdk-go from 1.44.186 to 1.44.187
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.186 to 1.44.187.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.186...v1.44.187 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Kemal Akkoyun
441e1df0ee
Update dependencies for 2.42 ( #11891 )
...
* Update dependencies
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
* Revert azure sdk upgrade
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2 years ago
dependabot[bot]
104b07511d
build(deps): bump bufbuild/buf-setup-action from 1.9.0 to 1.12.0
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.9.0 to 1.12.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.9.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
b508ae6318
Bump dessant/lock-threads from 3 to 4
...
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads ) from 3 to 4.
- [Release notes](https://github.com/dessant/lock-threads/releases )
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: dessant/lock-threads
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
02e0170432
Bump actions/cache from 3.0.11 to 3.2.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.11 to 3.2.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.2.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
9f61e006ba
Bump bufbuild/buf-setup-action from 1.9.0 to 1.11.0
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.9.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Kemal Akkoyun
bab3b4e3c3
Upgrade dependencies
...
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2 years ago
Julien Pivotto
3a43736a36
Merge pull request #11896 from mmorel-35/patch-1
...
Use secrets.GITHUB_TOKEN and clean up workflows
2 years ago
Matthieu MOREL
c1ab86757a
Update buf.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
c0de8d014a
Update repo_sync.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
ea1f06885f
Update prombench.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
03c2fcff19
Update lock.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
077fcddc96
Update fuzzing.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
ca3abe1eba
Update funcbench.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
1ec0786fa9
Update codeql-analysis.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
fecbfa0d14
Update ci.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
ff8f787f54
Update buf.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Matthieu MOREL
e41cbdf31f
Update buf-lint.yml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Kemal Akkoyun
ae597cac62
Upgrade several UI dependencies ( #11894 )
...
* build(deps): bump @codemirror/autocomplete in /web/ui
Bumps [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/codemirror/autocomplete/releases )
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/compare/6.3.0...6.4.0 )
---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump @fortawesome/fontawesome-svg-core in /web/ui
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.2.0...6.2.1 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
beorn7
49c5b1fae4
histograms: Fix counter reset header during merging
...
See detailed discussion:
https://github.com/prometheus/prometheus/pull/11864#issuecomment-1403963451
Signed-off-by: beorn7 <beorn@grafana.com>
2 years ago
beorn7
1cfc8f65a3
histograms: Return actually useful counter reset hints
...
This is a bit more conservative than we could be. As long as a chunk
isn't the first in a block, we can be pretty sure that the previous
chunk won't disappear. However, the incremental gain of returning
NotCounterReset in these cases is probably very small and might not be
worth the code complications.
Wwith this, we now also pay attention to an explicitly set counter
reset during ingestion. While the case doesn't show up in practice
yet, there could be scenarios where the metric source knows there was
a counter reset even if it might not be visible from the values in the
histogram. It is also useful for testing.
Signed-off-by: beorn7 <beorn@grafana.com>
2 years ago
Kemal Akkoyun
ae3406c1ef
Merge pull request #11661 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.14.0
...
build(deps): bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0 in /documentation/examples/remote_storage
2 years ago
dependabot[bot]
e3a296dfc5
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Kemal Akkoyun
452d858315
Merge pull request #11795 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/influxdata/influxdb-1.11.0
...
Bump github.com/influxdata/influxdb from 1.10.0 to 1.11.0 in /documentation/examples/remote_storage
2 years ago
Julien Pivotto
44ef49805c
Merge pull request #11890 from prometheus/release-2.41
...
Merge back Release 2.41
2 years ago
Shan Aminzadeh
cdfd18ce00
[lezer-promql] Fix package.json main to point to correct cjs module ( #11888 )
...
Signed-off-by: Shan Aminzadeh <shan.aminzadeh@chronosphere.io>
2 years ago
Julien Pivotto
f08730df7e
Merge pull request #11889 from prometheus/kakkoyun-release-patch
...
Add kakkoyun as volunteer as the next release shepherd
2 years ago
Kemal Akkoyun
5db15397ed
Add kakkoyun as volunteer as the next release shepherd
...
I'd be happy to help with the next release.
cc @roidelapluie
Signed-off-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
2 years ago
Julien Pivotto
aeecf6854f
Merge pull request #11827 from roidelapluie/stabilize
...
Add 'keep_firing_for' field to alerting rules
2 years ago
Björn Rabenstein
9fb8fe0d4e
Merge pull request #11881 from krajorama/histograms-resethint-in-remote-write
...
Fix storage/remote/codec ignoreing histogram reset hint
2 years ago