From d0b8c564800ac3aeb590de687987a6fd349df2a3 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 11 Aug 2022 22:24:22 +0200 Subject: [PATCH 1/2] Cut Prometheus v2.38.0-rc.0 (#11145) * Cut Prometheus v2.38.0-rc.0 Signed-off-by: Julius Volz * Include new docs PRs in the changelog Signed-off-by: Julius Volz * Add "Scrape:" prefix to changelog entry Co-authored-by: Levi Harrison Signed-off-by: Julius Volz Signed-off-by: Julius Volz Co-authored-by: Levi Harrison --- CHANGELOG.md | 15 +++++++++++++++ VERSION | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d93cef4d84..0ceeac958d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 2.38.0-rc.0 / 2022-08-11 + +* [FEATURE]: Web: Add a `/api/v1/format_query` HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005 +* [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039 +* [FEATURE]: DNS SD: Support MX records for discovering targets. #10099 +* [FEATURE]: Templates: Add `toTime()` template function that allows converting sample timestamps to Go `time.Time` values. #10993 +* [ENHANCEMENT]: Kubernetes SD: Add `__meta_kubernetes_service_port_number` meta label indicating the service port number. #11002 #11053 +* [ENHANCEMENT]: Kubernetes SD: Add `__meta_kubernetes_pod_container_image` meta label indicating the container image. #11034 #11146 +* [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995 +* [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068 +* [ENHANCEMENT]: Web: Speed up calls to `/api/v1/rules` by avoiding locks and using atomic types instead. #10858 +* [ENHANCEMENT]: Scrape: Add a `no-default-scrape-port` feature flag, which omits or removes any default HTTP (`:80`) or HTTPS (`:443`) ports in the target's scrape address. #9523 +* [BUGFIX]: TSDB: In the WAL watcher metrics, expose the `type="exemplar"` label instead of `type="unknown"` for exemplar records. #11008 +* [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099 + ## 2.37.0 / 2022-07-14 This release is a LTS (Long-Term Support) release of Prometheus and will diff --git a/VERSION b/VERSION index c94fd315f3..05f20baa69 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.37.0 +2.38.0-rc.0 From 818d6e60888b2a3ea363aee8a9828c7bafd73699 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Tue, 16 Aug 2022 15:19:26 +0200 Subject: [PATCH 2/2] Cut Prometheus v2.38.0 (#11161) Signed-off-by: Julius Volz Signed-off-by: Julius Volz --- CHANGELOG.md | 2 +- 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, 14 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ceeac958d..b9a2103c41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2.38.0-rc.0 / 2022-08-11 +## 2.38.0 / 2022-08-16 * [FEATURE]: Web: Add a `/api/v1/format_query` HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005 * [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039 diff --git a/VERSION b/VERSION index 05f20baa69..f31d783fad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.38.0-rc.0 +2.38.0 diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index b986b4465f..4e86e5cd72 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.37.0", + "version": "0.38.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.37.0", + "@prometheus-io/lezer-promql": "^0.38.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 c9f82756f7..a253946f8a 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.37.0", + "version": "0.38.0", "description": "lezer-based PromQL grammar", "main": "index.cjs", "type": "module", diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index 0d12356a95..c40359b79c 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.37.0", + "version": "0.38.0", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "^0.37.0", + "@prometheus-io/lezer-promql": "^0.38.0", "lru-cache": "^6.0.0" }, "devDependencies": { @@ -61,7 +61,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.37.0", + "version": "0.38.0", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.0.0", @@ -17518,7 +17518,7 @@ }, "react-app": { "name": "@prometheus-io/app", - "version": "0.37.0", + "version": "0.38.0", "dependencies": { "@codemirror/autocomplete": "^6.0.0", "@codemirror/commands": "^6.0.0", @@ -17536,7 +17536,7 @@ "@lezer/lr": "^1.0.0", "@nexucis/fuzzy": "^0.4.0", "@nexucis/kvsearch": "^0.7.0", - "@prometheus-io/codemirror-promql": "^0.37.0", + "@prometheus-io/codemirror-promql": "^0.38.0", "bootstrap": "^4.6.1", "css.escape": "^1.5.1", "downshift": "^6.1.7", @@ -19783,7 +19783,7 @@ "@lezer/lr": "^1.0.0", "@nexucis/fuzzy": "^0.4.0", "@nexucis/kvsearch": "^0.7.0", - "@prometheus-io/codemirror-promql": "^0.37.0", + "@prometheus-io/codemirror-promql": "^0.38.0", "@testing-library/react-hooks": "^7.0.1", "@types/enzyme": "^3.10.10", "@types/flot": "0.0.32", @@ -19835,7 +19835,7 @@ "@lezer/common": "^1.0.0", "@lezer/highlight": "^1.0.0", "@lezer/lr": "^1.0.0", - "@prometheus-io/lezer-promql": "^0.37.0", + "@prometheus-io/lezer-promql": "^0.38.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 25a9d1b0f7..3cdd5f9fc2 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.37.0", + "version": "0.38.0", "private": true, "dependencies": { "@codemirror/autocomplete": "^6.0.0", @@ -19,7 +19,7 @@ "@lezer/common": "^1.0.0", "@nexucis/fuzzy": "^0.4.0", "@nexucis/kvsearch": "^0.7.0", - "@prometheus-io/codemirror-promql": "^0.37.0", + "@prometheus-io/codemirror-promql": "^0.38.0", "bootstrap": "^4.6.1", "css.escape": "^1.5.1", "downshift": "^6.1.7",