Commit Graph

13624 Commits

Author SHA1 Message Date
Julien 0a88943594 Scrape: test for q-value compliance with RFC 9110 in Accept header
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-09 12:52:00 +02:00
Julien 8805301f58
Merge pull request #14851 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.59.1
Bump github.com/prometheus/common from 0.58.0 to 0.59.1
2024-09-06 12:40:56 +02:00
dependabot[bot] 48746b1a6c
Bump github.com/prometheus/common from 0.58.0 to 0.59.1
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.58.0 to 0.59.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.58.0...v0.59.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 10:04:00 +00:00
Julien 59402f8ab7
Merge pull request #14841 from prometheus/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.12.0
Bump github.com/prometheus/exporter-toolkit from 0.11.0 to 0.12.0
2024-09-06 12:02:21 +02:00
Julien 404e577034
Merge pull request #14734 from roidelapluie/scrape_failure_logger
Add support for logging scrape failures to a specified file
2024-09-06 11:16:50 +02:00
dependabot[bot] c2593ab76b
Bump github.com/prometheus/exporter-toolkit from 0.11.0 to 0.12.0
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 09:14:16 +00:00
Julien 1a179183fc
Merge pull request #14786 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.20.2
Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.2 in /documentation/examples/remote_storage
2024-09-06 11:13:24 +02:00
Julien 788d8c2bc8
Merge pull request #14839 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.59.0
Bump github.com/prometheus/common from 0.58.0 to 0.59.0
2024-09-06 11:12:35 +02:00
Julien 55ed6f3a17
Merge pull request #14840 from prometheus/dependabot/go_modules/golang.org/x/tools-0.24.0
Bump golang.org/x/tools from 0.23.0 to 0.24.0
2024-09-06 11:12:08 +02:00
Julien d4e1900b46
Merge pull request #14845 from prometheus/dependabot/go_modules/golang.org/x/oauth2-0.23.0
Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
2024-09-06 11:11:56 +02:00
Julien 1ed25d5f90
Merge pull request #14843 from prometheus/dependabot/go_modules/github.com/scaleway/scaleway-sdk-go-1.0.0-beta.30
Bump github.com/scaleway/scaleway-sdk-go from 1.0.0-beta.29 to 1.0.0-beta.30
2024-09-06 11:11:43 +02:00
Julien 458613bf73
Merge pull request #14846 from prometheus/dependabot/go_modules/github.com/envoyproxy/go-control-plane-0.13.0
Bump github.com/envoyproxy/go-control-plane from 0.12.1-0.20240621013728-1eb8caab5155 to 0.13.0
2024-09-06 11:11:16 +02:00
George Krajcsovits 536d9f9ce9
BUGFIX: TSDB: panic in query during truncation with OOO head (#14831)
Check if headQuerier is nil before trying to use it.

* TestQueryOOOHeadDuringTruncate: unit test to check query during truncate
Regression test for #14822

* Simulate race between query and Compact()

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-09-05 17:17:42 +01:00
dependabot[bot] 05d89b7ffd
Bump github.com/prometheus/common from 0.58.0 to 0.59.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.58.0 to 0.59.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:48:32 +00:00
George Krajcsovits dbe40d8f57
Merge pull request #14844 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.20.3
Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
2024-09-05 15:46:49 +02:00
machine424 cc40b65ab4 fix(promtool): use the final database path for --sandbox-dir-root instead of the default value as it may be overridden
add a regression test for that.

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-09-05 15:25:32 +02:00
dependabot[bot] 2d534290ee
Bump github.com/envoyproxy/go-control-plane
Bumps [github.com/envoyproxy/go-control-plane](https://github.com/envoyproxy/go-control-plane) from 0.12.1-0.20240621013728-1eb8caab5155 to 0.13.0.
- [Release notes](https://github.com/envoyproxy/go-control-plane/releases)
- [Changelog](https://github.com/envoyproxy/go-control-plane/blob/main/CHANGELOG.md)
- [Commits](https://github.com/envoyproxy/go-control-plane/commits/v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/go-control-plane
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:11:12 +00:00
dependabot[bot] 8645398260
Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:11:01 +00:00
dependabot[bot] 7c1a423b97
Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:10:57 +00:00
dependabot[bot] 2c016e3edf
Bump github.com/scaleway/scaleway-sdk-go
Bumps [github.com/scaleway/scaleway-sdk-go](https://github.com/scaleway/scaleway-sdk-go) from 1.0.0-beta.29 to 1.0.0-beta.30.
- [Release notes](https://github.com/scaleway/scaleway-sdk-go/releases)
- [Changelog](https://github.com/scaleway/scaleway-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/scaleway/scaleway-sdk-go/compare/v1.0.0-beta.29...v1.0.0-beta.30)

---
updated-dependencies:
- dependency-name: github.com/scaleway/scaleway-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:10:50 +00:00
dependabot[bot] e7518170b5
Bump golang.org/x/tools from 0.23.0 to 0.24.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:10:28 +00:00
Julien be3597c272
Update autoreload documentation: recommend writing files atomically (#14836)
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-05 12:50:20 +01:00
machine424 1e01e97151 chore: update min go version to 1.22 and update to the 1.23 toolchain
enforce the go version in test_go_oldest.

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-09-05 12:48:13 +02:00
Björn Rabenstein d2b659540e
Merge pull request #14819 from prometheus/beorn7/doc
promql: Improve the rate extrapolation explanation
2024-09-05 12:21:03 +02:00
Julien c244f2a18f
Merge pull request #14795 from prometheus/dependabot/go_modules/github.com/Azure/azure-sdk-for-go/sdk/azcore-1.14.0
Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.13.0 to 1.14.0
2024-09-05 12:19:31 +02:00
Julien 601fd8a8f0
Merge pull request #14834 from prometheus/dependabot/go_modules/google.golang.org/api-0.196.0
Bump google.golang.org/api from 0.190.0 to 0.196.0
2024-09-05 12:18:59 +02:00
dependabot[bot] 3d44a33e54
Bump google.golang.org/api from 0.190.0 to 0.196.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.190.0 to 0.196.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.190.0...v0.196.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>
2024-09-05 09:10:02 +00:00
Julien 898271b22a
Merge pull request #14833 from prometheus/dependabot/go_modules/golang.org/x/sys-0.25.0
Bump golang.org/x/sys from 0.23.0 to 0.25.0
2024-09-05 11:08:18 +02:00
dependabot[bot] 786025fada
Bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.1 to 1.20.2.
- [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.19.1...v1.20.2)

---
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>
2024-09-05 09:07:06 +00:00
Julien 7eccf88b80
Merge pull request #14785 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/influxdata/influxdb-1.11.6
Bump github.com/influxdata/influxdb from 1.11.5 to 1.11.6 in /documentation/examples/remote_storage
2024-09-05 11:05:56 +02:00
Julien 7078fe172c
Merge pull request #14801 from prometheus/dependabot/go_modules/google.golang.org/grpc-1.66.0
Bump google.golang.org/grpc from 1.65.0 to 1.66.0
2024-09-05 11:05:28 +02:00
Julien fb80a8497c
Merge pull request #14797 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.121.0
Bump github.com/digitalocean/godo from 1.119.0 to 1.121.0
2024-09-05 11:05:13 +02:00
Julien ce0f09b125 Scrape: Add scrape_failure_log_file to log Scrape Failures
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-05 11:01:40 +02:00
Julien 50f5327f83
Merge pull request #14769 from roidelapluie/autoreload
Support reload config automatically
2024-09-05 10:47:07 +02:00
dependabot[bot] 2d9dad1daa
Bump golang.org/x/sys from 0.23.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 08:45:23 +00:00
Julien eb4004c344
Merge pull request #14817 from roidelapluie/customheaders2
Document custom HTTP headers and add tests
2024-09-05 10:43:36 +02:00
Bryan Boreham 485523eed2
Merge pull request #14816 from bboreham/improve-promql-tracing
Improve promql tracing
2024-09-04 14:32:22 +01:00
Arve Knudsen 6ef1eb4e68
Merge pull request #14064 from aknuds1/arve/close-engine
Release PromQL engine resources on close, from tests
2024-09-04 12:07:35 +02:00
Joshua Hesketh f2064c7987
NH: Do not re-use spans between histograms (#14771)
promql, tsdb (histograms): Do not re-use spans between histograms

When multiple points exist with the same native histogram schemas they
share their spans.
This causes a problem when a native histogram (NH) schema is modified (for example, during
a Sum) then the other NH's with the same spans are also modified. As such,
we should create a new Span for each NH. This will ensure NH's interfaces
are safe to use without considering the effect on other histograms.

At the moment this doesn't present itself as a problem because in all
aggregations and functions operating on native histograms they are copied
by the promql query engine first.

Signed-off-by: Joshua Hesketh <josh@nitrotech.org>

---------

Signed-off-by: Joshua Hesketh <josh@nitrotech.org>
2024-09-04 12:07:16 +02:00
beorn7 2304be9dd5 promql: Improve the rate extrapolation explanation
Signed-off-by: beorn7 <beorn@grafana.com>
2024-09-03 22:11:14 +02:00
George Krajcsovits 282fb1632a
Merge pull request #14772 from krajorama/fix-mockseriesiterator
Fix: chunkenc.MockSeriesIterator
2024-09-03 16:55:26 +02:00
Bryan Boreham abb0502685 [ENHANCEMENT] PromQL: Add detail to tracing spans
For aggregates, operators, calls, show what operation is performed.
Also add an event when series are expanded, typically time spent
accessing TSDB.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-09-03 14:15:58 +01:00
Bryan Boreham 54989ce6fd PromQL: add short string method
To be used in tracing or logging.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-09-03 14:15:58 +01:00
Bryan Boreham 8742077498 [BUGFIX] PromQL: pass Context so spans parent correctly
Assigning to `evaluator.ctx` in `eval()` broke the parent-child relationship.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-09-03 14:15:29 +01:00
Björn Rabenstein 4ffb74dae4
Merge pull request #14810 from bboreham/fix-proto-parse-exemplar
[BUGFIX] Protobuf scraping: reset exemplar position
2024-09-03 15:05:59 +02:00
Julien 18cafabeb0
Merge pull request #14779 from prometheus/dependabot/github_actions/actions/setup-node-4.0.3
Bump actions/setup-node from 4.0.2 to 4.0.3
2024-09-03 13:35:22 +02:00
Julien deabb30b20 Document custom HTTP headers and add tests
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-03 13:31:08 +02:00
dependabot[bot] 4c9fca8719
Bump google.golang.org/grpc from 1.65.0 to 1.66.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.66.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 11:29:22 +00:00
Julien 5397657e1a
Merge pull request #14790 from prometheus/dependabot/go_modules/github.com/envoyproxy/protoc-gen-validate-1.1.0
Bump github.com/envoyproxy/protoc-gen-validate from 1.0.4 to 1.1.0
2024-09-03 13:28:06 +02:00
Julien 272118c38c
Merge pull request #14789 from prometheus/dependabot/go_modules/github.com/ionos-cloud/sdk-go/v6-6.2.1
Bump github.com/ionos-cloud/sdk-go/v6 from 6.2.0 to 6.2.1
2024-09-03 13:27:34 +02:00