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
Julius Volz
c1c2e32137
More cleanups to tree view stats
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 16:19:12 +02: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
dependabot[bot]
be5ceb2eaa
Bump the k8s-io group across 1 directory with 3 updates
...
Bumps the k8s-io group with 2 updates in the / directory: [k8s.io/api](https://github.com/kubernetes/api ) and [k8s.io/client-go](https://github.com/kubernetes/client-go ).
Updates `k8s.io/api` from 0.29.3 to 0.31.0
- [Commits](https://github.com/kubernetes/api/compare/v0.29.3...v0.31.0 )
Updates `k8s.io/apimachinery` from 0.29.3 to 0.31.0
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.29.3...v0.31.0 )
Updates `k8s.io/client-go` from 0.29.3 to 0.31.0
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.29.3...v0.31.0 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-io
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-io
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:10:26 +00:00
dependabot[bot]
ef96e983d9
Bump the go-opentelemetry-io group across 1 directory with 6 updates
...
Bumps the go-opentelemetry-io group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) | `1.12.0` | `1.14.1` |
| [go.opentelemetry.io/collector/semconv](https://github.com/open-telemetry/opentelemetry-collector ) | `0.105.0` | `0.108.1` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) | `1.28.0` | `1.29.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) | `1.28.0` | `1.29.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go ) | `1.28.0` | `1.29.0` |
Updates `go.opentelemetry.io/collector/pdata` from 1.12.0 to 1.14.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/pdata/v1.12.0...pdata/v1.14.1 )
Updates `go.opentelemetry.io/collector/semconv` from 0.105.0 to 0.108.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.105.0...v0.108.1 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.28.0 to 1.29.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.28.0...v1.29.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.28.0 to 1.29.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.28.0...v1.29.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.28.0 to 1.29.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.28.0...v1.29.0 )
Updates `go.opentelemetry.io/otel/sdk` from 1.28.0 to 1.29.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/collector/semconv
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 13:10:26 +00:00
Julius Volz
2d9f79f59e
Show label stats in tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 14:45:09 +02:00
Julius Volz
331a8e1d6c
Use infinite scroll in metrics explorer for faster rendering
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 14:44:45 +02: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
dependabot[bot]
a7f7e90167
Bump github.com/linode/linodego from 1.38.0 to 1.40.0
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.38.0 to 1.40.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.38.0...v1.40.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>
2024-09-05 10:51:06 +00: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
machine424
d18fa62ae9
chore(discovery): enable new-service-discovery-manager by default and drop legacymanager package
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-09-05 12:46:03 +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
Julien Pivotto
bd9129117e
Target parameter labels should not be overridden by config params
...
The following configuration snippet calls
http://127.0.0.1:8000/?foo=value1 instead of
http://127.0.0.1:8000/?foo=value2 .
This is incorrect, the labels of the target should be prefered.
```yaml
- job_name: local
params:
foo: [value1]
static_configs:
- targets: ['127.0.0.1:8000']
labels:
__param_foo: value2
```
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-05 12:10:11 +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
bb232ee109
Merge pull request #14807 from roidelapluie/remove-consoles-static
...
Remove console static files
2024-09-05 10:44:12 +02: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
Björn Rabenstein
671c848a54
Merge pull request #14806 from jan--f/3.0-main-sync-24-08-30
...
3.0 main sync 24-08-30
2024-09-04 22:44:25 +02:00
Julius Volz
1f8a6b4d6e
Show Consoles link if configured
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:50:44 +02:00
Julius Volz
53affc64db
Clear the query page when navigating away from it
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:41:27 +02:00
Julius Volz
c73c3e24d7
Default to serving new (Prometheus 3.0) UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:33:37 +02:00
Julius Volz
d0ee5427bd
Redirect /graph to /query in new UI, preserving params
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:21:29 +02:00
Julius Volz
8ee70c5fa0
Remove unused import
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:03:00 +02:00
Julius Volz
490eef6509
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 20:58:19 +02:00
Julius Volz
1f3de9c599
Change range input from Input to TextInput
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 20:43:33 +02:00
Jan Fajerski
2f6fafd122
Merge branch 'release-3.0' into 3.0-main-sync-24-08-30
...
Conflicts:
docs/command-line/prometheus.md
regenerate via make cli-documentation
2024-09-04 20:08:31 +02:00
Arthur Silva Sens
ca1f30bb6e
Promote Agent mode to it's own cmdline flag
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-09-04 20:06:35 +02:00
Jan Fajerski
befcfadf78
Fix merge conflicts
...
Fix call to newTestEngine(t) in promql/engine_test.go:3214.
`agent` feature-flag it's own cmdline flag now.
Remove `scrape.name-escaping-scheme` argument.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-09-04 20:06:17 +02:00
Jan Fajerski
fe4289b502
Merge branch 'main' into HEAD
2024-09-04 18:50:00 +02:00
Julius Volz
d36e049d79
Fix lint errors by removing unused imports and vars
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:49:08 +02:00
Julius Volz
7103b35568
Add "Show exemplars" button (doesn't do anything yet)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:45:31 +02:00
Julius Volz
88519152e5
Minor cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:44:54 +02:00
Julius Volz
c0ba4ee2bb
Add beginnings of a PromLens-style tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:43:08 +02:00
Julius Volz
e5e212dad2
Remove wrong query key for format_query
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:35:17 +02:00