From b6d91e8bf80bf6c91eb0007494d25394f5fa93ba Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 9 Mar 2023 13:55:36 +0100 Subject: [PATCH 1/2] Release 2.43.0-rc.0 Signed-off-by: Julien Pivotto --- CHANGELOG.md | 27 ++++++++++++++++++++ VERSION | 2 +- web/ui/module/codemirror-promql/package.json | 4 +-- web/ui/module/lezer-promql/package.json | 2 +- web/ui/package-lock.json | 14 +++++----- web/ui/react-app/package.json | 4 +-- 6 files changed, 40 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8216eebc..b4a3452c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 2.43.0-rc.0 / 2023-03-09 + +We are working on some performance improvements in Prometheus, which are +available behind the go tag `stringlabels` (therefore are not shipped in the +default binaries). It uses a data structure for labels that uses a single string +to hold all the label/values, resulting in a smaller heap size and some speedups +in most cases. We would like to encourage users who are interested in these +improvements to help us measure the gains on their production architecture. +Building Prometheus from the source with the `stringlabels` go tag and providing +feedback on its effectiveness in their specific use cases would be incredibly +helpful to us. #10991 + +* [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487 +* [FEATURE] Scrape: Add `include_scrape_configs` to include scrape configs from different files. #12019 +* [FEATURE] HTTP client: Add `no_proxy` to exclude URLs from proxied requests. #12098 +* [FEATURE] HTTP client: Add `proxy_from_enviroment` to read proxies from env variables. #12098 +* [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088 +* [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897 +* [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984 +* [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013 +* [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859 +* [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensive. #11682 +* [ENHANCEMENT] UI: Scope `group by` labels to metric in autocompletion. #11914 +* [BUGFIX] Scrape: Fix `prometheus_target_scrape_pool_target_limit` metric not set before reloading. #12002 +* [BUGFIX] TSDB: Correctly update chunks removed and chunks metrics when reading WAL. #11858 +* [BUGFIX] TSDB: Observe delta in seconds `prometheus_tsdb_sample_ooo_delta`. #12004 + ## 2.42.0 / 2023-01-31 This release comes with a bunch of feature coverage for native histograms and breaking changes. diff --git a/VERSION b/VERSION index 345a83ee2..1a38590b2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.42.0 +2.43.0-rc.0 diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index dc6047095..027029c15 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.42.0", + "version": "0.43.0-rc.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.42.0", + "@prometheus-io/lezer-promql": "0.43.0-rc.0", "lru-cache": "^6.0.0" }, "devDependencies": { diff --git a/web/ui/module/lezer-promql/package.json b/web/ui/module/lezer-promql/package.json index ea5681970..b3f5cccee 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.42.0", + "version": "0.43.0-rc.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 f602a2bab..6ff46f054 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -28,10 +28,10 @@ }, "module/codemirror-promql": { "name": "@prometheus-io/codemirror-promql", - "version": "0.42.0", + "version": "0.43.0-rc.0", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "^0.42.0", + "@prometheus-io/lezer-promql": "0.43.0-rc.0", "lru-cache": "^6.0.0" }, "devDependencies": { @@ -61,7 +61,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.42.0", + "version": "0.43.0-rc.0", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.2.2", @@ -20763,7 +20763,7 @@ }, "react-app": { "name": "@prometheus-io/app", - "version": "0.42.0", + "version": "0.43.0-rc.0", "dependencies": { "@codemirror/autocomplete": "^6.4.0", "@codemirror/commands": "^6.2.0", @@ -20781,7 +20781,7 @@ "@lezer/lr": "^1.3.1", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "^0.42.0", + "@prometheus-io/codemirror-promql": "0.43.0-rc.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.2.0", @@ -23417,7 +23417,7 @@ "@lezer/lr": "^1.3.1", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "^0.42.0", + "@prometheus-io/codemirror-promql": "0.43.0-rc.0", "@testing-library/react-hooks": "^7.0.2", "@types/enzyme": "^3.10.12", "@types/flot": "0.0.32", @@ -23468,7 +23468,7 @@ "@lezer/common": "^1.0.2", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.1", - "@prometheus-io/lezer-promql": "^0.42.0", + "@prometheus-io/lezer-promql": "0.43.0-rc.0", "@types/lru-cache": "^5.1.1", "isomorphic-fetch": "^3.0.0", "lru-cache": "^6.0.0", diff --git a/web/ui/react-app/package.json b/web/ui/react-app/package.json index ed8612658..30ebd4922 100644 --- a/web/ui/react-app/package.json +++ b/web/ui/react-app/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/app", - "version": "0.42.0", + "version": "0.43.0-rc.0", "private": true, "dependencies": { "@codemirror/autocomplete": "^6.4.0", @@ -19,7 +19,7 @@ "@lezer/common": "^1.0.2", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "^0.42.0", + "@prometheus-io/codemirror-promql": "0.43.0-rc.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.2.0", From 031fc2dfb59903494655a43fd6e210a377e1b23b Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 9 Mar 2023 15:05:18 +0100 Subject: [PATCH 2/2] Address feedback Signed-off-by: Julien Pivotto --- CHANGELOG.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4a3452c9..cccbae7dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,15 @@ ## 2.43.0-rc.0 / 2023-03-09 -We are working on some performance improvements in Prometheus, which are -available behind the go tag `stringlabels` (therefore are not shipped in the -default binaries). It uses a data structure for labels that uses a single string -to hold all the label/values, resulting in a smaller heap size and some speedups -in most cases. We would like to encourage users who are interested in these -improvements to help us measure the gains on their production architecture. -Building Prometheus from the source with the `stringlabels` go tag and providing -feedback on its effectiveness in their specific use cases would be incredibly -helpful to us. #10991 +We are working on some performance improvements in Prometheus, which are only +built into Prometheus when compiling it using the Go tag `stringlabels` +(therefore they are not shipped in the default binaries). It uses a data +structure for labels that uses a single string to hold all the label/values, +resulting in a smaller heap size and some speedups in most cases. We would like +to encourage users who are interested in these improvements to help us measure +the gains on their production architecture. Building Prometheus from source +with the `stringlabels` Go tag and providing feedback on its effectiveness in +their specific use cases would be incredibly helpful to us. #10991 * [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487 * [FEATURE] Scrape: Add `include_scrape_configs` to include scrape configs from different files. #12019 @@ -21,11 +21,11 @@ helpful to us. #10991 * [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984 * [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013 * [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859 -* [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensive. #11682 +* [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682 * [ENHANCEMENT] UI: Scope `group by` labels to metric in autocompletion. #11914 * [BUGFIX] Scrape: Fix `prometheus_target_scrape_pool_target_limit` metric not set before reloading. #12002 -* [BUGFIX] TSDB: Correctly update chunks removed and chunks metrics when reading WAL. #11858 -* [BUGFIX] TSDB: Observe delta in seconds `prometheus_tsdb_sample_ooo_delta`. #12004 +* [BUGFIX] TSDB: Correctly update `prometheus_tsdb_head_chunks_removed_total` and `prometheus_tsdb_head_chunks` metrics when reading WAL. #11858 +* [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the `prometheus_tsdb_sample_ooo_delta` metric. #12004 ## 2.42.0 / 2023-01-31