[BUGFIX] PromQL: Fix reported parser position range in errors for aggregations wrapped in ParenExpr #16041#16754
[BUGFIX] PromQL: Don't emit a value from histogram_fraction or histogram_quantile if classic and native histograms are present at the same timestamp. #16552
[BUGFIX] PromQL: Incorrect rounding of [1001ms] to [1s] and similar. #16478
[BUGFIX] PromQL: Fix inconsistent / sometimes negative histogram_count and histogram_sum. #16682
[BUGFIX] PromQL: Improve handling of NaNs in native histograms. #16724
[BUGFIX] PromQL: Fix unary operator precedence in duration expressions. #16713
[BUGFIX] PromQL: Improve consistency of avg aggregation and avg_over_time. #16569#16773
[BUGFIX] UI: Add query warnings and info to graph view. #16753#16759
[BUGFIX] API: Add HTTP Vary: Origin header to responses to avoid cache poisoning. #16008
[BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. #16587
[BUGFIX] Remote-write: For Azure AD auth, allow empty client_id to suppport system assigned managed identity. #16421
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [prom/prometheus](https://github.com/prometheus/prometheus) | minor | `v3.4.2` -> `v3.5.0` |
---
### Release Notes
<details>
<summary>prometheus/prometheus (prom/prometheus)</summary>
### [`v3.5.0`](https://github.com/prometheus/prometheus/releases/tag/v3.5.0): 3.5.0 / 2025-07-14
[Compare Source](https://github.com/prometheus/prometheus/compare/v3.4.2...v3.5.0)
3.5 is a Long Term Support (LTS) release; see release https://prometheus.io/docs/introduction/release-cycle/
There are a number of new features, and no known breaking changes in this release:
- \[FEATURE] PromQL: Add experimental type and unit metadata labels, behind feature flag `type-and-unit-labels`. [#​16228](https://github.com/prometheus/prometheus/issues/16228) [#​16632](https://github.com/prometheus/prometheus/issues/16632) [#​16718](https://github.com/prometheus/prometheus/issues/16718) [#​16743](https://github.com/prometheus/prometheus/issues/16743)
- \[FEATURE] PromQL: Add `ts_of_(min|max|last)_over_time`, behind feature flag `experimental-promql-functions`. [#​16722](https://github.com/prometheus/prometheus/issues/16722) [#​16733](https://github.com/prometheus/prometheus/issues/16733)
- \[FEATURE] Scraping: Add global option `always_scrape_classic_histograms` to scrape a classic histogram even if it is also exposed as native. [#​16452](https://github.com/prometheus/prometheus/issues/16452)
- \[FEATURE] OTLP: New config options `promote_all_resource_attributes` and `ignore_resource_attributes`. [#​16426](https://github.com/prometheus/prometheus/issues/16426)
- \[FEATURE] Discovery: New service discovery for STACKIT Cloud. [#​16401](https://github.com/prometheus/prometheus/issues/16401)
- \[ENHANCEMENT] Hetzner SD: Add `label_selector` to filter servers. [#​16512](https://github.com/prometheus/prometheus/issues/16512)
- \[ENHANCEMENT] PromQL: support non-constant parameter in aggregations like `quantile` and `topk`. [#​16404](https://github.com/prometheus/prometheus/issues/16404)
- \[ENHANCEMENT] UI: Better total target count display when using `keep_dropped_targets` option. [#​16604](https://github.com/prometheus/prometheus/issues/16604)
- \[ENHANCEMENT] UI: Add simple filtering on the `/rules` page. [#​16605](https://github.com/prometheus/prometheus/issues/16605)
- \[ENHANCEMENT] UI: Display query stats in hover tooltip over table query tab. [#​16723](https://github.com/prometheus/prometheus/issues/16723)
- \[ENHANCEMENT] UI: Clear search field on `/targets` page. [#​16567](https://github.com/prometheus/prometheus/issues/16567)
- \[ENHANCEMENT] Rules: Check that rules parse without error earlier at startup. [#​16601](https://github.com/prometheus/prometheus/issues/16601)
- \[ENHANCEMENT] Promtool: Optional fuzzy float64 comparison in rules unittests. [#​16395](https://github.com/prometheus/prometheus/issues/16395)
- \[PERF] PromQL: Reuse `histogramStatsIterator` where possible. [#​16686](https://github.com/prometheus/prometheus/issues/16686)
- \[PERF] PromQL: Reuse storage for custom bucket values for native histograms. [#​16565](https://github.com/prometheus/prometheus/issues/16565)
- \[PERF] UI: Optimize memoization and search debouncing on `/targets` page. [#​16589](https://github.com/prometheus/prometheus/issues/16589)
- \[PERF] UI: Fix full-page re-rendering when opening status nav menu. [#​16590](https://github.com/prometheus/prometheus/issues/16590)
- \[PERF] Kubernetes SD: use service cache.Indexer to achieve better performance. [#​16365](https://github.com/prometheus/prometheus/issues/16365)
- \[PERF] TSDB: Optionally use Direct IO for chunks writing. [#​15365](https://github.com/prometheus/prometheus/issues/15365)
- \[PERF] TSDB: When fetching label values, stop work earlier if the limit is reached. [#​16158](https://github.com/prometheus/prometheus/issues/16158)
- \[PERF] Labels: Simpler/faster stringlabels encoding. [#​16069](https://github.com/prometheus/prometheus/issues/16069)
- \[PERF] Scraping: Reload scrape pools concurrently. [#​16595](https://github.com/prometheus/prometheus/issues/16595) [#​16783](https://github.com/prometheus/prometheus/issues/16783)
- \[BUGFIX] Top-level: Update GOGC before loading TSDB. [#​16491](https://github.com/prometheus/prometheus/issues/16491)
- \[BUGFIX] Config: Respect GOGC environment variable if no "runtime" block exists. [#​16558](https://github.com/prometheus/prometheus/issues/16558)
- \[BUGFIX] PromQL: Fix native histogram `last_over_time`. [#​16744](https://github.com/prometheus/prometheus/issues/16744)
- \[BUGFIX] PromQL: Fix reported parser position range in errors for aggregations wrapped in ParenExpr [#​16041](https://github.com/prometheus/prometheus/issues/16041) [#​16754](https://github.com/prometheus/prometheus/issues/16754)
- \[BUGFIX] PromQL: Don't emit a value from `histogram_fraction` or `histogram_quantile` if classic and native histograms are present at the same timestamp. [#​16552](https://github.com/prometheus/prometheus/issues/16552)
- \[BUGFIX] PromQL: Incorrect rounding of `[1001ms]` to `[1s]` and similar. [#​16478](https://github.com/prometheus/prometheus/issues/16478)
- \[BUGFIX] PromQL: Fix inconsistent / sometimes negative `histogram_count` and `histogram_sum`. [#​16682](https://github.com/prometheus/prometheus/issues/16682)
- \[BUGFIX] PromQL: Improve handling of NaNs in native histograms. [#​16724](https://github.com/prometheus/prometheus/issues/16724)
- \[BUGFIX] PromQL: Fix unary operator precedence in duration expressions. [#​16713](https://github.com/prometheus/prometheus/issues/16713)
- \[BUGFIX] PromQL: Improve consistency of `avg` aggregation and `avg_over_time`. [#​16569](https://github.com/prometheus/prometheus/issues/16569) [#​16773](https://github.com/prometheus/prometheus/issues/16773)
- \[BUGFIX] UI: Add query warnings and info to graph view. [#​16753](https://github.com/prometheus/prometheus/issues/16753) [#​16759](https://github.com/prometheus/prometheus/issues/16759)
- \[BUGFIX] API: Add HTTP `Vary: Origin` header to responses to avoid cache poisoning. [#​16008](https://github.com/prometheus/prometheus/issues/16008)
- \[BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. [#​16587](https://github.com/prometheus/prometheus/issues/16587)
- \[BUGFIX] Remote-write: For Azure AD auth, allow empty `client_id` to suppport system assigned managed identity. [#​16421](https://github.com/prometheus/prometheus/issues/16421)
- \[BUGFIX] Scraping: Fix rare memory corruption bug. [#​16623](https://github.com/prometheus/prometheus/issues/16623)
- \[BUGFIX] Scraping: continue handling custom-bucket histograms after an exponential histogram is encountered. [#​16720](https://github.com/prometheus/prometheus/issues/16720)
- \[BUGFIX] OTLP: Default config not respected when `otlp:` block is unset. [#​16693](https://github.com/prometheus/prometheus/issues/16693)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNC42IiwidXBkYXRlZEluVmVyIjoiNDAuMTQuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v3.4.2->v3.5.0Release Notes
prometheus/prometheus (prom/prometheus)
v3.5.0: 3.5.0 / 2025-07-14Compare Source
3.5 is a Long Term Support (LTS) release; see release https://prometheus.io/docs/introduction/release-cycle/
There are a number of new features, and no known breaking changes in this release:
type-and-unit-labels. #16228 #16632 #16718 #16743ts_of_(min|max|last)_over_time, behind feature flagexperimental-promql-functions. #16722 #16733always_scrape_classic_histogramsto scrape a classic histogram even if it is also exposed as native. #16452promote_all_resource_attributesandignore_resource_attributes. #16426label_selectorto filter servers. #16512quantileandtopk. #16404keep_dropped_targetsoption. #16604/rulespage. #16605/targetspage. #16567histogramStatsIteratorwhere possible. #16686/targetspage. #16589last_over_time. #16744histogram_fractionorhistogram_quantileif classic and native histograms are present at the same timestamp. #16552[1001ms]to[1s]and similar. #16478histogram_countandhistogram_sum. #16682avgaggregation andavg_over_time. #16569 #16773Vary: Originheader to responses to avoid cache poisoning. #16008client_idto suppport system assigned managed identity. #16421otlp:block is unset. #16693Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.