renovate[bot]
041228bfcd
fix(deps): update github.com/hashicorp/nomad/api digest to 1355d4c ( #17727 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 10:36:59 +01:00
renovate[bot]
e7467319a4
chore(deps): update actions/stale action to v10.1.1 ( #17728 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 09:25:08 +00:00
renovate[bot]
7acab416e5
chore(deps): update bufbuild/buf-push-action digest to 1c45f6a ( #17725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 09:20:38 +00:00
renovate[bot]
71ffb19ef9
chore(deps): update github/codeql-action action to v4.31.9 ( #17730 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 10:18:05 +01:00
renovate[bot]
0bbf5c47ac
chore(deps): update dependency ts-jest to v29.4.6 ( #17729 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 10:17:55 +01:00
renovate[bot]
e28d765d90
chore(deps): update google/oss-fuzz digest to 4bf20ff ( #17726 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 10:12:24 +01:00
Arve Knudsen
f0dfb9f802
fix(scrape): use HonorLabels instead of HonorTimestamps in newScrapeLoop ( #17731 )
...
* fix(scrape): use HonorLabels instead of HonorTimestamps in newScrapeLoop
The sampleMutator closure in newScrapeLoop was incorrectly passing
HonorTimestamps to mutateSampleLabels instead of HonorLabels. This
caused honor_labels configuration to be ignored, with the behavior
incorrectly controlled by honor_timestamps instead.
Adding TestNewScrapeLoopHonorLabelsWiring integration test that exercises
the real newScrapeLoop constructor with HonorLabels and HonorTimestamps
set to opposite values to catch this class of wiring bug.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update scrape/scrape_test.go
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add honor_labels=false test case
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
2025-12-22 16:28:08 +01:00
Bartlomiej Plotka
17e06dbab5
refactor(scrape)[PART2]: simplified scrapeLoop constructors & tests; add teststorage.Appendable mock ( #17631 )
...
* refactor(scrape): simplified scrapeLoop constructors & tests; add teststorage.Appender mock
Signed-off-by: bwplotka <bwplotka@gmail.com>
debug
* refactor(scrape): simplified newLoop even more
Signed-off-by: bwplotka <bwplotka@gmail.com>
* refactor(scrape): rename sl -> app, slApp -> app
Signed-off-by: bwplotka <bwplotka@gmail.com>
* fix TestScrapeLoopRun flakiness
Signed-off-by: bwplotka <bwplotka@gmail.com>
* fix lint
Signed-off-by: bwplotka <bwplotka@gmail.com>
* kill unused listSeriesSet code
Signed-off-by: bwplotka <bwplotka@gmail.com>
* fix closing to not panic
Signed-off-by: bwplotka <bwplotka@gmail.com>
* added extra benchmark for scrapeAndReport
Signed-off-by: bwplotka <bwplotka@gmail.com>
* added extra benchmark for restartLoops
Signed-off-by: bwplotka <bwplotka@gmail.com>
* addressed last comments
Signed-off-by: bwplotka <bwplotka@gmail.com>
* fix TestConcurrentAppender_ReturnsErrAppender naming
Signed-off-by: bwplotka <bwplotka@gmail.com>
* addressed small comments
Signed-off-by: bwplotka <bwplotka@gmail.com>
* refactor(scrape): ensure scrape config is reloaded; added test
Signed-off-by: bwplotka <bwplotka@gmail.com>
* addressed comments.
Signed-off-by: bwplotka <bwplotka@gmail.com>
---------
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-12-22 09:38:48 +00:00
Jarkko Pöyry
e4b6d443fc
tsdb: fix handle leak on mmap failure on MS Windows ( #17310 )
...
Signed-off-by: Jarkko Pöyry <jarkko.poyry@metaplay.io>
2025-12-21 20:55:02 +01:00
Joshua Rogers
a155ad55a3
httputil: add Vary: Accept-Encoding and fix compression headers ( #17466 )
...
- Emit `Vary: Accept-Encoding` in newCompressedResponseWriter so shared caches
key responses by content-coding. This prevents cache poisoning and
undecodable bytes when a compressed variant is cached and later served to a
client that didn't advertise support. (RFC 9110 §12.5.5 "Vary";
RFC 9111 §4.1 cache key & Vary)
- When selecting gzip/deflate, set `Content-Encoding` and delete any existing
`Content-Length` so Go's net/http can frame the message correctly
(chunked for HTTP/1.1; implicit for HTTP/2+). This avoids stale length
mismatches and related proxy/client issues.
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
2025-12-21 10:15:35 +01:00
dependabot[bot]
b34e3410f3
chore(deps): bump golangci/golangci-lint-action in /scripts ( #17574 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](4afd733a84...0a35821d5c )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:31:32 +01:00
dependabot[bot]
3698cd044c
chore(deps): bump actions/setup-go from 6.0.0 to 6.1.0 in /scripts ( #17573 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4469467582...4dc6199c7b )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.1.0
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>
2025-12-21 09:30:58 +01:00
dependabot[bot]
a5811e2da9
chore(deps): bump actions/checkout from 4.2.2 to 5.0.1 in /scripts ( #17572 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...93cb6efe18 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:29:37 +01:00
dependabot[bot]
bce6074343
chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 ( #17570 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](4afd733a84...0a35821d5c )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:29:02 +01:00
dependabot[bot]
a67e9ee37a
chore(deps): bump actions/setup-go from 6.0.0 to 6.1.0 ( #17569 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4469467582...4dc6199c7b )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.1.0
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>
2025-12-21 09:28:29 +01:00
dependabot[bot]
3c92bb1c20
chore(deps): bump actions/checkout from 4.2.2 to 5.0.1 ( #17568 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...93cb6efe18 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:27:46 +01:00
dependabot[bot]
e9283f99d3
chore(deps): bump github/codeql-action from 4.31.2 to 4.31.4 ( #17571 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.31.2 to 4.31.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](0499de31b9...e12f017898 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.31.4
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>
2025-12-19 16:04:57 +01:00
renovate[bot]
a9f66529a7
chore(deps): update module github.com/quic-go/quic-go to v0.57.0 [security] ( #17689 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 16:04:41 +01:00
Julien
6dc6f73261
Merge pull request #17712 from roidelapluie/roidelapluie/fix_update_go_mods
...
Makefile: Update all Go submodules in update-all-go-deps target
2025-12-19 12:42:55 +01:00
Bryan Boreham
a72a2a4a9f
Merge pull request #17718 from bboreham/merge-3.8.1-to-main
...
Merge 3.8.1 to main
2025-12-19 10:20:09 +00:00
Bryan Boreham
950f756e9e
Merge remote-tracking branch 'origin/release-3.8' into merge-3.8.1-to-main
...
Tweak RW2 change for consistency with older lines.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-12-19 09:33:41 +00:00
Julius Volz
558b32f3ab
Merge pull request #17714 from anubhav21sharma/anubhav21sharma/feature-duplicate-query-ui
...
UI: Add support to duplicate query panels
2025-12-18 22:53:22 +01:00
Bryan Boreham
4c7377f543
Update Go dependencies ( #17711 )
...
By running `make update-all-go-deps`.
`hashicorp/consul/api` must be held at v1.32.1 because later versions
require Go 1.25 and we choose to ensure that Promethes builds with the
last two versions of Go.
Also: fix compilation errors in remote-write example.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-12-18 17:14:14 +00:00
Julien Pivotto
bcd7fd174c
Makefile: Update all Go submodules in update-all-go-deps target
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2025-12-18 17:23:34 +01:00
anubhav21sharma
4f04aaccc3
UI: Add support to duplicate query panel
...
Signed-off-by: anubhav21sharma <anubhav21sharma@gmail.com>
2025-12-18 15:00:44 +00:00
Jan Fajerski
45cf485168
Merge pull request #17639 from JorTurFer/oauth-docs
...
chore: Update docs to reflect new oauth parameters
2025-12-18 13:41:37 +01:00
Aditya Tiwari
146080186d
promtool: Add --lint flag to check metrics command to allow disabling linting ( #17669 )
...
* promtool: allow cardinality with metrics linting and add --lint to check metrics
Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
* fix/ci: Simplify test case variable declaration
Remove unnecessary variable declaration in test cases.
Signed-off-by: ADITYA TIWARI <142050150+ADITYATIWARI342005@users.noreply.github.com>
* promtool: avoid Tee for --lint=none
Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
* promtool: validate at least one feature enabled in check metrics
addresses feedback to ensure the command does something useful
now fails with clear error when both --lint=none and no --extended flag.
Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
---------
Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
Signed-off-by: ADITYA TIWARI <142050150+ADITYATIWARI342005@users.noreply.github.com>
2025-12-18 10:19:06 +00:00
George Krajcsovits
962341f621
Add more potential code owners for SD ( #17709 )
...
To enable when we work out how to give approval right to their paths
only.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-12-17 10:13:49 -05:00
Bartlomiej Plotka
1c0537dc02
Merge pull request #17677 from prometheus/bwplotka/a2-agent
...
refactor(tsdb/agent)[PART3]: add AppenderV2 support to agent
2025-12-17 14:27:51 +00:00
Julien
78e4fdee44
Merge pull request #17708 from roidelapluie/roidelapluie/unary_overlapping
...
PromQL: Fix collision in unary negation with non-overlapping series.
2025-12-17 11:47:17 +01:00
Julien Pivotto
37b97a0200
PromQL: Fix collision in unary negation with non-overlapping series.
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2025-12-17 11:03:55 +01:00
Julien
d6e0896541
Merge pull request #17703 from roidelapluie/roidelapluie/label_join_overlapping
...
PromQL: Fix collision in label_join and label_replace with non-overlapping series
2025-12-17 10:43:35 +01:00
bwplotka
96ff5b8f9c
addressed comment
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-12-17 05:47:28 +00:00
bwplotka
bab7614d1b
fix: ensure no race on lset
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-12-17 05:39:07 +00:00
bwplotka
fc019d6628
refactor(scrape): DRY-ed getOrCreate flow
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-12-17 05:29:30 +00:00
Ganesh Vernekar
61cd8124d1
Merge pull request #17706 from charleskorn/charleskorn/fix-typo
...
tsdb: correctly log error in `headAppenderV2.appendExemplars`
2025-12-16 15:30:39 -08:00
Charles Korn
69aa3ac67b
tsdb: correctly log error in headAppenderV2.appendExemplars
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2025-12-17 10:04:14 +11:00
Jorge Turrado Ferrero
cdc31d96f9
feat: Document how to authenticate STACKIT Service Accounts using RFC7523 ( #17645 )
2025-12-16 22:50:51 +01:00
George Krajcsovits
9ab52f9211
Do not notify the prometheus/default-maintainers team for code reviews ( #17705 )
...
Remove default-maintainers as the backup for all code.
Everybody in that team is a prometheus team member, but not everybody
wants to get notified for all review requests.
Downside is that if we enable require codeowners approval, the team
member cannot approve any PR anymore.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-12-16 18:01:14 +00:00
Bryan Boreham
964aa1e679
Merge pull request #17704 from bboreham/release-propose-3.9
...
Propose Bryan Boreham as release shepherd for 3.9
2025-12-16 17:30:41 +00:00
Julien Pivotto
b336889d8f
PromQL: Fix collision in label_join and label_replace with non-overlapping series.
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2025-12-16 16:58:53 +01:00
Bryan Boreham
c818ad5a8f
Propose Bryan Boreham as release shepherd for 3.9
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-12-16 15:09:46 +00:00
Bryan Boreham
6f18cc3074
Merge pull request #13409 from smallfish/feature/promtool-dump-series
...
promtool: add dump-series
2025-12-16 11:51:06 +00:00
George Krajcsovits
39c7fca0e9
Move CODEOWNERS from .github to root ( #17664 )
...
* Move CODEOWNERS from .github to root
The default maintainers are added to each line to make sure that
prometheus team members can still approve if:
- specific code owner is not responding
- we require code owner review (not currently)
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* Apply suggestions from code review
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
* Update CODEOWNERS
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
* add notice about keeping the files in sync
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
---------
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2025-12-16 12:40:45 +01:00
Bryan Boreham
ad5951f1da
Merge pull request #14317 from anarcat/wal-backups
...
Explain how to ignore WAL files when cleaning up.
2025-12-16 11:35:43 +00:00
Bryan Boreham
0711e89092
Merge pull request #17530 from bboreham/faster-scrape-relabel
...
[PERF] Scraping: skip an unnecessary step when there are relabel rules
2025-12-16 10:40:16 +00:00
Bartlomiej Plotka
ed753444ff
Merge pull request #17694 from prometheus/cut-3.8.1
...
chore: cut 3.8.1
v0.308.1
v3.8.1
2025-12-16 08:21:17 +00:00
Bartlomiej Plotka
bf552e66c0
Merge pull request #17695 from roidelapluie/roidelapluie/fixfuzzing
...
chore: Update OSS-Fuzz CIFuzz actions to latest version
2025-12-15 20:42:59 +00:00
Bartlomiej Plotka
05d29a6d4f
Merge pull request #17695 from roidelapluie/roidelapluie/fixfuzzing
...
chore: Update OSS-Fuzz CIFuzz actions to latest version
2025-12-15 20:41:23 +00:00
bwplotka
7739353f5d
chore: upgrade npm
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-12-15 16:41:13 +00:00