Ganesh Vernekar
9325caa41c
Remove a TODO that is no longer valid ( #11186 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-18 22:47:12 +05:30
Ganesh Vernekar
2d9b3f6e96
Add codesome for releasing 2.39 ( #11183 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-18 14:35:40 +02:00
Peter Štibraný
bec3143c6c
Remove unused tsdb.Options.NewChunkDiskMapper field. ( #318 )
...
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
2022-08-18 09:04:13 +00:00
Peter Štibraný
acd4a8a69d
Remove old chunk mapper. ( #311 )
...
* Remove old chunk mapper.
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
* Revert to code from upstream.
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
* Fix OOO test failures
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix sorting in TestOOOHeadChunkReader_LabelValues
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-18 08:38:17 +00:00
Xiaochao Dong
09187fb0cc
Replay WAL concurrently without blocking ( #10973 )
...
* Replay WAL concurrently without blocking
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
* Resolve review comments
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
2022-08-17 19:23:57 +05:30
Łukasz Mierzwa
3196c98bc2
Reduce memSeries memory usage by decoupling metadata ( #11152 )
...
Metadata was added recently but doesn't seem to be used much, at least as far as I could identify.
Yet it's part of memSeries struct and so even when empty takes 48 bytes,
which is a lot given that without it memSeries requires 224 bytes.
This change turns it into a pointer on the struct, that get set only when metadata is actually set of given series.
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-08-17 15:32:28 +05:30
Cosrider
af79dce8ea
Close file descriptor in query logging ( #11148 )
...
Signed-off-by: Cosrider <cosrider7@gmail.com>
Signed-off-by: Cosrider <cosrider7@gmail.com>
2022-08-17 15:27:27 +05:30
Nicolas Dumazet
9594fa4dbd
/-/{healthy,ready}/ respond to HEAD ( #11160 )
...
Some frameworks issue HEAD requests to determine health.
This resolves prometheus/prometheus#11159
Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
Signed-off-by: Nicolas Dumazet <nicdumz.commits@gmail.com>
2022-08-16 21:06:26 +02:00
Julius Volz
0b03ef73cf
Run Windows tests only for releases ( #11154 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-16 20:23:56 +02:00
Julius Volz
818d6e6088
Cut Prometheus v2.38.0 ( #11161 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-16 15:19:26 +02:00
relandrew
dfc62920c2
docs: fix typo ( #11156 )
...
Signed-off-by: Andrew <106606303+relandrew@users.noreply.github.com>
Signed-off-by: Andrew <106606303+relandrew@users.noreply.github.com>
2022-08-16 09:30:10 +02:00
Julius Volz
0fa8469f76
Cut Prometheus v2.38.0-rc.0 ( #11145 ) ( #11151 )
...
* Cut Prometheus v2.38.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Include new docs PRs in the changelog
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Add "Scrape:" prefix to changelog entry
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
2022-08-12 15:21:32 +02:00
Frederic Branczyk
0683348121
Merge pull request #11140 from mercedes-benz/export-external-ip
...
Add LoadBalancerIP to discovered services
2022-08-12 10:48:59 +02:00
Julius Volz
d0b8c56480
Cut Prometheus v2.38.0-rc.0 ( #11145 )
...
* Cut Prometheus v2.38.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Include new docs PRs in the changelog
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Add "Scrape:" prefix to changelog entry
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
2022-08-11 22:24:22 +02:00
Levi Harrison
bf264f2021
Add pod_container_image label to docs ( #11146 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2022-08-11 20:16:28 +02:00
Jesus Vazquez
e9456018fa
Merge pull request #314 from grafana/jvp/fix-ooo-head-postingsformatchers-and-labelvalues
...
Fix OOO Head LabelValues and PostingsForMatchers
2022-08-11 16:23:28 +02:00
Jesus Vazquez
6bff0d9113
Add suggestions to labelValues test
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-11 16:08:49 +02:00
Björn Rabenstein
bcd548c88b
Merge pull request #10076 from mtfoley/docs-deriv
...
docs: update function docs on deriv
2022-08-11 11:49:21 +02:00
Oleg Zaytsev
c40ecf4bae
Merge pull request #313 from grafana/load-ooo-time-window-once-per-appender
...
Load OutOfOrderTimeWindow only once per appender
2022-08-11 11:09:32 +02:00
Oleg Zaytsev
b87c54de14
Load OutOfOrderTimeWindow only once per appender
...
We're loading the time window once per each Append() call, plus once in
the Commit(). While not extremely expensive, atomic operations are also
not cheap.
Additionally, it makes sense to keep the window consistent for a single
append.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2022-08-11 10:46:12 +02:00
Oleg Zaytsev
0dbfff0bc5
Merge pull request #316 from grafana/jvp/remove-redundant-lint-job
...
Remove redundant CI Lint job
2022-08-11 10:45:54 +02:00
Jesus Vazquez
14ec85d4d2
Fix LabelValues test
2022-08-11 10:29:06 +02:00
Jesus Vazquez
3473058073
Start writing OOOHeadIndexReader LabelValues test
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-10 23:38:02 +02:00
Jesus Vazquez
7368402054
Fix OOO Head LabelValues and PostingsForMatchers
...
OOOHeadIndexReader was using the headIndexReader PostingsForMatchers()
and LabelValues() implementation which lead to a very subtle bug that
led to wrong query results.
headIndexReader LabelValues() implementation checks if the query
timerange overlaps with the head maxt and mint and if it doesnt it
returns an empty list of values. Since this code was also used by the
ooo head it led to wrong results that we were not able to see in tests
because our queries where always from MinInt64 to MaxInt64. This commit
also adds a new test that performs multiple time range queries to make
sure this never happens again.
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-10 23:14:19 +02:00
Jesus Vazquez
628f66d19a
Remove redundant CI Lint job
2022-08-10 22:32:19 +02:00
Julius Volz
d33ce990b9
Update Go dependencies ahead of v2.38 ( #11141 )
...
* Update Go dependencies ahead of v2.38
I skipped an update for the Azure client libraries because that was too
involved and needs some migration work from Azure SD maintainers.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Run "go mod tidy" again
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-10 21:18:55 +02:00
beorn7
c9fd3c235d
Merge branch 'main' into sparsehistogram
2022-08-10 17:54:37 +02:00
Karl Piplies
cc469e0085
documentation for the loadbalancerip
...
Signed-off-by: Karl Piplies <karl.piplies@mercedes-benz.com>
2022-08-10 12:40:11 +02:00
Karl Piplies
3782cb40d5
add loadbalancerip to service labels
...
Signed-off-by: Karl Piplies <karl.piplies@mercedes-benz.com>
2022-08-10 12:40:11 +02:00
Levi Harrison
fa9bc5184a
Update and fix interface ( #11131 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2022-08-10 10:14:52 +02:00
Ganesh Vernekar
01b03b7f85
Prevent panic with ApplyConfig ( #312 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-09 19:25:17 +05:30
dependabot[bot]
d91621890a
build(deps): bump github.com/hetznercloud/hcloud-go ( #11096 )
...
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go ) from 1.35.0 to 1.35.2.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases )
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.35.0...v1.35.2 )
---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
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>
2022-08-06 19:52:14 +02:00
dependabot[bot]
c8df08109b
build(deps): bump github.com/go-zookeeper/zk from 1.0.2 to 1.0.3 ( #11108 )
...
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/go-zookeeper/zk/releases )
- [Commits](https://github.com/go-zookeeper/zk/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
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>
2022-08-06 13:38:59 -04:00
dependabot[bot]
583f603387
build(deps): bump google.golang.org/api from 0.90.0 to 0.91.0 ( #11129 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.90.0 to 0.91.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.90.0...v0.91.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>
2022-08-06 19:38:02 +02:00
dependabot[bot]
2773aa2a72
build(deps): bump github.com/go-openapi/strfmt from 0.21.2 to 0.21.3 ( #11114 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.21.2...v0.21.3 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
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>
2022-08-06 12:21:21 -04:00
dependabot[bot]
998decc55c
build(deps): bump github.com/ionos-cloud/sdk-go/v6 from 6.1.1 to 6.1.2 ( #11121 )
...
Bumps [github.com/ionos-cloud/sdk-go/v6](https://github.com/ionos-cloud/sdk-go ) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/ionos-cloud/sdk-go/releases )
- [Changelog](https://github.com/ionos-cloud/sdk-go/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/ionos-cloud/sdk-go/compare/v6.1.1...v6.1.2 )
---
updated-dependencies:
- dependency-name: github.com/ionos-cloud/sdk-go/v6
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>
2022-08-06 12:20:55 -04:00
dependabot[bot]
eed5b14a13
build(deps): bump github.com/Azure/go-autorest/autorest ( #11122 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.11.27 to 0.11.28.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.27...autorest/v0.11.28 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
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>
2022-08-06 12:20:11 -04:00
Chris Sinjakli
fba20567c0
Document permissions needed for ec2_sd_configs
( #11119 )
...
Currently, it's not explicitly called out which permissions are needed
for service discovery of EC2 instances. It's not super hard to figure
out, but it did involve a bit of guesswork when I did it yesterday, and
I figure it's worth saving people that effort.
I've also seen examples around the internet where people are granting
much broader permissions than they need to, so maybe we can save on that
by explicitly saying what's needed.
Signed-off-by: Chris Sinjakli <chris@sinjakli.co.uk>
2022-08-05 15:49:38 +02:00
dependabot[bot]
8bcad096ed
build(deps): bump github.com/digitalocean/godo from 1.81.0 to 1.82.0 ( #11117 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.81.0 to 1.82.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.81.0...v1.82.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>
2022-08-05 14:03:47 +02:00
dependabot[bot]
daeb7fe469
build(deps): bump github.com/Azure/go-autorest/autorest/adal ( #11110 )
...
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.9.20...autorest/adal/v0.9.21 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/adal
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>
2022-08-04 23:54:46 +02:00
dependabot[bot]
dd0a11ae7a
build(deps): bump k8s.io/client-go from 0.24.2 to 0.24.3 ( #11111 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.2...v0.24.3 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
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>
2022-08-04 13:44:44 +02:00
Xiaochao Dong
1078081aec
Fix race condition when updating lastSeriesID during loading chunk snapshot ( #11099 )
...
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
2022-08-04 13:39:14 +05:30
dependabot[bot]
4035b38c59
build(deps): bump golang.org/x/tools from 0.1.11 to 0.1.12 ( #11101 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.11...v0.1.12 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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>
2022-08-03 18:37:01 +05:30
Julien Pivotto
765320d99e
Update opentelemetry ( #11105 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-08-03 14:41:44 +02:00
Julius Volz
e33720e98e
Add Julius as release shepherd for v2.38 ( #11106 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-03 14:22:44 +02:00
Augustin Husson
f486efbb9a
codemirror-promql: add method to fetch flags in prometheus client ( #11090 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-08-03 14:15:32 +02:00
rilehudd
d943f39f22
Updates RELEASE.md to include [SECURITY] change log tag
...
Signed-off-by: rilehudd <51207004+rilehudd@users.noreply.github.com>
2022-08-03 12:17:00 +02:00
David Leadbeater
d677ec489e
Support using MX records for DNS discovery ( #10099 )
...
It's currently possible to use blackbox_exporter to probe MX records
themselves. However it's not possible to do an end-to-end test, like is
possible with SRV records. This makes it possible to use MX records as a
source of hostnames in the same way as SRV records.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
2022-08-03 11:19:26 +02:00
Bryan Boreham
a7f19b5775
labels: add a test for JSON and YAML marshalling
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Bryan Boreham
10699c37a3
labels: test BytesWithoutLabels does not remove __name__ by default
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00