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
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
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
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
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
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
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
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
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
beorn7
c018383ee5
doc: Move library release tagging to a separate section
...
In RELEASE.md, the instructions to tag the library release used to be
inserted between the normal release tagging and an alternative way of
doing the release tagging. This was very confusing, os the alternative
way did _not_ include the library tagging.
I reckoned it is much less confusing to have a separate section for
the library tagging.
Also, replace the incorrect "optionally" by "alternatively".
Signed-off-by: beorn7 <beorn@grafana.com>
2025-04-09 15:27:37 +02:00
George Krajcsovits
b4526c0735
Merge pull request #16409 from prometheus/krajo/test-nhcb-over-rw2
...
test(rw2): add nhcb testcases to remote write 2.0
2025-04-09 12:39:17 +02:00
Zhengke Zhou
c884dd16ac
discovery: Remove ingress & endpoint slice adaptors ( #16413 )
...
* Remove ingress & endpoint slice adaptors
* fix ci
Signed-off-by: zhengkezhou1 <madzhou1@gmail.com>
2025-04-09 10:25:53 +01:00
Björn Rabenstein
caa1b9abb7
Merge pull request #15354 from mmorel-35/golangci-lint/perfsprint
...
chore: enable all rules of perfsprint lint (except concatenation)
2025-04-09 11:23:39 +02:00
Matthieu MOREL
5b120a0a11
chore: enable all rules of perfsprint lint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-08 21:42:52 +02:00
György Krajcsovits
1cdc956d27
test(rw2): add nhcb testcases to remote write 2.0
...
Ref: https://github.com/prometheus/prometheus/issues/15021
Also modified spansToSpansProto to not allocate empty bucket spans array
when converting internal model to remote write model.
Otherwise the test TestDecodeWriteV2Request fails since empty array
is marshaled/unmarshaled as nil so we don't get back the exact same
thing.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-04-08 15:45:56 +02:00
Alex Le
701d13abf9
Make sure LeveledCompactor respect context cancellation during the time opening blocks ( #16407 )
...
Signed-off-by: Alex Le <leqiyue@amazon.com>
2025-04-08 09:04:23 +01:00
Julien
10b4e1b231
Merge pull request #16340 from BGodding/fix/autoreload-paths
...
fix (auto-reload): failing to auto-reload on changes to rule and scrape config files
2025-04-07 16:41:42 +02:00
Neeraj Gartia
f83e964231
fix NH load expression with incrementation more than once
...
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
2025-04-05 23:37:39 +05:30
George Krajcsovits
a2f54d6066
Merge pull request #16398 from siavashs/notifier-refactor
...
chore: refactor notifier package
2025-04-04 09:45:53 +02:00
Julius Volz
683e6983db
Merge pull request #16391 from prometheus/revamp-ui-readme
...
Completely revamp web/ui/README.md
2025-04-03 11:52:14 +02:00
Julius Volz
36e50db698
Update npm + nodejs versions in prerequisites section
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-04-03 10:02:53 +02:00
Siavash Safi
ef48e4cb9f
chore: refactor notifier package
...
Split the notifier package into smaller source files.
Signed-off-by: Siavash Safi <siavash@cloudflare.com>
2025-04-03 17:48:04 +11:00
Julius Volz
8ad21d0659
Merge pull request #16390 from ryanwuer/copy-notification-in-explore-metrics-modal
...
Make copy operation responsive after clicking copy icon in metrics explore modal
2025-04-02 17:48:34 +02:00
Ryan Wu
831f79261c
Change IconCopy to IconCheck after clicking copy icon in metrics explore modal
...
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
2025-04-02 23:03:00 +08:00
Julius Volz
f92e37bb99
Completely revamp web/ui/README.md
...
Updated/fixed/changed a lot of content, changed wordings and style, etc.
Things should now be in an order that most users / developers expect, with the
most relevant sections (how to build + run) at the top.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-04-02 16:39:42 +02:00
Benjamin Godding
c024fc2f28
fix: fails to auto-reload on changes to rule and scrape config files
...
Signed-off-by: Benjamin Godding <ben.godding@bright.ai>
2025-04-02 08:41:15 -05:00
Matthieu MOREL
08aa5e3f97
ci: update golangci-lint to v2.0.2 and adjust configuration ( #16356 )
...
* ci: update golangci-lint to v2.0.2 and adjust configuration
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2025-04-02 13:05:30 +02:00
Julius Volz
6bfaaa0fee
Fix persisting alert groups per page setting to localStorage ( #16388 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-04-02 09:44:47 +01:00
dependabot[bot]
b76e49d1c1
chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.12 to 3.28.13.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](5f8171a638...1b549b9259 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 00:05:16 +00:00
dependabot[bot]
9a122b32f0
chore(deps): bump github.com/bufbuild/buf in /internal/tools
...
Bumps [github.com/bufbuild/buf](https://github.com/bufbuild/buf ) from 1.50.1 to 1.51.0.
- [Release notes](https://github.com/bufbuild/buf/releases )
- [Changelog](https://github.com/bufbuild/buf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bufbuild/buf/compare/v1.50.1...v1.51.0 )
---
updated-dependencies:
- dependency-name: github.com/bufbuild/buf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 23:31:19 +00:00
dependabot[bot]
ae688b4b6d
chore(deps): bump github.com/hetznercloud/hcloud-go/v2
...
Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go ) from 2.20.1 to 2.21.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases )
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v2.20.1...v2.21.0 )
---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 23:31:07 +00:00
github-actions[bot]
41744d6331
Merge pull request #16370 from prometheus/dependabot/npm_and_yarn/web/ui/react-app/babel/runtime-7.27.0
...
chore(deps): bump @babel/runtime from 7.24.8 to 7.27.0 in /web/ui/react-app
2025-04-01 14:38:21 +00:00
github-actions[bot]
1a325fc9c8
Merge pull request #16369 from prometheus/dependabot/npm_and_yarn/web/ui/vite-6.2.4
...
chore(deps-dev): bump vite from 6.2.3 to 6.2.4 in /web/ui
2025-04-01 14:36:54 +00:00
dependabot[bot]
bd874a50f2
chore(deps): bump @babel/runtime in /web/ui/react-app
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.24.8 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 14:16:24 +00:00
dependabot[bot]
cede09c298
chore(deps-dev): bump vite from 6.2.3 to 6.2.4 in /web/ui
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 14:16:17 +00:00
Ricard Bejarano
45ee441dde
chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (fixes CVE-2025-22872) ( #16350 )
...
* chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (fixes CVE-2025-22872)
---------
Signed-off-by: Ricard Bejarano <ricard@bejarano.io>
2025-04-01 16:14:07 +02:00
Neeraj Gartia
6e51c2dbd6
[FEATURE] Promltest: support to test expectation annotations ( #15995 )
...
promqltest: add new expect lines for promql testing framework
---------
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
2025-04-01 12:12:23 +02:00
George Krajcsovits
b85e343de3
Merge pull request #16226 from chardch/global-convert-classic-histo-to-nhcb
...
nhcb: Add global config option for convert_classic_histograms_to_nhcb
2025-04-01 10:35:03 +02:00
Julius Volz
26857cf500
Fix width for custom label badges in stacked layouts ( #16362 )
...
In stacked / flex layouts like on the service discovery page, elements get a
100% width unless you tell them to only be as wide as their contents.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-03-31 18:20:28 +01:00
Julius Volz
b1f03f83cf
Improve rule state filter placeholder wording ( #16361 )
...
Technically, we are not filtering by the state of a single rule, but by the
whole rule group state (if even a single alert is firing within a group,
filtering for "Pending" won't show the group, even if it has pending
alerts).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-03-31 18:19:46 +01:00
Julius Volz
ad3e200e9a
Tighter spacing for /alerts and /rules pages ( #16359 )
...
As discussed in https://github.com/prometheus/prometheus/issues/15717 , this
should help show more information on one screen, to be more similar to the
old UI in this regard.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-03-31 18:19:03 +01:00
Oleg Zaytsev
f5f91a9ca4
defer a.unmarkCreatedSeriesAsPendingCommit()
...
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2025-03-31 10:06:28 +02:00