diff --git a/CHANGELOG.md b/CHANGELOG.md index 83fda76fee..5b751f298b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 3.7.0-rc.0 / 2025-10-02 +## 3.7.0 / 2025-10-15 -* [CHANGE] Remote-write: Deprecate `prometheus_remote_storage_{samples,exemplars,histograms}_in_total` and `prometheus_remote_storage_highest_timestamp_in_seconds` metrics, see their respective descriptions for alternatives. #17065 +* [CHANGE] Remote-write: the following metrics are deprecated: + - `prometheus_remote_storage_samples_in_total`, use `prometheus_wal_watcher_records_read_total{type="samples"}` and `prometheus_remote_storage_samples_dropped_total` instead, + - `prometheus_remote_storage_histograms_in_total`, use `prometheus_wal_watcher_records_read_total{type=~".*histogram_samples"}` and `prometheus_remote_storage_histograms_dropped_total` instead, + - `prometheus_remote_storage_exemplars_in_total`, use `prometheus_wal_watcher_records_read_total{type="exemplars"}` and `prometheus_remote_storage_exemplars_dropped_total` instead, + - `prometheus_remote_storage_highest_timestamp_in_seconds`, use the more accurate `prometheus_remote_storage_queue_highest_timestamp_seconds` instead in dashboards and alerts to properly account for relabeling and for more accuracy. #17065 * [FEATURE] PromQL: Add support for experimental anchored and smoothed rate behind feature flag `promql-extended-range-selectors`. #16457 * [FEATURE] Federation: Add support for native histograms with custom buckets (NHCB). #17215 * [FEATURE] PromQL: Add `first_over_time(...)` and `ts_of_first_over_time(...)` behind feature flag `experimental-promql-functions`. #16963 #17021 @@ -13,8 +17,6 @@ * [ENHANCEMENT] UI: Add scrape interval and scrape timeout to targets page. #17158 * [ENHANCEMENT] TSDB: Reduce the resolution of native histograms read from chunks or remote read if the schema is exponential. #17213 * [ENHANCEMENT] Remote write: Add logging for unexpected metadata in sample batches, when metadata entries are found in samples-only batches. #17034 #17082 -* [ENHANCEMENT] Remote-write: Add `prometheus_remote_storage_queue_highest_timestamp_seconds` metric, tracking the highest timestamp actually enqueued, taking `write_relabel_configs` into account. #17065 -* [ENHANCEMENT] Mixin: Replace `prometheus_remote_storage_highest_timestamp_in_seconds` metric with the new `prometheus_remote_storage_queue_highest_timestamp_seconds` metric in dashboards and alerts to properly account for relabeling, for better accuracy. #17065 * [ENHANCEMENT] Rules: Support concurrent evaluation for rules querying `ALERTS` and `ALERTS_FOR_STATE`. #17064 * [ENHANCEMENT] TSDB: Add logs to improve visibility into internal operations. #17074 * [PERF] OTLP: Write directly to TSDB instead of passing through a Remote-Write adapter when receiving OTLP metrics. #16951 @@ -22,15 +24,15 @@ * [PERF] PromQL: Move more work to preprocessing step. #16896 * [PERF] PromQL: Reduce allocations when walking the syntax tree. #16593 * [PERF] TSDB: Optimize appender creation, slightly speeding up startup. #16922 -* [PERF] TSDB: Improve reverse index lookup performance. #13971 +* [PERF] TSDB: Improve speed of querying a series with multiple matchers. #13971 * [BUGFIX] Alerting: Mutating alerts relabeling (using `replace` actions, etc.) within a `alertmanager_config.alert_relabel_configs` block is now scoped correctly and no longer yields altered alerts to subsequent blocks. #17063 * [BUGFIX] Config: Infer valid escaping scheme when scrape config validation scheme is set. #16923 * [BUGFIX] TSDB: Correctly handle appending mixed-typed samples to the same series. #17071 #17241 #17290 #17295 #17296 * [BUGFIX] Remote-write: Prevent sending unsupported native histograms with custom buckets (NHCB) over Remote-write 1.0, log warning. #17146 -* [BUGFIX] TSDB: Fix metadata entries handling on `metadata-wal-records` feature for Native Histograms with custom buckets in protobuf scraping. #17156 +* [BUGFIX] TSDB: Fix metadata entries handling on `metadata-wal-records` experimental feature for native histograms with custom buckets (NHCB) in protobuf scraping. #17156 * [BUGFIX] TSDB: Ignore Native Histograms with invalid schemas during WAL/WBL replay. #17214 * [BUGFIX] PromQL: Avoid empty metric names in annotations for `histogram_quantile()`. #16794 -* [BUGFIX] PromQL: Fix the character position of errors in some aggregate expressions. #16996 #17031 +* [BUGFIX] PromQL: Correct inaccurate character positions in errors for some aggregate expressions. #16996 #17031 * [BUGFIX] PromQL: Fix `info()` function on churning series. #17135 * [BUGFIX] PromQL: Set native histogram to gauge type when subtracting or multiplying/dividing with negative factors. #17004 * [BUGFIX] TSDB: Reject unsupported native histogram schemas when attempting to append to TSDB. For scrape and remote-write implement reducing the resolution to fit the maximum if the schema is within the -9 to 52. #17189 diff --git a/VERSION b/VERSION index 241de87668..7c69a55dbb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.7.0-rc.0 +3.7.0 diff --git a/web/ui/mantine-ui/package.json b/web/ui/mantine-ui/package.json index d5623ebefb..aed3bcd593 100644 --- a/web/ui/mantine-ui/package.json +++ b/web/ui/mantine-ui/package.json @@ -1,7 +1,7 @@ { "name": "@prometheus-io/mantine-ui", "private": true, - "version": "0.307.0-rc.0", + "version": "0.307.0", "type": "module", "scripts": { "start": "vite", @@ -28,7 +28,7 @@ "@microsoft/fetch-event-source": "^2.0.1", "@nexucis/fuzzy": "^0.5.1", "@nexucis/kvsearch": "^0.9.1", - "@prometheus-io/codemirror-promql": "0.307.0-rc.0", + "@prometheus-io/codemirror-promql": "0.307.0", "@reduxjs/toolkit": "^2.9.0", "@tabler/icons-react": "^3.35.0", "@tanstack/react-query": "^5.90.2", diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index 9ed6792522..78d8a36921 100644 --- a/web/ui/module/codemirror-promql/package.json +++ b/web/ui/module/codemirror-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/codemirror-promql", - "version": "0.307.0-rc.0", + "version": "0.307.0", "description": "a CodeMirror mode for the PromQL language", "types": "dist/esm/index.d.ts", "module": "dist/esm/index.js", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/prometheus/prometheus/blob/main/web/ui/module/codemirror-promql/README.md", "dependencies": { - "@prometheus-io/lezer-promql": "0.307.0-rc.0", + "@prometheus-io/lezer-promql": "0.307.0", "lru-cache": "^11.2.2" }, "devDependencies": { diff --git a/web/ui/module/lezer-promql/package.json b/web/ui/module/lezer-promql/package.json index afb53bd87a..1837bc078b 100644 --- a/web/ui/module/lezer-promql/package.json +++ b/web/ui/module/lezer-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/lezer-promql", - "version": "0.307.0-rc.0", + "version": "0.307.0", "description": "lezer-based PromQL grammar", "main": "dist/index.cjs", "type": "module", diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index 3cb4bc7e94..9c39ef7c7e 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "prometheus-io", - "version": "0.307.0-rc.0", + "version": "0.307.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "prometheus-io", - "version": "0.307.0-rc.0", + "version": "0.307.0", "workspaces": [ "mantine-ui", "module/*" @@ -24,7 +24,7 @@ }, "mantine-ui": { "name": "@prometheus-io/mantine-ui", - "version": "0.307.0-rc.0", + "version": "0.307.0", "dependencies": { "@codemirror/autocomplete": "^6.19.0", "@codemirror/language": "^6.11.3", @@ -42,7 +42,7 @@ "@microsoft/fetch-event-source": "^2.0.1", "@nexucis/fuzzy": "^0.5.1", "@nexucis/kvsearch": "^0.9.1", - "@prometheus-io/codemirror-promql": "0.307.0-rc.0", + "@prometheus-io/codemirror-promql": "0.307.0", "@reduxjs/toolkit": "^2.9.0", "@tabler/icons-react": "^3.35.0", "@tanstack/react-query": "^5.90.2", @@ -87,10 +87,10 @@ }, "module/codemirror-promql": { "name": "@prometheus-io/codemirror-promql", - "version": "0.307.0-rc.0", + "version": "0.307.0", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "0.307.0-rc.0", + "@prometheus-io/lezer-promql": "0.307.0", "lru-cache": "^11.2.2" }, "devDependencies": { @@ -120,7 +120,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.307.0-rc.0", + "version": "0.307.0", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.8.0", diff --git a/web/ui/package.json b/web/ui/package.json index 66e121b8be..b4f70b17e5 100644 --- a/web/ui/package.json +++ b/web/ui/package.json @@ -1,7 +1,7 @@ { "name": "prometheus-io", "description": "Monorepo for the Prometheus UI", - "version": "0.307.0-rc.0", + "version": "0.307.0", "private": true, "scripts": { "build": "bash build_ui.sh --all",