Ganesh Vernekar
aa3f8d0975
Cut v2.40.3
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-23 18:16:54 +05:30
Ganesh Vernekar
ad79fb9f25
Do not error on empty chunk during iteration in populateWithDelChunkSeriesIterator
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-23 17:32:28 +05:30
Ganesh Vernekar
d0e683e26d
Add TestCompactHeadWithDeletion to test compaction failure after deletion
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-23 17:31:18 +05:30
Ganesh Vernekar
a07a94a5ab
Merge pull request #11590 from codesome/cut2402
...
Cut v2.40.2
2022-11-17 14:34:16 +01:00
Ganesh Vernekar
ef886ac4b3
Cut v2.40.2
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-16 13:54:46 +01:00
Julius Volz
1eb327b99b
Fix black-on-black metric name color in dark mode ( #11572 )
...
The color should not be set explicitly at all. That way it simply inherits the
theme's default color, as before
https://github.com/prometheus/prometheus/pull/11068 .
Fixes https://github.com/prometheus/prometheus/issues/11568
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-11-16 13:50:37 +01:00
Ganesh Vernekar
965274259f
Cut v2.40.1 ( #11557 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-09 13:31:01 +01:00
Björn Rabenstein
a61c4b266a
scrape: Fix accept header, now for real ( #11552 )
...
This reinstates the behavior of v2.39. The header got messed up in the
sparsehistogram when the change of the version in main was merged into
it (and the merge conflict had to be resolved).
I don't think the current state will actually break anyone, although
it is technically possible. I propose to merge this into the bugfix
branch in any case, but I think we can wait for other bugfixes before
cutting a v2.40.1. (Unless, of course, somebody reports an actual
breakage because of the header.)
Signed-off-by: beorn7 <beorn@grafana.com>
2022-11-09 11:19:25 +01:00
Julien Pivotto
739494d81b
Fix alignment of atomic int64 ( #11547 )
...
* Fix atomix int64 placement
* Test main for 386
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-11-09 11:18:49 +01:00
Ganesh Vernekar
c08d76b363
Cut v2.40.0 ( #11543 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-07 19:06:52 +01:00
Björn Rabenstein
54ce07e9a0
scrape: Fix accept header ( #11542 )
...
First of all, there was a typo: `encoding=delimited` was a left-over
in the `scrapeAcceptHeader`.
Second, the recently updated `version=1.0.0` prevents current versions
of client_golang to negotiate OpenMetrics, as they expect
`version=0.0.1` or no version at all. This commit adds, with lower
priority, the latter (no version at all) to the accept header.
Fixes #11540 ,
Signed-off-by: beorn7 <beorn@grafana.com>
2022-11-07 18:22:03 +01:00
Ganesh Vernekar
033b3efb12
Cut v2.40.0-rc.0 ( #11525 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-03 15:20:38 -04:00
Ganesh Vernekar
6dd4e907a3
Update dependencies for 2.40 ( #11524 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-11-03 11:48:01 -04:00
Julien Pivotto
7a67a728a8
Followup on OVHCloud merge ( #11529 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-11-03 15:04:19 +01:00
Marine Bal
16c3aa75c0
Add service discovery for OvhCloud ( #10802 )
...
* feat(ovhcloud): add ovhcloud management
Signed-off-by: Marine Bal <marine.bal@corp.ovh.com>
Co-authored-by: Arnaud Sinays <sinaysarnaud@gmail.com>
2022-11-03 10:20:09 +01:00
dependabot[bot]
e576103d7e
build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ( #11512 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
2022-11-03 01:15:35 +01:00
Björn Rabenstein
bd26ce440c
storage: Avoid duplicate function call in sampleRingIterator ( #11502 )
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-11-01 13:34:47 -04:00
Ganesh Vernekar
fa6e05903f
Merge pull request #11447 from prometheus/sparsehistogram
...
Add Support for Native Histograms
This PR merges all the coding work that has been done in sparsehistogram branch over the last 1 year into main branch.
Design doc on native histograms: https://docs.google.com/document/d/1cLNv3aufPZb3fNfaJgdaRBZsInZKKIHo9E6HinJVbpM/edit
Some sneak peak: https://www.youtube.com/watch?v=T2GvcYNth9U
2022-10-26 17:10:46 -04:00
Viacheslav Panasovets
3d2e18bad5
Fix time.Since() in defer. Wrap in anonymous function ( #11489 )
...
Function arguments in defer evaluated during definition of defer, not
during execution
Signed-off-by: Slavik Panasovets <slavik@google.com>
Signed-off-by: Slavik Panasovets <slavik@google.com>
2022-10-26 00:26:12 +02:00
Ganesh Vernekar
e3719d670b
Merge remote-tracking branch 'upstream/main' into sparsehistogram
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-25 14:38:56 -04:00
David Cañadillas
51a44e6657
Adding Consul Enterprise Admin Partitions ( #11482 )
...
* Adding Consul Enterprise Admin Partitions
Signed-off-by: dcanadillas <dcanadillas@hashicorp.com>
2022-10-21 14:13:01 +02:00
Björn Rabenstein
503ffba49a
chunkenc: Slightly optimize xorWrite/xoRead ( #11476 )
...
With these changes, the "happy path" when the leading and trailing
number of bits don't need an update, fewer operations are needed.
The change is probably very marginal (no change in the benchmark added
here, but the benchmark also doesn't cover non-changing values), and
an argument could me made that avoiding pointers also has its
benefits.
However, I think that reducing the number of return values improves
readability. Which convinced me that I should at least propose this.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-20 15:08:01 +05:30
Alan Protasio
5ac12ac351
api: Wrapped promQL based API errors with returnAPIError
function ( #11356 )
...
* wrap api error on get series/labels on `returnAPIError` function
Signed-off-by: Alan Protasio <approtas@amazon.com>
* lint
Signed-off-by: Alan Protasio <approtas@amazon.com>
* query exemplars
Signed-off-by: Alan Protasio <approtas@amazon.com>
Signed-off-by: Alan Protasio <approtas@amazon.com>
2022-10-20 11:17:00 +02:00
Ganesh Vernekar
a5feccae6e
Add codesome as v2.40.0 release shepherd ( #11475 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-19 15:23:38 +02:00
Ganesh Vernekar
04b370da00
Disable snapshot on shutdown if native histograms are enabled ( #11473 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-19 15:21:29 +05:30
GabyCT
76b0d26be8
Update url for configuration.md doc ( #11461 )
...
This PR updates the Serverset url at the configuration.md documentation.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2022-10-14 23:23:20 +02:00
Björn Rabenstein
41035469d3
Document the native histogram feature flag and PromQL ( #11446 )
...
Signed-off-by: beorn7 <beorn@grafana.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-14 18:16:12 +05:30
Björn Rabenstein
50529b4804
doc: Document the native histogram JSON format ( #11454 )
...
As used in the HTTP query API.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-14 17:08:31 +05:30
Björn Rabenstein
1c798ec930
doc: Add notes about feature not yet supported for native histograms ( #11453 )
...
Namely federation and recording rules.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-14 16:35:27 +05:30
dependabot[bot]
dc5af36d83
build(deps): bump google.golang.org/api from 0.96.0 to 0.98.0 ( #11392 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.96.0 to 0.98.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.96.0...v0.98.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 12:33:01 +02:00
dependabot[bot]
55ad5f33ba
build(deps): bump github.com/digitalocean/godo from 1.84.1 to 1.86.0 ( #11393 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.84.1 to 1.86.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.84.1...v1.86.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 12:32:50 +02:00
Björn Rabenstein
00aa85e06e
Merge pull request #11452 from prometheus/beorn7/doc2
...
web: Mark experimental state of native histograms in tooltips
2022-10-12 15:17:22 +02:00
Ganesh Vernekar
05b7af28ee
Merge pull request #11450 from codesome/fix-conflict
...
Sync sparsehistogram branch with main branch
2022-10-12 18:33:26 +05:30
beorn7
6c0c093e0f
web: Mark experimental state of native histograms in tooltips
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-12 14:45:08 +02:00
Ganesh Vernekar
8ee4dfd40c
Fix the build after conflict resolution
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 17:59:42 +05:30
Björn Rabenstein
8d045058c8
Merge pull request #11448 from codesome/gateproto
...
Gate protobuf scraping and update help text for enable-feature
2022-10-12 13:57:07 +02:00
Ganesh Vernekar
648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 14:20:02 +05:30
Ganesh Vernekar
8e29110949
Add/Improve unit tests for compaction with histogram ( #11342 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 13:31:12 +05:30
Ganesh Vernekar
081ad2d690
Update help text for enable-feature to mention native-histograms
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 13:27:37 +05:30
Ganesh Vernekar
3cbf87b83d
Enable protobuf negotiation only when histograms are enabled
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 13:27:22 +05:30
Ganesh Vernekar
bde500e690
Merge pull request #11420 from jesusvazquez/jvp/update-sparsehistogram-with-main-v2
...
Merge branch 'main' into sparsehistogram
2022-10-12 11:45:50 +05:30
Ganesh Vernekar
507bfa46fd
Fix HistogramChunk's AtFloatHistogram()
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-12 10:38:13 +05:30
dependabot[bot]
ee1c8f3a25
build(deps): bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 ( #11382 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.7.0...v1.8.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 00:21:01 +02:00
Signed-off-by: Jesus Vazquez
3362bf6d79
Fix merge conflicts
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-11 22:53:37 +05:30
beorn7
430bdc9dd0
prompb: Add note about experimental state of native histograms
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-11 14:08:40 +02:00
Björn Rabenstein
a5f0928786
Merge pull request #11418 from prometheus/beorn7/sparsehistogram
...
histogram: Modify getBound to deal properly with infinity
2022-10-11 12:58:02 +02:00
Frederic Branczyk
d816106e3e
Merge pull request #11440 from roidelapluie/obscomment
...
k8s example: Remove obsolete comment
2022-10-10 21:30:27 +02:00
Brian Choromanski
407a29386f
Updated feature request template ( #11412 )
...
* Updated feature request template
Signed-off-by: Brian Choromanski <BrianChoromanski@gmail.com>
* Added newline to the end of file
Signed-off-by: Brian Choromanski <BrianChoromanski@gmail.com>
* Ran yamllint on feature_request.yml
Signed-off-by: Brian Choromanski <BrianChoromanski@gmail.com>
* Made proposal required
Signed-off-by: Brian Choromanski <BrianChoromanski@gmail.com>
Signed-off-by: Brian Choromanski <BrianChoromanski@gmail.com>
2022-10-10 18:10:54 +02:00
Julien Pivotto
b355e833d5
k8s example: Remove obsolete comment
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-10-10 18:09:39 +02:00
Jesus Vazquez
775d90d5f8
TSDB: Rename wal package to wlog ( #11352 )
...
The wlog.WL type can now be used to create a Write Ahead Log or a Write
Behind Log.
Before the prefix for wbl metrics was
'prometheus_tsdb_out_of_order_wal_' and has been replaced with
'prometheus_tsdb_out_of_order_wbl_'.
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
Signed-off-by: Jesus Vazquez <jesusvazquez@users.noreply.github.com>
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2022-10-10 20:38:46 +05:30