Neeraj Gartia
a511164615
[REFACTOR] PromQL: DRY stddev and stdvar functions ( #16451 )
...
* DRY stddev and stdvar
---------
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
2025-04-20 11:17:03 +02:00
Jan-Otto Kröpke
ece91ecc7f
MAINTAINERS: add Jan-Otto Kröpke as an discovery/azure maintainer
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2025-04-19 12:19:32 +02:00
github-actions[bot]
5afa652a83
Merge pull request #16373 from prometheus/dependabot/go_modules/google.golang.org/api-0.228.0
...
chore(deps): bump google.golang.org/api from 0.227.0 to 0.228.0
2025-04-18 01:35:40 +02:00
github-actions[bot]
01206f8845
Merge pull request #16449 from prometheus/dependabot/go_modules/internal/tools/golang.org/x/net-0.38.0
...
chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /internal/tools
2025-04-18 01:12:17 +02:00
dependabot[bot]
58eeb3f6ac
chore(deps): bump golang.org/x/net in /internal/tools
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 18:08:37 +00:00
dependabot[bot]
f82e843336
chore(deps): bump google.golang.org/api from 0.227.0 to 0.228.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.227.0 to 0.228.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.227.0...v0.228.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>
2025-04-17 18:07:31 +00:00
github-actions[bot]
f141e8ad73
Merge pull request #16376 from prometheus/dependabot/go_modules/github.com/hashicorp/consul/api-1.32.0
...
chore(deps): bump github.com/hashicorp/consul/api from 1.31.2 to 1.32.0
2025-04-17 20:06:28 +02:00
github-actions[bot]
6bd3fb05b3
Merge pull request #16380 from prometheus/dependabot/go_modules/github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor-0.123.0
...
chore(deps): bump github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor from 0.122.0 to 0.123.0
2025-04-17 20:06:06 +02:00
dependabot[bot]
bc9d7b0a9d
chore(deps): bump github.com/hashicorp/consul/api from 1.31.2 to 1.32.0
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.31.2 to 1.32.0.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.31.2...api/v1.32.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 17:22:20 +00:00
dependabot[bot]
f193a0a8ad
chore(deps): bump github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor
...
Bumps [github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib ) from 0.122.0 to 0.123.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.122.0...v0.123.0 )
---
updated-dependencies:
- dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 17:15:47 +00:00
github-actions[bot]
c49d76eabb
Merge pull request #16378 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.142.0
...
chore(deps): bump github.com/digitalocean/godo from 1.141.0 to 1.142.0
2025-04-17 19:14:52 +02:00
dependabot[bot]
1642d84cc1
chore(deps): bump the go-opentelemetry-io group across 2 directories with 5 updates ( #16372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 19:14:09 +02:00
dependabot[bot]
8124328675
chore(deps): bump github.com/digitalocean/godo from 1.141.0 to 1.142.0
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.141.0 to 1.142.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.141.0...v1.142.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>
2025-04-17 15:17:06 +00:00
github-actions[bot]
2f3df0ec4c
Merge pull request #16374 from prometheus/dependabot/go_modules/github.com/docker/docker-28.0.4incompatible
...
chore(deps): bump github.com/docker/docker from 28.0.2+incompatible to 28.0.4+incompatible
2025-04-17 17:13:19 +02:00
github-actions[bot]
4268dbb932
Merge pull request #16381 from prometheus/dependabot/go_modules/github.com/scaleway/scaleway-sdk-go-1.0.0-beta.33
...
chore(deps): bump github.com/scaleway/scaleway-sdk-go from 1.0.0-beta.32 to 1.0.0-beta.33
2025-04-17 17:12:19 +02:00
github-actions[bot]
22cc5dbf5f
Merge pull request #16377 from prometheus/dependabot/go_modules/github.com/ionos-cloud/sdk-go/v6-6.3.3
...
chore(deps): bump github.com/ionos-cloud/sdk-go/v6 from 6.3.2 to 6.3.3
2025-04-17 17:12:02 +02:00
github-actions[bot]
fd65f8bddc
Merge pull request #16375 from prometheus/dependabot/go_modules/google.golang.org/protobuf-1.36.6
...
chore(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6
2025-04-17 17:11:40 +02:00
machine424
37000f6f3d
chore: sync golang versions
...
use 1.24 as intended in https://github.com/prometheus/prometheus/pull/16180
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-04-17 15:40:13 +02:00
dependabot[bot]
84fb53f58b
chore(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6
...
Bumps google.golang.org/protobuf from 1.36.5 to 1.36.6.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 12:59:22 +00:00
dependabot[bot]
b3f2fe9d3c
chore(deps): 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.32 to 1.0.0-beta.33.
- [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.32...v1.0.0-beta.33 )
---
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>
2025-04-17 12:55:55 +00:00
dependabot[bot]
4d370e14db
chore(deps): bump github.com/ionos-cloud/sdk-go/v6 from 6.3.2 to 6.3.3
...
Bumps [github.com/ionos-cloud/sdk-go/v6](https://github.com/ionos-cloud/sdk-go ) from 6.3.2 to 6.3.3.
- [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.3.2...v6.3.3 )
---
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>
2025-04-17 12:51:18 +00:00
github-actions[bot]
1c144471e7
Merge pull request #16382 from prometheus/dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.21.0
...
chore(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.20.1 to 2.21.0
2025-04-17 14:49:48 +02:00
Bryan Boreham
a11772234d
Merge pull request #16333 from colega/fix-series-create-gc-race
...
fix: race condition between series creation and garbage collection
2025-04-17 12:15:11 +01:00
Jan-Otto Kröpke
b4f869e519
Update go.mod
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2025-04-17 13:08:06 +02:00
dependabot[bot]
561c745834
chore(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 28.0.2+incompatible to 28.0.4+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.0.2...v28.0.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 11:07:29 +00:00
machine424
a825d448da
feat(tsdb/(head|agent)): dereference the pools at the end of the WL replay to
...
not wait for an extra GC cycle until the built-in cleanup mechanism
kicks in
See https://github.com/prometheus/prometheus/pull/15778
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-04-17 13:06:08 +02:00
github-actions[bot]
c113475121
Merge pull request #16383 from prometheus/dependabot/go_modules/internal/tools/github.com/bufbuild/buf-1.51.0
...
chore(deps): bump github.com/bufbuild/buf from 1.50.1 to 1.51.0 in /internal/tools
2025-04-17 13:05:52 +02:00
github-actions[bot]
917a26ce97
Merge pull request #16384 from prometheus/dependabot/github_actions/github/codeql-action-3.28.13
...
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13
2025-04-17 13:05:30 +02:00
David Leadbeater
e647f7954f
promtool: Add feature flags for promql features ( #16443 )
...
These are supported in the main prometheus binary but the feature flags
weren't supported in promtool.
Fixes #16412 .
Signed-off-by: David Leadbeater <dgl@dgl.cx>
2025-04-17 10:29:44 +01:00
machine424
dcb790c9b6
chore(RELEASE.md): add v3.4 release shephard
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-04-17 11:07:10 +02:00
Bryan Boreham
1d4b1d76a5
[TESTS] More efficient label creation in BenchmarkLoadWLs
...
Use the Builder abstraction instead of going via a map.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-04-16 18:02:47 +01:00
Bryan Boreham
848df13d3a
[TESTS] Faster WAL Benchmarks by reusing buffer
...
Less garbage collection.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-04-16 17:58:09 +01:00
Ryan Wu
b4d3c06acb
discovery: make endpointSlice discovery more efficient ( #16433 )
...
* discovery: a change to a service with the same name but from another namespace won't enqueue the endpointSlice
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
* Update discovery/kubernetes/endpointslice.go
Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
* Update endpointslice.go
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
---------
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
2025-04-16 16:43:30 +02:00
Jeanette Tan
b91c66cdf9
Move newline to inside the expected error
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2025-04-16 17:58:19 +08:00
Björn Rabenstein
ba8609fbd0
Merge pull request #16352 from NeerajGartia21/promql/subquery_patch
...
[BUG] PromQL: Return early when `endtime` < `startime`
2025-04-16 01:00:19 +02:00
Jeanette Tan
ab2d17d7a0
Move unit test to existing suite
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2025-04-16 03:57:42 +08:00
Jeanette Tan
f1b6694837
Add unit test
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2025-04-16 03:57:42 +08:00
Jeanette Tan
88bf1b1a68
Allow unwrapping of errors when reading from remote client
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2025-04-16 03:57:42 +08:00
Lukasz Mierzwa
bec3a125a0
Remove stringlabels from promu build tags
...
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
2025-04-15 18:21:57 +01:00
Lukasz Mierzwa
05088aaa12
Fix linter errors
...
Mostly comment issues and unused variables.
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
2025-04-15 18:04:41 +01:00
Lukasz Mierzwa
bb76966992
Use stringlabels by default
...
This removes the stringlabels build tag, makes that implementation the default one, and moves the old labels implementation under the slicelabels build tag.
Fixes #16064 .
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
2025-04-15 17:52:24 +01:00
Björn Rabenstein
c15140f863
Merge pull request #16432 from prometheus/beorn7/doc
...
docs: Remove recording rule note for native histograms
2025-04-15 17:35:45 +02:00
Ayoub Mrini
3c49e69330
Prepare release 3.3.0 ( #16431 )
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
v0.303.0
v3.3.0
2025-04-15 15:25:16 +02:00
beorn7
2763b6ba13
docs: Remove recording rule note for native histograms
...
We implemented proper type handling (gauge vs. counter histogram) a
while ago. The note about it is obsolete.
Signed-off-by: beorn7 <beorn@grafana.com>
2025-04-15 14:43:31 +02:00
George Krajcsovits
c15ae44455
Merge pull request #13613 from vvyushmanov/main
...
Documentation: Add description for OAuth2 password grant type setup
2025-04-15 13:29:20 +02:00
machine424
46883e05ae
Prepare release 3.3.0
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-04-15 12:43:15 +02:00
Alex Le
bce72b93d9
tsdb: Introduced new constructor for LeveledCompactor to take in metrics ( #16408 )
...
* Introduced new constructor for LeveledCompactor to take in metrics
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Added Metrics to LeveledCompactorOptions
Signed-off-by: Alex Le <leqiyue@amazon.com>
---------
Signed-off-by: Alex Le <leqiyue@amazon.com>
2025-04-11 09:17:45 +01:00
Björn Rabenstein
2aaafae36f
Merge pull request #16403 from NeerajGartia21/promqltest/NH
...
[FIX] Promqltest: Native histogram load expression with more than one incrementation
2025-04-09 17:29:03 +02:00
amanycodes
70eb58219a
added unit tests to HistogramHelpers.ts and HistogramChart.ts
...
Signed-off-by: amanycodes <amanycodes@gmail.com>
2025-04-09 20:18:46 +05:30
Björn Rabenstein
e433647cac
Merge pull request #16416 from prometheus/beorn7/doc
...
doc: Move library release tagging to a separate section
2025-04-09 16:46:33 +02:00