From 79a13d7273a433ddd304bf4e26a00dbd444be42b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:07:51 +0000 Subject: [PATCH 01/29] chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.142.0 (#1741) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases) | minor | `0.141.0` -> `0.142.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
open-telemetry/opentelemetry-collector-releases (otel/opentelemetry-collector-contrib) ### [`v0.142.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/blob/HEAD/CHANGELOG.md#v01420) [Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.141.0...v0.142.0) ##### πŸš€ New components πŸš€ - `contrib`: Add yanggrpcreceiver to the contrib distribution ([#​1306](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1306)) - `otelcol-contrib`: Add the macOS Unified Logging receiver ([#​44089](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/44089)) - `otelcol-contrib`: Add the systemd receiver ([#​1298](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1298)) ##### πŸ’‘ Enhancements πŸ’‘ - `otelcol-ebpf-profiler`: update ebpf-profiler to v0.0.202549 ([#​1295](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1295))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-exporter-opentelemetry/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index b7d8effcd..d05016244 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -36,7 +36,7 @@ services: - -jar - /example-greeting-service.jar collector: - image: otel/opentelemetry-collector-contrib:0.141.0@sha256:b14234c4bc1b7364629af272e564913bb57bdc9736d45b8b6db5ab3417dc75f9 + image: otel/opentelemetry-collector-contrib:0.142.0@sha256:38c349c3b7a2fd7ea46700cde8fa13d35b699ef2ce245bdf34dae2a413512f76 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml diff --git a/examples/example-exporter-opentelemetry/docker-compose.yaml b/examples/example-exporter-opentelemetry/docker-compose.yaml index 3f8546129..a96df30d6 100644 --- a/examples/example-exporter-opentelemetry/docker-compose.yaml +++ b/examples/example-exporter-opentelemetry/docker-compose.yaml @@ -13,7 +13,7 @@ services: #- -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 - /example-exporter-opentelemetry.jar collector: - image: otel/opentelemetry-collector-contrib:0.141.0@sha256:b14234c4bc1b7364629af272e564913bb57bdc9736d45b8b6db5ab3417dc75f9 + image: otel/opentelemetry-collector-contrib:0.142.0@sha256:38c349c3b7a2fd7ea46700cde8fa13d35b699ef2ce245bdf34dae2a413512f76 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml From 09441c3a13c1a4d97ab835a411648ad89b37e276 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 04:59:59 +0000 Subject: [PATCH 02/29] chore(deps): update grafana/grafana docker tag to v12.3.1 (#1745) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grafana/grafana](https://redirect.github.com/grafana/grafana) | patch | `12.3.0` -> `12.3.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
grafana/grafana (grafana/grafana) ### [`v12.3.1`](https://redirect.github.com/grafana/grafana/compare/v12.1.1...v12.3.1) [Compare Source](https://redirect.github.com/grafana/grafana/compare/v12.3.0...v12.3.1)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-native-histogram/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index d05016244..b6248df2b 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -59,7 +59,7 @@ services: command: - --config.file=/config.yaml grafana: - image: grafana/grafana:12.3.0@sha256:70d9599b186ce287be0d2c5ba9a78acb2e86c1a68c9c41449454d0fc3eeb84e8 + image: grafana/grafana:12.3.1@sha256:adaf2d6b44c7e2b711b931b98be153778d313806582a24eab21178804fac2976 network_mode: host ports: - "3000:3000" diff --git a/examples/example-native-histogram/docker-compose.yaml b/examples/example-native-histogram/docker-compose.yaml index c3a7c536e..932a3f9a5 100644 --- a/examples/example-native-histogram/docker-compose.yaml +++ b/examples/example-native-histogram/docker-compose.yaml @@ -18,7 +18,7 @@ services: - --enable-feature=native-histograms - --config.file=/prometheus.yml grafana: - image: grafana/grafana:12.3.0@sha256:70d9599b186ce287be0d2c5ba9a78acb2e86c1a68c9c41449454d0fc3eeb84e8 + image: grafana/grafana:12.3.1@sha256:adaf2d6b44c7e2b711b931b98be153778d313806582a24eab21178804fac2976 network_mode: host volumes: - ./docker-compose/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/grafana-datasources.yaml From cc4c6f71f0c9e582f3f163abd410e094d3b72924 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 05:00:16 +0000 Subject: [PATCH 03/29] chore(deps): update dependency maven to v3.9.12 (#1744) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [maven](https://maven.apache.org/) ([source](https://redirect.github.com/apache/maven)) | `3.9.11` -> `3.9.12` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.maven:apache-maven/3.9.12?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.maven:apache-maven/3.9.11/3.9.12?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
apache/maven (maven) ### [`v3.9.12`](https://redirect.github.com/apache/maven/compare/maven-3.9.11...maven-3.9.12) [Compare Source](https://redirect.github.com/apache/maven/compare/maven-3.9.11...maven-3.9.12)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 44f3cf2c1..5f1f57004 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ distributionType=only-script -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.12/apache-maven-3.9.12-bin.zip From 9e902244cc09909a05e05bd437b4a441f48c800f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 18:04:52 +0000 Subject: [PATCH 04/29] fix(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v4.0.1 (#1746) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.springframework.boot:spring-boot-starter-parent](https://spring.io/projects/spring-boot) ([source](https://redirect.github.com/spring-projects/spring-boot)) | `4.0.0` -> `4.0.1` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.springframework.boot:spring-boot-starter-parent/4.0.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.springframework.boot:spring-boot-starter-parent/4.0.0/4.0.1?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-parent) ### [`v4.0.1`](https://redirect.github.com/spring-projects/spring-boot/compare/v4.0.0...v4.0.1) [Compare Source](https://redirect.github.com/spring-projects/spring-boot/compare/v4.0.0...v4.0.1)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- integration-tests/it-spring-boot-smoke-test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/it-spring-boot-smoke-test/pom.xml b/integration-tests/it-spring-boot-smoke-test/pom.xml index a5b17b39c..2f0e18cb1 100644 --- a/integration-tests/it-spring-boot-smoke-test/pom.xml +++ b/integration-tests/it-spring-boot-smoke-test/pom.xml @@ -8,7 +8,7 @@ org.springframework.boot spring-boot-starter-parent - 4.0.0 + 4.0.1 From 778deba82f120e4dd9b7a86f9b0e6097ae453c4e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:20:25 +0000 Subject: [PATCH 05/29] chore(deps): update grafana/grafana:12.3.1 docker digest to 2175aaa (#1747) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grafana/grafana](https://redirect.github.com/grafana/grafana) | digest | `adaf2d6` -> `2175aaa` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-native-histogram/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index b6248df2b..8480eea30 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -59,7 +59,7 @@ services: command: - --config.file=/config.yaml grafana: - image: grafana/grafana:12.3.1@sha256:adaf2d6b44c7e2b711b931b98be153778d313806582a24eab21178804fac2976 + image: grafana/grafana:12.3.1@sha256:2175aaa91c96733d86d31cf270d5310b278654b03f5718c59de12a865380a31f network_mode: host ports: - "3000:3000" diff --git a/examples/example-native-histogram/docker-compose.yaml b/examples/example-native-histogram/docker-compose.yaml index 932a3f9a5..89e395d00 100644 --- a/examples/example-native-histogram/docker-compose.yaml +++ b/examples/example-native-histogram/docker-compose.yaml @@ -18,7 +18,7 @@ services: - --enable-feature=native-histograms - --config.file=/prometheus.yml grafana: - image: grafana/grafana:12.3.1@sha256:adaf2d6b44c7e2b711b931b98be153778d313806582a24eab21178804fac2976 + image: grafana/grafana:12.3.1@sha256:2175aaa91c96733d86d31cf270d5310b278654b03f5718c59de12a865380a31f network_mode: host volumes: - ./docker-compose/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/grafana-datasources.yaml From 25a3b8ac7043a8375bca3ff76919d419a4cf1fc7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:22:12 +0000 Subject: [PATCH 06/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.153.0 (#1748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.152.2` -> `v0.153.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.153.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.152.2/v0.153.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.153.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.153.0) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.152.2...v0.153.0) This is a good one! Hugo `v0.153.0` is a significant release that introduces a powerful new multidimensional content model and completely overhauls WebP image support. Will be back soon with more info and reference to an updated documentation. ##### Note - tpl/css: Deprecate libsass in favor of dartsass (note) [`9937a5d`](https://redirect.github.com/gohugoio/hugo/commit/9937a5dc) [@​bep](https://redirect.github.com/bep) [#​14261](https://redirect.github.com/gohugoio/hugo/issues/14261) - config: Add struct tags to deprecated and unused fields [`e1236e3`](https://redirect.github.com/gohugoio/hugo/commit/e1236e3d) [@​jmooring](https://redirect.github.com/jmooring) ##### Bug fixes - Fix some outdated front matter [`b82e496`](https://redirect.github.com/gohugoio/hugo/commit/b82e496c) [@​bep](https://redirect.github.com/bep) [#​14271](https://redirect.github.com/gohugoio/hugo/issues/14271) - Fix server rebuilds on editing content with Chinese terms [`e2e64ae`](https://redirect.github.com/gohugoio/hugo/commit/e2e64aee) [@​bep](https://redirect.github.com/bep) [#​14240](https://redirect.github.com/gohugoio/hugo/issues/14240) - Fix slow server startup of very big content trees [`7a43b92`](https://redirect.github.com/gohugoio/hugo/commit/7a43b928) [@​bep](https://redirect.github.com/bep) [#​14211](https://redirect.github.com/gohugoio/hugo/issues/14211) - github: Fix "no space left on device" issue in CI [`b037b93`](https://redirect.github.com/gohugoio/hugo/commit/b037b930) [@​bep](https://redirect.github.com/bep) - docs: Fix link to CGO wiki page [`5af3112`](https://redirect.github.com/gohugoio/hugo/commit/5af31128) [@​jordelver](https://redirect.github.com/jordelver) - Fix grammatical error in styleguide.md [`62c4740`](https://redirect.github.com/gohugoio/hugo/commit/62c47407) [@​bep](https://redirect.github.com/bep) - hugolib: Fix recently introduced data race [`94a6233`](https://redirect.github.com/gohugoio/hugo/commit/94a6233a) [@​bep](https://redirect.github.com/bep) [#​14140](https://redirect.github.com/gohugoio/hugo/issues/14140) - docshelper: Fix some YAML serialization issues with sites matrix configuration [`22d0c17`](https://redirect.github.com/gohugoio/hugo/commit/22d0c17e) [@​bep](https://redirect.github.com/bep) [#​14132](https://redirect.github.com/gohugoio/hugo/issues/14132) - resources/page: Fix slugorcontentbasename for section pages [`25c7c18`](https://redirect.github.com/gohugoio/hugo/commit/25c7c18f) [@​dvdksn](https://redirect.github.com/dvdksn) [#​14104](https://redirect.github.com/gohugoio/hugo/issues/14104) - all: Fix some benchmarks broken by modernize [`91eac9e`](https://redirect.github.com/gohugoio/hugo/commit/91eac9e5) [@​bep](https://redirect.github.com/bep) [#​14107](https://redirect.github.com/gohugoio/hugo/issues/14107) - all: Run modernize -fix ./... [`04650ce`](https://redirect.github.com/gohugoio/hugo/commit/04650ce7) [@​bep](https://redirect.github.com/bep) [#​14107](https://redirect.github.com/gohugoio/hugo/issues/14107) ##### Improvements - resources/images: Don't trust the file extension when decoding JPEG and PNG images [`65d43e1`](https://redirect.github.com/gohugoio/hugo/commit/65d43e1d) [@​bep](https://redirect.github.com/bep) - Add full filename to image processing error messages if possible [`65a7666`](https://redirect.github.com/gohugoio/hugo/commit/65a76664) [@​bep](https://redirect.github.com/bep) [#​14278](https://redirect.github.com/gohugoio/hugo/issues/14278) - tailwindcss: Add referece to skipInlineImportsNotFound when import not found in assets [`da5b1fc`](https://redirect.github.com/gohugoio/hugo/commit/da5b1fcf) [@​bep](https://redirect.github.com/bep) [#​14273](https://redirect.github.com/gohugoio/hugo/issues/14273) - Improve error messages for template failures [`0637adb`](https://redirect.github.com/gohugoio/hugo/commit/0637adb2) [@​bep](https://redirect.github.com/bep) - Improve error handling/messages in Hugo Pipes [`0bf6135`](https://redirect.github.com/gohugoio/hugo/commit/0bf61353) [@​bep](https://redirect.github.com/bep) [#​14257](https://redirect.github.com/gohugoio/hugo/issues/14257) [#​14270](https://redirect.github.com/gohugoio/hugo/issues/14270) - images: Add a webp test with bg color [`573ecb5`](https://redirect.github.com/gohugoio/hugo/commit/573ecb53) [@​bep](https://redirect.github.com/bep) - Encode and Decode using the libwebp library via WASM with animation support [`1b4514e`](https://redirect.github.com/gohugoio/hugo/commit/1b4514e0) [@​bep](https://redirect.github.com/bep) [#​10030](https://redirect.github.com/gohugoio/hugo/issues/10030) [#​8500](https://redirect.github.com/gohugoio/hugo/issues/8500) [#​12843](https://redirect.github.com/gohugoio/hugo/issues/12843) [#​8879](https://redirect.github.com/gohugoio/hugo/issues/8879) [#​12842](https://redirect.github.com/gohugoio/hugo/issues/12842) - config/allconfig: Correct error message [`429e572`](https://redirect.github.com/gohugoio/hugo/commit/429e5720) [@​jmooring](https://redirect.github.com/jmooring) [#​14259](https://redirect.github.com/gohugoio/hugo/issues/14259) - tpl: Add missing functions to init files [`fa7d37f`](https://redirect.github.com/gohugoio/hugo/commit/fa7d37f0) [@​jmooring](https://redirect.github.com/jmooring) [#​14249](https://redirect.github.com/gohugoio/hugo/issues/14249) - github: Add some known humans to the AI whitelist [`fae49a2`](https://redirect.github.com/gohugoio/hugo/commit/fae49a22) [@​bep](https://redirect.github.com/bep) - langs/i18n: Prefer languageCode when picking translation file [`6be463b`](https://redirect.github.com/gohugoio/hugo/commit/6be463b5) [@​bep](https://redirect.github.com/bep) [#​14204](https://redirect.github.com/gohugoio/hugo/issues/14204) [#​14217](https://redirect.github.com/gohugoio/hugo/issues/14217) - Add entitlements for WebAssembly for macOS Tahoe [`9e24b56`](https://redirect.github.com/gohugoio/hugo/commit/9e24b564) [@​bep](https://redirect.github.com/bep) [#​14220](https://redirect.github.com/gohugoio/hugo/issues/14220) - testscripts: Move layouts file to new structure [`45b67f6`](https://redirect.github.com/gohugoio/hugo/commit/45b67f6c) [@​bep](https://redirect.github.com/bep) - resources: Skip integration test if Dart Sass is not installed [`5e649eb`](https://redirect.github.com/gohugoio/hugo/commit/5e649eb4) [@​jmooring](https://redirect.github.com/jmooring) - testing: Replace legacy config.toml with hugo.toml in most tests [`3073fd5`](https://redirect.github.com/gohugoio/hugo/commit/3073fd5c) [@​bep](https://redirect.github.com/bep) - testing: Port integration tests to new templates structure [`b9b304a`](https://redirect.github.com/gohugoio/hugo/commit/b9b304a1) [@​bep](https://redirect.github.com/bep) - github: Correct dependabot => dependabot\[bot] [`8be30ef`](https://redirect.github.com/gohugoio/hugo/commit/8be30ef2) [@​bep](https://redirect.github.com/bep) - config/privacy: Change GoogleAnalytics.RespectDoNotTrack default to true [`565a10c`](https://redirect.github.com/gohugoio/hugo/commit/565a10cb) [@​jmooring](https://redirect.github.com/jmooring) [#​13307](https://redirect.github.com/gohugoio/hugo/issues/13307) - Add signed and notarized MacOS pkg builds [`438f113`](https://redirect.github.com/gohugoio/hugo/commit/438f113f) [@​bep](https://redirect.github.com/bep) [#​14135](https://redirect.github.com/gohugoio/hugo/issues/14135) - Upgrade to Go 1.25.4 [`dab5405`](https://redirect.github.com/gohugoio/hugo/commit/dab54058) [@​bep](https://redirect.github.com/bep) - tpl/urls: Add PathEscape and PathUnescape functions [`1a1b062`](https://redirect.github.com/gohugoio/hugo/commit/1a1b062a) [@​jmooring](https://redirect.github.com/jmooring) [#​14209](https://redirect.github.com/gohugoio/hugo/issues/14209) - Speedup and simplify page assembly for deeper content trees [`555dfa2`](https://redirect.github.com/gohugoio/hugo/commit/555dfa20) [@​bep](https://redirect.github.com/bep) - gemini: Remove styleguide.md (for now) [`34b0c15`](https://redirect.github.com/gohugoio/hugo/commit/34b0c15a) [@​bep](https://redirect.github.com/bep) - github: Reenable Gemini, but no auto code review [`9dc38e9`](https://redirect.github.com/gohugoio/hugo/commit/9dc38e91) [@​bep](https://redirect.github.com/bep) - github: Partition tests by their root [`b592d34`](https://redirect.github.com/gohugoio/hugo/commit/b592d34e) [@​bep](https://redirect.github.com/bep) - github: Make the clean commands work [`18a2afa`](https://redirect.github.com/gohugoio/hugo/commit/18a2afa5) [@​bep](https://redirect.github.com/bep) - github: Also test the root package (left out in previous commit) [`0b0c827`](https://redirect.github.com/gohugoio/hugo/commit/0b0c827d) [@​bep](https://redirect.github.com/bep) - github: More disk space saving optimizations [`30dc75e`](https://redirect.github.com/gohugoio/hugo/commit/30dc75e6) [@​bep](https://redirect.github.com/bep) - github: Add PR Template [`6bc8e6f`](https://redirect.github.com/gohugoio/hugo/commit/6bc8e6f4) [@​jmooring](https://redirect.github.com/jmooring) - Adjust benchmark [`cda4d75`](https://redirect.github.com/gohugoio/hugo/commit/cda4d751) [@​bep](https://redirect.github.com/bep) - tpl/openapi: Add support for OpenAPI external file references [`84950ed`](https://redirect.github.com/gohugoio/hugo/commit/84950ed2) [@​bep](https://redirect.github.com/bep) [#​8067](https://redirect.github.com/gohugoio/hugo/issues/8067) - github: Skip dependabot for AI Watchdog workflow [`a8ed613`](https://redirect.github.com/gohugoio/hugo/commit/a8ed6137) [@​bep](https://redirect.github.com/bep) - github: Remove the 386 test step in GitHub test workflow [`b971b7f`](https://redirect.github.com/gohugoio/hugo/commit/b971b7f9) [@​bep](https://redirect.github.com/bep) [#​14201](https://redirect.github.com/gohugoio/hugo/issues/14201) - github: Remove test binaries after CI test runs [`24210dc`](https://redirect.github.com/gohugoio/hugo/commit/24210dca) [@​bep](https://redirect.github.com/bep) - github: Adjust watchdog run logic (now with correct spelling) [`0f94274`](https://redirect.github.com/gohugoio/hugo/commit/0f94274a) [@​bep](https://redirect.github.com/bep) - github: Adjust watchdog run logic (again) [`5f9c3a3`](https://redirect.github.com/gohugoio/hugo/commit/5f9c3a3e) [@​bep](https://redirect.github.com/bep) - github: Adjust watchdog run logic [`51d77a6`](https://redirect.github.com/gohugoio/hugo/commit/51d77a6c) [@​bep](https://redirect.github.com/bep) - github: Only run AI Watchdog when the PR is ready for review [`d25b619`](https://redirect.github.com/gohugoio/hugo/commit/d25b619c) [@​bep](https://redirect.github.com/bep) - Update aiwatchdog.yml [`4a76d8c`](https://redirect.github.com/gohugoio/hugo/commit/4a76d8c6) [@​bep](https://redirect.github.com/bep) - Update aiwatchdog.yml [`d837eff`](https://redirect.github.com/gohugoio/hugo/commit/d837eff0) [@​bep](https://redirect.github.com/bep) - Update aiwatchdog.yml [`323e306`](https://redirect.github.com/gohugoio/hugo/commit/323e306b) [@​bep](https://redirect.github.com/bep) - github: Add label to AI suspects and do not fail when confident [`2047638`](https://redirect.github.com/gohugoio/hugo/commit/2047638a) [@​bep](https://redirect.github.com/bep) - github: Adjust AI Watchdog workflow to make it run PRs from forks [`38efb70`](https://redirect.github.com/gohugoio/hugo/commit/38efb702) [@​bep](https://redirect.github.com/bep) - github: Adjust workflow permissions [`bdf8b1a`](https://redirect.github.com/gohugoio/hugo/commit/bdf8b1a9) [@​bep](https://redirect.github.com/bep) - performance: Misc allocation improvements [`f33c1a3`](https://redirect.github.com/gohugoio/hugo/commit/f33c1a3f) [@​bep](https://redirect.github.com/bep) - github: Add ai-watchdog workflow and update other workflows' versions [`56d7925`](https://redirect.github.com/gohugoio/hugo/commit/56d7925a) [@​bep](https://redirect.github.com/bep) [#​14147](https://redirect.github.com/gohugoio/hugo/issues/14147) - tpl/collections: Improve collections.D [`c6b6910`](https://redirect.github.com/gohugoio/hugo/commit/c6b6910a) [@​jmooring](https://redirect.github.com/jmooring) [#​14143](https://redirect.github.com/gohugoio/hugo/issues/14143) - Optimize memory allocations for sites matrix vector stores [`ca40254`](https://redirect.github.com/gohugoio/hugo/commit/ca402540) [@​bep](https://redirect.github.com/bep) - gemini: Disable auto PR codereviews for now [`44b5f13`](https://redirect.github.com/gohugoio/hugo/commit/44b5f13f) [@​bep](https://redirect.github.com/bep) - Update styleguide.md [`2c6574e`](https://redirect.github.com/gohugoio/hugo/commit/2c6574eb) [@​bep](https://redirect.github.com/bep) - Add gemini setup files [`60c4245`](https://redirect.github.com/gohugoio/hugo/commit/60c4245e) [@​bep](https://redirect.github.com/bep) - static: Preserve .gitignore and .gitattributes in --cleanDestinationDir [`5e6b269`](https://redirect.github.com/gohugoio/hugo/commit/5e6b269c) [@​Ahamed1846](https://redirect.github.com/Ahamed1846) [#​14097](https://redirect.github.com/gohugoio/hugo/issues/14097) - hugolib: Improve performance of content trees with many sections [`26f31ff`](https://redirect.github.com/gohugoio/hugo/commit/26f31ff6) [@​bep](https://redirect.github.com/bep) - Add a site assembly benchmark test for a deeper site structure with more sections and pages [`606415e`](https://redirect.github.com/gohugoio/hugo/commit/606415ec) [@​bep](https://redirect.github.com/bep) - sitesmatrix: Clary default dimension values [`dc2f6ae`](https://redirect.github.com/gohugoio/hugo/commit/dc2f6ae2) [@​bep](https://redirect.github.com/bep) - Run go mod tidy to clean up go.mod and go.sum [`a0944ac`](https://redirect.github.com/gohugoio/hugo/commit/a0944ac7) [@​bep](https://redirect.github.com/bep) - testing: Rewrite all the old style integration tests to txtar style tests [`a2469d5`](https://redirect.github.com/gohugoio/hugo/commit/a2469d50) [@​bep](https://redirect.github.com/bep) - hugolib: Delete some old integration tests [`e24b604`](https://redirect.github.com/gohugoio/hugo/commit/e24b604c) [@​bep](https://redirect.github.com/bep) - testing: Revise usage of b.N and b.Loop() in benchmarks [`4c7a78f`](https://redirect.github.com/gohugoio/hugo/commit/4c7a78f5) [@​bep](https://redirect.github.com/bep) - Add roles and versions as new dimensions (in addition to language) [`264022a`](https://redirect.github.com/gohugoio/hugo/commit/264022a7) [@​bep](https://redirect.github.com/bep) [#​519](https://redirect.github.com/gohugoio/hugo/issues/519) [#​13680](https://redirect.github.com/gohugoio/hugo/issues/13680) [#​13663](https://redirect.github.com/gohugoio/hugo/issues/13663) [#​13776](https://redirect.github.com/gohugoio/hugo/issues/13776) [#​13855](https://redirect.github.com/gohugoio/hugo/issues/13855) [#​13648](https://redirect.github.com/gohugoio/hugo/issues/13648) [#​13996](https://redirect.github.com/gohugoio/hugo/issues/13996) [#​14001](https://redirect.github.com/gohugoio/hugo/issues/14001) [#​14031](https://redirect.github.com/gohugoio/hugo/issues/14031) [#​13818](https://redirect.github.com/gohugoio/hugo/issues/13818) [#​13196](https://redirect.github.com/gohugoio/hugo/issues/13196) - Update CONTRIBUTING.md [`ff0f67e`](https://redirect.github.com/gohugoio/hugo/commit/ff0f67ea) [@​bep](https://redirect.github.com/bep) - hreflect: Cache reflect method lookups used in collections.Where and others [`e9bda21`](https://redirect.github.com/gohugoio/hugo/commit/e9bda21c) [@​bep](https://redirect.github.com/bep) - all: Simplify the reflect usage [`3893e70`](https://redirect.github.com/gohugoio/hugo/commit/3893e705) [@​bep](https://redirect.github.com/bep) ##### Dependency Updates - build(deps): bump github.com/goccy/go-yaml from 1.19.0 to 1.19.1 [`39649dc`](https://redirect.github.com/gohugoio/hugo/commit/39649dce) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.21.0 to 2.21.1 [`614fb16`](https://redirect.github.com/gohugoio/hugo/commit/614fb16e) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`33542d3`](https://redirect.github.com/gohugoio/hugo/commit/33542d39) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - deps: Upgrade github.com/alecthomas/chroma/v2 v2.20.0 => v2.21.0 [`588d20b`](https://redirect.github.com/gohugoio/hugo/commit/588d20b3) [@​bep](https://redirect.github.com/bep) [#​14266](https://redirect.github.com/gohugoio/hugo/issues/14266) - build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.1 to 1.41.0 [`b337302`](https://redirect.github.com/gohugoio/hugo/commit/b3373029) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.27.1 to 0.27.2 [`e6a3f1d`](https://redirect.github.com/gohugoio/hugo/commit/e6a3f1d6) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.33.0 to 0.34.0 [`364d237`](https://redirect.github.com/gohugoio/hugo/commit/364d237b) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.39.0 to 0.40.0 [`079f3eb`](https://redirect.github.com/gohugoio/hugo/commit/079f3eb8) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.24.7 to 2.24.8 [`4e6f2b6`](https://redirect.github.com/gohugoio/hugo/commit/4e6f2b67) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump gocloud.dev from 0.43.0 to 0.44.0 [`dff5e16`](https://redirect.github.com/gohugoio/hugo/commit/dff5e168) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`c82a035`](https://redirect.github.com/gohugoio/hugo/commit/c82a035b) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.27.0 to 0.27.1 [`86b01ed`](https://redirect.github.com/gohugoio/hugo/commit/86b01eda) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.0 to 1.40.1 [`9e7182e`](https://redirect.github.com/gohugoio/hugo/commit/9e7182e9) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.2 [`cf3ad62`](https://redirect.github.com/gohugoio/hugo/commit/cf3ad62c) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/goccy/go-yaml from 1.18.0 to 1.19.0 [`bf42138`](https://redirect.github.com/gohugoio/hugo/commit/bf421386) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/olekukonko/tablewriter from 1.1.1 to 1.1.2 [`57fecb6`](https://redirect.github.com/gohugoio/hugo/commit/57fecb6b) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2 [`6d0ab6a`](https://redirect.github.com/gohugoio/hugo/commit/6d0ab6a3) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`0de8f86`](https://redirect.github.com/gohugoio/hugo/commit/0de8f860) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`2b337cd`](https://redirect.github.com/gohugoio/hugo/commit/2b337cd2) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.32.0 to 0.33.0 [`cc61d00`](https://redirect.github.com/gohugoio/hugo/commit/cc61d00d) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 [`8ef2c61`](https://redirect.github.com/gohugoio/hugo/commit/8ef2c619) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.24.5 to 2.24.7 [`b916880`](https://redirect.github.com/gohugoio/hugo/commit/b9168803) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`2680467`](https://redirect.github.com/gohugoio/hugo/commit/26804673) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.38.0 to 0.39.0 [`8ce80f7`](https://redirect.github.com/gohugoio/hugo/commit/8ce80f75) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/tetratelabs/wazero from 1.10.0 to 1.10.1 [`4baa95b`](https://redirect.github.com/gohugoio/hugo/commit/4baa95ba) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/bits-and-blooms/bitset [`b81861f`](https://redirect.github.com/gohugoio/hugo/commit/b81861fd) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/olekukonko/tablewriter from 1.1.0 to 1.1.1 [`15cce89`](https://redirect.github.com/gohugoio/hugo/commit/15cce89e) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump golang.org/x/text from 0.30.0 to 0.31.0 [`187e683`](https://redirect.github.com/gohugoio/hugo/commit/187e683b) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.25.12 to 0.27.0 [`432078a`](https://redirect.github.com/gohugoio/hugo/commit/432078a6) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump google.golang.org/api from 0.251.0 to 0.255.0 [`38608c7`](https://redirect.github.com/gohugoio/hugo/commit/38608c7c) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront [`d75f0dc`](https://redirect.github.com/gohugoio/hugo/commit/d75f0dc6) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/tetratelabs/wazero from 1.9.0 to 1.10.0 [`579362e`](https://redirect.github.com/gohugoio/hugo/commit/579362ef) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.25.11 to 0.25.12 [`0e8f88f`](https://redirect.github.com/gohugoio/hugo/commit/0e8f88fa) [@​dependabot](https://redirect.github.com/dependabot)\[bot] ##### Build Setup - release: Skip pushing stable and docs update for pre-releases [`c1cc65f`](https://redirect.github.com/gohugoio/hugo/commit/c1cc65fc) [@​bep](https://redirect.github.com/bep) - release: Support alpha, beta, and RC releases [`6630759`](https://redirect.github.com/gohugoio/hugo/commit/66307592) [@​bep](https://redirect.github.com/bep) - snap: Address snapcraft deprecations [`596517a`](https://redirect.github.com/gohugoio/hugo/commit/596517a2) [@​jmooring](https://redirect.github.com/jmooring) ##### Documentation - markup/asciidocext: Improve Asciidoctor integration [`3d21b06`](https://redirect.github.com/gohugoio/hugo/commit/3d21b068) [@​jmooring](https://redirect.github.com/jmooring) [#​9202](https://redirect.github.com/gohugoio/hugo/issues/9202) [#​10183](https://redirect.github.com/gohugoio/hugo/issues/10183) [#​10473](https://redirect.github.com/gohugoio/hugo/issues/10473) [#​14160](https://redirect.github.com/gohugoio/hugo/issues/14160) - hugolib/doctree: Simplify lock setup in SimpleThreadSafeTree to reduce read allocation [`fee0957`](https://redirect.github.com/gohugoio/hugo/commit/fee09576) [@​bep](https://redirect.github.com/bep) - github: Update asciidoctor-diagrams extension and add GoAT [`9d80c39`](https://redirect.github.com/gohugoio/hugo/commit/9d80c397) [@​jmooring](https://redirect.github.com/jmooring) - markup/asciidocext: Support boolean document attributes [`bca171b`](https://redirect.github.com/gohugoio/hugo/commit/bca171b6) [@​jmooring](https://redirect.github.com/jmooring) [#​14138](https://redirect.github.com/gohugoio/hugo/issues/14138) - github: Allow AsciiDoc content in tests to render Ditaa diagrams [`9289aa4`](https://redirect.github.com/gohugoio/hugo/commit/9289aa43) [@​jmooring](https://redirect.github.com/jmooring) - commands: newDocsHelper encode integers as ints in generated YAML [`0efcb24`](https://redirect.github.com/gohugoio/hugo/commit/0efcb24c) [@​GrigoreAlexandru](https://redirect.github.com/GrigoreAlexandru) [#​14122](https://redirect.github.com/gohugoio/hugo/issues/14122) - github: Allow AsciiDoc content in tests to render diagrams [`2c80dee`](https://redirect.github.com/gohugoio/hugo/commit/2c80dee3) [@​jmooring](https://redirect.github.com/jmooring)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 84a33c9e5..f01d23b88 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.152.2" +"go:github.com/gohugoio/hugo" = "v0.153.0" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 2f7f086074373e8906e159350a6a7812071df8f0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 20 Dec 2025 08:18:46 +0000 Subject: [PATCH 07/29] chore(deps): update dependency com.uber.nullaway:nullaway to v0.12.15 (#1749) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [com.uber.nullaway:nullaway](https://redirect.github.com/uber/NullAway) | `0.12.14` -> `0.12.15` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.uber.nullaway:nullaway/0.12.15?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.uber.nullaway:nullaway/0.12.14/0.12.15?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
uber/NullAway (com.uber.nullaway:nullaway) ### [`v0.12.15`](https://redirect.github.com/uber/NullAway/blob/HEAD/CHANGELOG.md#Version-01215) [Compare Source](https://redirect.github.com/uber/NullAway/compare/v0.12.14...v0.12.15) NullAway now includes a BOM artifact `com.uber.nullaway:nullaway-bom`. Otherwise, this release contains a few bug fixes and improvements to JSpecify support. - Fix URL for RequireExplicitNullMarking checker ([#​1369](https://redirect.github.com/uber/NullAway/issues/1369)) - Handle annotations on type variables in return and field types ([#​1371](https://redirect.github.com/uber/NullAway/issues/1371)) - Change how recursive calls to dataflow are detected ([#​1374](https://redirect.github.com/uber/NullAway/issues/1374)) - JSpecify: use type on identifier when its type is a type variable ([#​1378](https://redirect.github.com/uber/NullAway/issues/1378)) - Include method type parameters in astubx files. by [@​haewiful](https://redirect.github.com/haewiful) ([#​1370](https://redirect.github.com/uber/NullAway/issues/1370)) - Create nullaway-bom project ([#​1130](https://redirect.github.com/uber/NullAway/issues/1130)) by [@​lpireyn](https://redirect.github.com/lpireyn) ([#​1380](https://redirect.github.com/uber/NullAway/issues/1380)) - Run dataflow analysis on bodies of lambdas passed to generic methods ([#​1375](https://redirect.github.com/uber/NullAway/issues/1375)) - Maintenance - Remove BaseNoOpHandler and replace with default methods in Handler ([#​1376](https://redirect.github.com/uber/NullAway/issues/1376))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7eb626e2d..ab7ecd062 100644 --- a/pom.xml +++ b/pom.xml @@ -280,7 +280,7 @@ com.uber.nullaway nullaway - 0.12.14 + 0.12.15 If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index f01d23b88..c8174c729 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.0" +"go:github.com/gohugoio/hugo" = "v0.153.1" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 461d9c2b636a03120d7dd0054193c0d58298f318 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Dec 2025 21:59:52 +0000 Subject: [PATCH 10/29] chore(deps): update dependency org.codehaus.mojo:exec-maven-plugin to v3.6.3 (#1751) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.codehaus.mojo:exec-maven-plugin](https://www.mojohaus.org/exec-maven-plugin) ([source](https://redirect.github.com/mojohaus/exec-maven-plugin)) | `3.6.2` -> `3.6.3` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.codehaus.mojo:exec-maven-plugin/3.6.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.codehaus.mojo:exec-maven-plugin/3.6.2/3.6.3?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
mojohaus/exec-maven-plugin (org.codehaus.mojo:exec-maven-plugin) ### [`v3.6.3`](https://redirect.github.com/mojohaus/exec-maven-plugin/compare/3.6.2...3.6.3) [Compare Source](https://redirect.github.com/mojohaus/exec-maven-plugin/compare/3.6.2...3.6.3)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ab7ecd062..b00d02d4d 100644 --- a/pom.xml +++ b/pom.xml @@ -137,7 +137,7 @@ org.codehaus.mojo exec-maven-plugin - 3.6.2 + 3.6.3 From 96958680bc4b9b2a9ba212b85cdd29bfce3713a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 03:06:42 +0000 Subject: [PATCH 11/29] chore(deps): update dependency mise to v2025.12.12 (#1752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [mise](https://redirect.github.com/jdx/mise) | patch | `v2025.12.7` -> `v2025.12.12` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
jdx/mise (mise) ### [`v2025.12.12`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.12) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.11...v2025.12.12) ##### πŸš€ Features - **(backend)** add version timestamps for spm, conda, and gem backends by [@​jdx](https://redirect.github.com/jdx) in [#​7383](https://redirect.github.com/jdx/mise/pull/7383) - **(backend)** add security features to github backend by [@​jdx](https://redirect.github.com/jdx) in [#​7387](https://redirect.github.com/jdx/mise/pull/7387) - **(ruby)** add GitHub attestation verification for precompiled binaries by [@​jdx](https://redirect.github.com/jdx) in [#​7382](https://redirect.github.com/jdx/mise/pull/7382) ##### πŸ› Bug Fixes - **(aqua)** improve security feature detection by [@​jdx](https://redirect.github.com/jdx) in [#​7385](https://redirect.github.com/jdx/mise/pull/7385) - **(github)** use version\_prefix when fetching release for SLSA verification by [@​jdx](https://redirect.github.com/jdx) in [#​7391](https://redirect.github.com/jdx/mise/pull/7391) ##### 🚜 Refactor - **(vfox)** remove submodules, embed plugins directly by [@​jdx](https://redirect.github.com/jdx) in [#​7389](https://redirect.github.com/jdx/mise/pull/7389) ##### πŸ§ͺ Testing - **(registry)** add final ci job as merge gate by [@​jdx](https://redirect.github.com/jdx) in [#​7390](https://redirect.github.com/jdx/mise/pull/7390) - split unit job to speed up macOS CI by [@​jdx](https://redirect.github.com/jdx) in [#​7388](https://redirect.github.com/jdx/mise/pull/7388) ### [`v2025.12.11`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.11) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.10...v2025.12.11) ##### πŸš€ Features - **(alias)** rename alias to tool-alias, add shell-alias command by [@​jdx](https://redirect.github.com/jdx) in [#​7357](https://redirect.github.com/jdx/mise/pull/7357) - **(upgrade)** display summary of upgraded tools by [@​jdx](https://redirect.github.com/jdx) in [#​7372](https://redirect.github.com/jdx/mise/pull/7372) - **(vfox)** embed vfox plugin Lua code in binary by [@​jdx](https://redirect.github.com/jdx) in [#​7369](https://redirect.github.com/jdx/mise/pull/7369) ##### πŸ› Bug Fixes - **(aqua)** add start\_operations for progress reporting by [@​jdx](https://redirect.github.com/jdx) in [#​7354](https://redirect.github.com/jdx/mise/pull/7354) - **(github)** improve asset detection for distro-specific and Swift artifacts by [@​jdx](https://redirect.github.com/jdx) in [#​7347](https://redirect.github.com/jdx/mise/pull/7347) - **(github)** clean up static\_helpers.rs and fix archive bin= option by [@​jdx](https://redirect.github.com/jdx) in [#​7366](https://redirect.github.com/jdx/mise/pull/7366) - **(http)** add start\_operations for progress reporting by [@​jdx](https://redirect.github.com/jdx) in [#​7355](https://redirect.github.com/jdx/mise/pull/7355) - **(lockfile)** place lockfile alongside config file by [@​jdx](https://redirect.github.com/jdx) in [#​7360](https://redirect.github.com/jdx/mise/pull/7360) - **(progress)** add start\_operations to core plugins by [@​jdx](https://redirect.github.com/jdx) in [#​7351](https://redirect.github.com/jdx/mise/pull/7351) - **(ruby-install)** Use ruby\_install\_bin to update by [@​calebhearth](https://redirect.github.com/calebhearth) in [#​7350](https://redirect.github.com/jdx/mise/pull/7350) - **(rust)** add release\_url for rust versions by [@​jdx](https://redirect.github.com/jdx) in [#​7373](https://redirect.github.com/jdx/mise/pull/7373) - **(schema)** add `tool_alias`, mark `alias` as deprecated by [@​SKalt](https://redirect.github.com/SKalt) in [#​7358](https://redirect.github.com/jdx/mise/pull/7358) - **(toolset)** filter tools by OS in list\_current\_versions by [@​jdx](https://redirect.github.com/jdx) in [#​7356](https://redirect.github.com/jdx/mise/pull/7356) - **(ubi)** only show deprecation warning during installation by [@​jdx](https://redirect.github.com/jdx) in [#​7380](https://redirect.github.com/jdx/mise/pull/7380) - **(ui)** remove noisy "record size" message during install by [@​jdx](https://redirect.github.com/jdx) in [#​7381](https://redirect.github.com/jdx/mise/pull/7381) - update mise-versions URL to use /tools/ prefix by [@​jdx](https://redirect.github.com/jdx) in [#​7378](https://redirect.github.com/jdx/mise/pull/7378) ##### 🚜 Refactor - **(backend)** unified AssetMatcher with checksum fetching by [@​jdx](https://redirect.github.com/jdx) in [#​7370](https://redirect.github.com/jdx/mise/pull/7370) - **(backend)** deprecate ubi backend in favor of github by [@​jdx](https://redirect.github.com/jdx) in [#​7374](https://redirect.github.com/jdx/mise/pull/7374) - **(toolset)** decompose mod.rs into smaller modules by [@​jdx](https://redirect.github.com/jdx) in [#​7371](https://redirect.github.com/jdx/mise/pull/7371) ##### πŸ§ͺ Testing - **(e2e)** fix and rename ubi and vfox\_embedded\_override tests by [@​jdx](https://redirect.github.com/jdx) in [052ea40](https://redirect.github.com/jdx/mise/commit/052ea40b29468f05fbc425cc5a4c20ebda077253) ##### πŸ“¦ Registry - add vfox-gcloud backend for gcloud by [@​jdx](https://redirect.github.com/jdx) in [#​7349](https://redirect.github.com/jdx/mise/pull/7349) - convert amplify to use github backend by [@​jdx](https://redirect.github.com/jdx) in [#​7365](https://redirect.github.com/jdx/mise/pull/7365) - add github backend for djinni tool by [@​jdx](https://redirect.github.com/jdx) in [#​7363](https://redirect.github.com/jdx/mise/pull/7363) - switch glab to native gitlab backend by [@​jdx](https://redirect.github.com/jdx) in [#​7364](https://redirect.github.com/jdx/mise/pull/7364) - add s5cmd by [@​jdx](https://redirect.github.com/jdx) in [#​7376](https://redirect.github.com/jdx/mise/pull/7376) ##### Chore - **(registry)** disable flaky tests for gitu and ktlint by [@​jdx](https://redirect.github.com/jdx) in [64151cb](https://redirect.github.com/jdx/mise/commit/64151cb3fb1e517b2c80aa2179b24c4bd55ff34a) - resolve clippy warnings and add stricter CI check by [@​jdx](https://redirect.github.com/jdx) in [#​7367](https://redirect.github.com/jdx/mise/pull/7367) - suppress dead\_code warnings in asset\_matcher module by [@​jdx](https://redirect.github.com/jdx) in [#​7377](https://redirect.github.com/jdx/mise/pull/7377) ##### New Contributors - [@​calebhearth](https://redirect.github.com/calebhearth) made their first contribution in [#​7350](https://redirect.github.com/jdx/mise/pull/7350) ### [`v2025.12.10`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.10) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.9...v2025.12.10) ##### πŸ› Bug Fixes - **(backend)** fix fuzzy\_match\_filter regex for vendor-prefixed versions by [@​jdx](https://redirect.github.com/jdx) in [#​7332](https://redirect.github.com/jdx/mise/pull/7332) - **(backend)** use backend delegation for install-time option filtering by [@​jdx](https://redirect.github.com/jdx) in [#​7335](https://redirect.github.com/jdx/mise/pull/7335) - **(duration)** support calendar units in relative durations for --before flag by [@​Copilot](https://redirect.github.com/Copilot) in [#​7337](https://redirect.github.com/jdx/mise/pull/7337) - **(gem)** improve shebang compatibility for precompiled Ruby by [@​jdx](https://redirect.github.com/jdx) in [#​7336](https://redirect.github.com/jdx/mise/pull/7336) - **(gem)** handle RubyGems polyglot shebang format by [@​jdx](https://redirect.github.com/jdx) in [#​7340](https://redirect.github.com/jdx/mise/pull/7340) - **(pipx)** use minor version symlink for venv Python by [@​jdx](https://redirect.github.com/jdx) in [#​7339](https://redirect.github.com/jdx/mise/pull/7339) - **(registry)** prefer claude-code latest over stale stable by [@​jdx](https://redirect.github.com/jdx) in [#​7334](https://redirect.github.com/jdx/mise/pull/7334) - **(upgrade)** only check specified tools when upgrading with tool args by [@​jdx](https://redirect.github.com/jdx) in [#​7331](https://redirect.github.com/jdx/mise/pull/7331) ##### πŸ“š Documentation - Revise alias example for task execution by [@​azais-corentin](https://redirect.github.com/azais-corentin) in [#​7338](https://redirect.github.com/jdx/mise/pull/7338) ### [`v2025.12.9`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.9) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.8...v2025.12.9) ##### πŸš€ Features - **(aqua)** add tuist aqua backend by [@​jdx](https://redirect.github.com/jdx) in [#​7323](https://redirect.github.com/jdx/mise/pull/7323) - **(ls-remote)** add release\_url to VersionInfo for --json output by [@​jdx](https://redirect.github.com/jdx) in [#​7322](https://redirect.github.com/jdx/mise/pull/7322) - **(prepare)** add `mise prepare` command for dependency preparation by [@​jdx](https://redirect.github.com/jdx) in [#​7281](https://redirect.github.com/jdx/mise/pull/7281) - **(registry)** add aqua backend for zigmod by [@​jdx](https://redirect.github.com/jdx) in [#​7319](https://redirect.github.com/jdx/mise/pull/7319) ##### πŸ› Bug Fixes - **(e2e)** fix flaky test\_prepare go provider test by [@​jdx](https://redirect.github.com/jdx) in [0e2ef73](https://redirect.github.com/jdx/mise/commit/0e2ef73f9ae91072efd5abbbbe9d82e932472e79) - **(go)** restore git ls-remote for version listing by [@​jdx](https://redirect.github.com/jdx) in [#​7324](https://redirect.github.com/jdx/mise/pull/7324) ##### πŸ“¦ Registry - use github backend for sourcery by [@​jdx](https://redirect.github.com/jdx) in [#​7327](https://redirect.github.com/jdx/mise/pull/7327) - use github backend for swiftgen by [@​jdx](https://redirect.github.com/jdx) in [#​7326](https://redirect.github.com/jdx/mise/pull/7326) ### [`v2025.12.8`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.8) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.7...v2025.12.8) ##### πŸš€ Features - **(conda)** add dependency resolution for conda packages by [@​jdx](https://redirect.github.com/jdx) in [#​7280](https://redirect.github.com/jdx/mise/pull/7280) - **(go)** add created\_at support to ls-remote --json by [@​jdx](https://redirect.github.com/jdx) in [#​7305](https://redirect.github.com/jdx/mise/pull/7305) - **(hook-env)** add hook\_env.cache\_ttl and hook\_env.chpwd\_only settings for NFS optimization by [@​jdx](https://redirect.github.com/jdx) in [#​7312](https://redirect.github.com/jdx/mise/pull/7312) - **(hooks)** add MISE\_TOOL\_NAME and MISE\_TOOL\_VERSION to preinstall/postinstall hooks by [@​jdx](https://redirect.github.com/jdx) in [#​7311](https://redirect.github.com/jdx/mise/pull/7311) - **(shell\_alias)** add shell\_alias support for cross-shell aliases by [@​jdx](https://redirect.github.com/jdx) in [#​7316](https://redirect.github.com/jdx/mise/pull/7316) - **(tool)** add security field to mise tool --json by [@​jdx](https://redirect.github.com/jdx) in [#​7303](https://redirect.github.com/jdx/mise/pull/7303) - add --before flag for date-based version filtering by [@​jdx](https://redirect.github.com/jdx) in [#​7298](https://redirect.github.com/jdx/mise/pull/7298) ##### πŸ› Bug Fixes - **(aqua)** support cosign v3 bundle verification by [@​jdx](https://redirect.github.com/jdx) in [#​7314](https://redirect.github.com/jdx/mise/pull/7314) - **(config)** use correct config\_root in tera context for hooks by [@​jdx](https://redirect.github.com/jdx) in [#​7309](https://redirect.github.com/jdx/mise/pull/7309) - **(nu)** fix nushell deactivation script on Windows by [@​fu050409](https://redirect.github.com/fu050409) in [#​7213](https://redirect.github.com/jdx/mise/pull/7213) - **(python)** apply uv\_venv\_create\_args in auto-venv code path by [@​jdx](https://redirect.github.com/jdx) in [#​7310](https://redirect.github.com/jdx/mise/pull/7310) - **(shell)** escape exe path in activation scripts for paths with spaces by [@​jdx](https://redirect.github.com/jdx) in [#​7315](https://redirect.github.com/jdx/mise/pull/7315) - **(task)** parallelize exec\_env loading to fix parallel task execution by [@​jdx](https://redirect.github.com/jdx) in [#​7313](https://redirect.github.com/jdx/mise/pull/7313) - track downloads for python and java by [@​jdx](https://redirect.github.com/jdx) in [#​7304](https://redirect.github.com/jdx/mise/pull/7304) - include full tool ID in download track by [@​jdx](https://redirect.github.com/jdx) in [#​7320](https://redirect.github.com/jdx/mise/pull/7320) ##### πŸ“š Documentation - Switch `postinstall` code to be shell-agnostic by [@​thejcannon](https://redirect.github.com/thejcannon) in [#​7317](https://redirect.github.com/jdx/mise/pull/7317) ##### πŸ§ͺ Testing - **(e2e)** disable debug mode by default for windows-e2e by [@​jdx](https://redirect.github.com/jdx) in [#​7318](https://redirect.github.com/jdx/mise/pull/7318) ##### New Contributors - [@​fu050409](https://redirect.github.com/fu050409) made their first contribution in [#​7213](https://redirect.github.com/jdx/mise/pull/7213)
--- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- .github/workflows/acceptance-tests.yml | 4 ++-- .github/workflows/build.yml | 4 ++-- .github/workflows/github-pages.yaml | 4 ++-- .github/workflows/lint-rest.yml | 4 ++-- .github/workflows/native-tests.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/test-release-build.yml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 72b5f7a3b..f37f6e83b 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 - name: Run acceptance tests run: mise run acceptance-test diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41134371b..a4f1489cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: persist-credentials: false - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 - name: Cache local Maven repository uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 93ea07eed..221866180 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -39,8 +39,8 @@ jobs: fetch-depth: 0 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 cache: "false" - name: Setup Pages id: pages diff --git a/.github/workflows/lint-rest.yml b/.github/workflows/lint-rest.yml index 52077f45f..6f9bcf03c 100644 --- a/.github/workflows/lint-rest.yml +++ b/.github/workflows/lint-rest.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 - name: Lint run: mise run lint:rest diff --git a/.github/workflows/native-tests.yml b/.github/workflows/native-tests.yml index 2e94d0511..11277cfeb 100644 --- a/.github/workflows/native-tests.yml +++ b/.github/workflows/native-tests.yml @@ -15,8 +15,8 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 working_directory: .mise/envs/native - name: Run native tests working-directory: .mise/envs/native diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d0fe5c51..cab5a57f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,8 +26,8 @@ jobs: - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 cache: false - name: Build release version diff --git a/.github/workflows/test-release-build.yml b/.github/workflows/test-release-build.yml index 0bd65b69e..eb85b126d 100644 --- a/.github/workflows/test-release-build.yml +++ b/.github/workflows/test-release-build.yml @@ -18,8 +18,8 @@ jobs: persist-credentials: false - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.7 - sha256: 59fb463dbcbebc3d4b51690865b8b9ea1f80707fddbf008bcd071aee7079daa3 + version: v2025.12.12 + sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 - name: Cache local Maven repository uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: From 50b221c7e857e7ee5adadebf74e825593632846d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 18:52:37 +0000 Subject: [PATCH 12/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.153.2 (#1753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.1` -> `v0.153.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.153.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.153.1/v0.153.2?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.153.2`](https://redirect.github.com/gohugoio/hugo/compare/v0.153.1...v0.153.2) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.1...v0.153.2)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index c8174c729..b97105554 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.1" +"go:github.com/gohugoio/hugo" = "v0.153.2" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 944f021b2ba8c70a3754241adb36330303d61ed9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Dec 2025 20:41:29 +0000 Subject: [PATCH 13/29] chore(deps): update super-linter/super-linter action to v8.3.2 (#1754) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [super-linter/super-linter](https://redirect.github.com/super-linter/super-linter) | action | patch | `v8.3.1` -> `v8.3.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
super-linter/super-linter (super-linter/super-linter) ### [`v8.3.2`](https://redirect.github.com/super-linter/super-linter/releases/tag/v8.3.2) [Compare Source](https://redirect.github.com/super-linter/super-linter/compare/v8.3.1...v8.3.2) ##### πŸ› Bugfixes - centralize file array additions and fix type ([#​7323](https://redirect.github.com/super-linter/super-linter/issues/7323)) ([ce80cf6](https://redirect.github.com/super-linter/super-linter/commit/ce80cf6842c49618adb1eef1c4a455fb7a32f51c)), closes [#​7302](https://redirect.github.com/super-linter/super-linter/issues/7302) - create log groups for enabled languages only ([#​7329](https://redirect.github.com/super-linter/super-linter/issues/7329)) ([7c85bf3](https://redirect.github.com/super-linter/super-linter/commit/7c85bf3695efa7784c55c760b591a26994eb1538)), closes [#​7307](https://redirect.github.com/super-linter/super-linter/issues/7307) - initialize github\_before\_sha ([#​7120](https://redirect.github.com/super-linter/super-linter/issues/7120)) ([a93b722](https://redirect.github.com/super-linter/super-linter/commit/a93b722492ae64610b681733132b03316b5a3f1a)), closes [#​7118](https://redirect.github.com/super-linter/super-linter/issues/7118) [#​7275](https://redirect.github.com/super-linter/super-linter/issues/7275) ##### ⬆️ Dependency updates - **bundler:** bump rubocop in /dependencies in the rubocop group ([#​7313](https://redirect.github.com/super-linter/super-linter/issues/7313)) ([7fab96c](https://redirect.github.com/super-linter/super-linter/commit/7fab96c232891c27aa68d1ccb78a4df73fc8d845)) - **docker:** bump clj-kondo/clj-kondo in the docker group ([#​7325](https://redirect.github.com/super-linter/super-linter/issues/7325)) ([fa23c54](https://redirect.github.com/super-linter/super-linter/commit/fa23c5433efb749f5fb300cbec569e2c0874a335)) - **docker:** bump the docker group with 4 updates ([#​7318](https://redirect.github.com/super-linter/super-linter/issues/7318)) ([dc49a6d](https://redirect.github.com/super-linter/super-linter/commit/dc49a6d6bdd54b017a4b5a246f6f74cdd7a39b99)) - **java:** bump com.puppycrawl.tools:checkstyle ([#​7312](https://redirect.github.com/super-linter/super-linter/issues/7312)) ([ab58437](https://redirect.github.com/super-linter/super-linter/commit/ab584378be9a17bc1544a55d48a6daf69bf119bc)) - **npm:** bump next from 16.0.10 to 16.1.0 in /dependencies ([#​7316](https://redirect.github.com/super-linter/super-linter/issues/7316)) ([a8572e2](https://redirect.github.com/super-linter/super-linter/commit/a8572e292ba5ca18ef118b066eb3d1570b8de902)) - **npm:** bump renovate ([#​7300](https://redirect.github.com/super-linter/super-linter/issues/7300)) ([191338a](https://redirect.github.com/super-linter/super-linter/commit/191338acc8928b9e523533a22c8cea7f83daefec)) - **npm:** bump the npm group across 1 directory with 10 updates ([#​7322](https://redirect.github.com/super-linter/super-linter/issues/7322)) ([24d9e00](https://redirect.github.com/super-linter/super-linter/commit/24d9e00de99a2a9056c1717e69163f832d18756e)) - **npm:** bump the npm group across 1 directory with 2 updates ([#​7296](https://redirect.github.com/super-linter/super-linter/issues/7296)) ([0697485](https://redirect.github.com/super-linter/super-linter/commit/069748517af0b1ddbfae6ed6545a636162b99aa9)) - **npm:** bump the npm group across 1 directory with 2 updates ([#​7301](https://redirect.github.com/super-linter/super-linter/issues/7301)) ([4b2bf76](https://redirect.github.com/super-linter/super-linter/commit/4b2bf76ed4965f51047c2f8825b7f2181fd4591e)) - **npm:** bump the npm group across 1 directory with 4 updates ([#​7327](https://redirect.github.com/super-linter/super-linter/issues/7327)) ([07e73d6](https://redirect.github.com/super-linter/super-linter/commit/07e73d60033bef44a0c4224fb7f0ce1389714002)) - **python:** bump ansible-lint ([#​7326](https://redirect.github.com/super-linter/super-linter/issues/7326)) ([47962ea](https://redirect.github.com/super-linter/super-linter/commit/47962eae72ffee1ebc038c4b719d6394178658ee)) - **python:** bump snakemake ([#​7295](https://redirect.github.com/super-linter/super-linter/issues/7295)) ([3f92589](https://redirect.github.com/super-linter/super-linter/commit/3f925892e7f0f6020a698a69caef86eb3277cd9c)) - **python:** bump the pip group across 1 directory with 2 updates ([#​7299](https://redirect.github.com/super-linter/super-linter/issues/7299)) ([0ca0315](https://redirect.github.com/super-linter/super-linter/commit/0ca0315180d0039872dd5c0828f50530a2747722)) - **python:** bump the pip group across 1 directory with 6 updates ([#​7317](https://redirect.github.com/super-linter/super-linter/issues/7317)) ([ae7e8d8](https://redirect.github.com/super-linter/super-linter/commit/ae7e8d8e5c32255e2bc335540e2c92c49a095d6f)) ##### 🧰 Maintenance - disable dependabot cooldown ([#​7311](https://redirect.github.com/super-linter/super-linter/issues/7311)) ([e98f7d3](https://redirect.github.com/super-linter/super-linter/commit/e98f7d3c79423480207804b55cf282c76156bbac)) - **docs:** mention conflicting tools in upgrades ([#​7324](https://redirect.github.com/super-linter/super-linter/issues/7324)) ([7afe608](https://redirect.github.com/super-linter/super-linter/commit/7afe608fff92093619af9fe2aacf61a093419551)), closes [#​7298](https://redirect.github.com/super-linter/super-linter/issues/7298) - **github-actions:** bump the dev-ci-tools group with 2 updates ([#​7315](https://redirect.github.com/super-linter/super-linter/issues/7315)) ([4b07868](https://redirect.github.com/super-linter/super-linter/commit/4b07868ae26255da8c0d8a69d7c0a4aff02e1b04)) - group eslint updates ([#​7321](https://redirect.github.com/super-linter/super-linter/issues/7321)) ([20f25a3](https://redirect.github.com/super-linter/super-linter/commit/20f25a369053b8067ccfedf04e3ed98e7df71ff6))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- .github/workflows/super-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 9848a284e..eba4d3890 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -24,7 +24,7 @@ jobs: run: grep -v '^#' .github/super-linter.env | grep -v 'FIX_' >> "$GITHUB_ENV" - name: Super-linter - uses: super-linter/super-linter@47984f49b4e87383eed97890fe2dca6063bbd9c3 # v8.3.1 + uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 env: # To report GitHub Actions status checks GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From dfd7dbc5fb85fd0da16d4b8b89f390f5e72afefd Mon Sep 17 00:00:00 2001 From: Sibasis Padhi Date: Thu, 25 Dec 2025 19:16:41 -0600 Subject: [PATCH 14/29] feat(jvm): add constLabels support to JvmMetrics.builder().register() [Fixes #1694] Signed-off-by: Sibasis Padhi Signed-off-by: Sibasis --- .../jvm/JvmBufferPoolMetrics.java | 20 ++++- .../jvm/JvmClassLoadingMetrics.java | 33 +++++--- .../jvm/JvmCompilationMetrics.java | 23 +++-- .../jvm/JvmGarbageCollectorMetrics.java | 22 +++-- .../instrumentation/jvm/JvmMemoryMetrics.java | 84 ++++++++++++------- .../jvm/JvmMemoryPoolAllocationMetrics.java | 30 ++++--- .../instrumentation/jvm/JvmMetrics.java | 30 ++++--- .../jvm/JvmNativeMemoryMetrics.java | 19 ++++- .../jvm/JvmRuntimeInfoMetric.java | 34 +++++--- .../jvm/JvmThreadsMetrics.java | 44 ++++++---- .../instrumentation/jvm/ProcessMetrics.java | 50 +++++++---- .../instrumentation/jvm/JvmMetricsTest.java | 23 +++++ 12 files changed, 287 insertions(+), 125 deletions(-) diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java index 7f45c8303..f9f6d76f3 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java @@ -4,6 +4,7 @@ import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.BufferPoolMXBean; import java.lang.management.ManagementFactory; import java.util.List; @@ -48,11 +49,13 @@ public class JvmBufferPoolMetrics { private final PrometheusProperties config; private final List bufferPoolBeans; + private final Labels constLabels; private JvmBufferPoolMetrics( - List bufferPoolBeans, PrometheusProperties config) { + List bufferPoolBeans, PrometheusProperties config, Labels constLabels) { this.config = config; this.bufferPoolBeans = bufferPoolBeans; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { @@ -68,6 +71,7 @@ private void register(PrometheusRegistry registry) { callback.call(pool.getMemoryUsed(), pool.getName()); } }) + .constLabels(constLabels) .register(registry); GaugeWithCallback.builder(config) @@ -81,6 +85,7 @@ private void register(PrometheusRegistry registry) { callback.call(pool.getTotalCapacity(), pool.getName()); } }) + .constLabels(constLabels) .register(registry); GaugeWithCallback.builder(config) @@ -93,6 +98,7 @@ private void register(PrometheusRegistry registry) { callback.call(pool.getCount(), pool.getName()); } }) + .constLabels(constLabels) .register(registry); } @@ -106,13 +112,19 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private List bufferPoolBeans; + private final PrometheusProperties config; + @Nullable private List bufferPoolBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder bufferPoolBeans(List bufferPoolBeans) { this.bufferPoolBeans = bufferPoolBeans; @@ -128,7 +140,7 @@ public void register(PrometheusRegistry registry) { if (bufferPoolBeans == null) { bufferPoolBeans = ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class); } - new JvmBufferPoolMetrics(bufferPoolBeans, config).register(registry); + new JvmBufferPoolMetrics(bufferPoolBeans, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java index bc0465a87..8970dfe9f 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java @@ -4,6 +4,7 @@ import io.prometheus.metrics.core.metrics.CounterWithCallback; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.ClassLoadingMXBean; import java.lang.management.ManagementFactory; import javax.annotation.Nullable; @@ -44,34 +45,40 @@ public class JvmClassLoadingMetrics { private final PrometheusProperties config; private final ClassLoadingMXBean classLoadingBean; + private final Labels constLabels; - private JvmClassLoadingMetrics(ClassLoadingMXBean classLoadingBean, PrometheusProperties config) { + private JvmClassLoadingMetrics( + ClassLoadingMXBean classLoadingBean, PrometheusProperties config, Labels constLabels) { this.classLoadingBean = classLoadingBean; this.config = config; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_CLASSES_CURRENTLY_LOADED) .help("The number of classes that are currently loaded in the JVM") .callback(callback -> callback.call(classLoadingBean.getLoadedClassCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_CLASSES_LOADED_TOTAL) .help( "The total number of classes that have been loaded since the JVM has started execution") .callback(callback -> callback.call(classLoadingBean.getTotalLoadedClassCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_CLASSES_UNLOADED_TOTAL) .help( "The total number of classes that have been unloaded since the JVM has " + "started execution") .callback(callback -> callback.call(classLoadingBean.getUnloadedClassCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -84,13 +91,19 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private ClassLoadingMXBean classLoadingBean; + private final PrometheusProperties config; + @Nullable private ClassLoadingMXBean classLoadingBean; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder classLoadingBean(ClassLoadingMXBean classLoadingBean) { this.classLoadingBean = classLoadingBean; @@ -106,7 +119,7 @@ public void register(PrometheusRegistry registry) { this.classLoadingBean != null ? this.classLoadingBean : ManagementFactory.getClassLoadingMXBean(); - new JvmClassLoadingMetrics(classLoadingBean, config).register(registry); + new JvmClassLoadingMetrics(classLoadingBean, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java index dfde6c539..9a3d1bade 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java @@ -6,6 +6,7 @@ import io.prometheus.metrics.core.metrics.CounterWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.CompilationMXBean; import java.lang.management.ManagementFactory; import javax.annotation.Nullable; @@ -39,10 +40,13 @@ public class JvmCompilationMetrics { private final PrometheusProperties config; private final CompilationMXBean compilationBean; + private final Labels constLabels; - private JvmCompilationMetrics(CompilationMXBean compilationBean, PrometheusProperties config) { + private JvmCompilationMetrics( + CompilationMXBean compilationBean, PrometheusProperties config, Labels constLabels) { this.compilationBean = compilationBean; this.config = config; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { @@ -51,13 +55,14 @@ private void register(PrometheusRegistry registry) { return; } - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_COMPILATION_TIME_SECONDS_TOTAL) .help("The total time in seconds taken for HotSpot class compilation") .unit(Unit.SECONDS) .callback( callback -> callback.call(millisToSeconds(compilationBean.getTotalCompilationTime()))) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -70,13 +75,19 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private CompilationMXBean compilationBean; + private final PrometheusProperties config; + @Nullable private CompilationMXBean compilationBean; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder compilationBean(CompilationMXBean compilationBean) { this.compilationBean = compilationBean; @@ -92,7 +103,7 @@ public void register(PrometheusRegistry registry) { this.compilationBean != null ? this.compilationBean : ManagementFactory.getCompilationMXBean(); - new JvmCompilationMetrics(compilationBean, config).register(registry); + new JvmCompilationMetrics(compilationBean, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java index 262e2df5f..e2a954b2f 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java @@ -5,6 +5,7 @@ import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Quantiles; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.GarbageCollectorMXBean; import java.lang.management.ManagementFactory; import java.util.List; @@ -42,16 +43,18 @@ public class JvmGarbageCollectorMetrics { private final PrometheusProperties config; private final List garbageCollectorBeans; + private final Labels constLabels; private JvmGarbageCollectorMetrics( - List garbageCollectorBeans, PrometheusProperties config) { + List garbageCollectorBeans, PrometheusProperties config, Labels constLabels) { this.config = config; this.garbageCollectorBeans = garbageCollectorBeans; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - SummaryWithCallback.builder(config) + SummaryWithCallback.builder(config) .name(JVM_GC_COLLECTION_SECONDS) .help("Time spent in a given JVM garbage collector in seconds.") .unit(Unit.SECONDS) @@ -66,7 +69,8 @@ private void register(PrometheusRegistry registry) { gc.getName()); } }) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -79,13 +83,19 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private List garbageCollectorBeans; + private final PrometheusProperties config; + @Nullable private List garbageCollectorBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder garbageCollectorBeans(List garbageCollectorBeans) { this.garbageCollectorBeans = garbageCollectorBeans; @@ -101,7 +111,7 @@ public void register(PrometheusRegistry registry) { if (garbageCollectorBeans == null) { garbageCollectorBeans = ManagementFactory.getGarbageCollectorMXBeans(); } - new JvmGarbageCollectorMetrics(garbageCollectorBeans, config).register(registry); + new JvmGarbageCollectorMetrics(garbageCollectorBeans, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java index cecfe3c8a..62bec5627 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java @@ -4,6 +4,7 @@ import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.ManagementFactory; import java.lang.management.MemoryMXBean; import java.lang.management.MemoryPoolMXBean; @@ -127,23 +128,26 @@ public class JvmMemoryMetrics { private final PrometheusProperties config; private final MemoryMXBean memoryBean; private final List poolBeans; + private final Labels constLabels; private JvmMemoryMetrics( - List poolBeans, MemoryMXBean memoryBean, PrometheusProperties config) { + List poolBeans, MemoryMXBean memoryBean, PrometheusProperties config, Labels constLabels) { this.config = config; this.poolBeans = poolBeans; this.memoryBean = memoryBean; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_OBJECTS_PENDING_FINALIZATION) .help("The number of objects waiting in the finalizer queue.") .callback(callback -> callback.call(memoryBean.getObjectPendingFinalizationCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_USED_BYTES) .help("Used bytes of a given JVM memory area.") .unit(Unit.BYTES) @@ -153,9 +157,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getUsed(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getUsed(), "nonheap"); }) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_COMMITTED_BYTES) .help("Committed (bytes) of a given JVM memory area.") .unit(Unit.BYTES) @@ -165,9 +170,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getCommitted(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getCommitted(), "nonheap"); }) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_MAX_BYTES) .help("Max (bytes) of a given JVM memory area.") .unit(Unit.BYTES) @@ -177,9 +183,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getMax(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getMax(), "nonheap"); }) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_INIT_BYTES) .help("Initial bytes of a given JVM memory area.") .unit(Unit.BYTES) @@ -189,50 +196,56 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getInit(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getInit(), "nonheap"); }) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_USED_BYTES) .help("Used bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getUsed)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COMMITTED_BYTES) .help("Committed bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getCommitted)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_MAX_BYTES) .help("Max bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getMax)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_INIT_BYTES) .help("Initial bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getInit)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_USED_BYTES) .help("Used bytes after last collection of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getUsed)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_COMMITTED_BYTES) .help("Committed after last collection bytes of a given JVM memory pool.") .unit(Unit.BYTES) @@ -240,25 +253,28 @@ private void register(PrometheusRegistry registry) { .callback( makeCallback( poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getCommitted)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_MAX_BYTES) .help("Max bytes after last collection of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getMax)) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_INIT_BYTES) .help("Initial after last collection bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getInit)) - .register(registry); + .constLabels(constLabels) + .register(registry); } private Consumer makeCallback( @@ -285,14 +301,20 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private MemoryMXBean memoryBean; - @Nullable private List poolBeans; + private final PrometheusProperties config; + @Nullable private MemoryMXBean memoryBean; + @Nullable private List poolBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder withMemoryBean(MemoryMXBean memoryBean) { this.memoryBean = memoryBean; @@ -314,7 +336,7 @@ public void register(PrometheusRegistry registry) { this.memoryBean != null ? this.memoryBean : ManagementFactory.getMemoryMXBean(); List poolBeans = this.poolBeans != null ? this.poolBeans : ManagementFactory.getMemoryPoolMXBeans(); - new JvmMemoryMetrics(poolBeans, bean, config).register(registry); + new JvmMemoryMetrics(poolBeans, bean, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java index 160469b8b..dd998c873 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java @@ -5,6 +5,7 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.Counter; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.GarbageCollectorMXBean; import java.lang.management.ManagementFactory; import java.lang.management.MemoryUsage; @@ -52,20 +53,23 @@ public class JvmMemoryPoolAllocationMetrics { "jvm_memory_pool_allocated_bytes_total"; private final List garbageCollectorBeans; + private final Labels constLabels; - private JvmMemoryPoolAllocationMetrics(List garbageCollectorBeans) { + private JvmMemoryPoolAllocationMetrics(List garbageCollectorBeans, Labels constLabels) { this.garbageCollectorBeans = garbageCollectorBeans; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - Counter allocatedCounter = - Counter.builder() - .name(JVM_MEMORY_POOL_ALLOCATED_BYTES_TOTAL) - .help( - "Total bytes allocated in a given JVM memory pool. Only updated after GC, " - + "not continuously.") - .labelNames("pool") - .register(registry); + Counter allocatedCounter = + Counter.builder() + .name(JVM_MEMORY_POOL_ALLOCATED_BYTES_TOTAL) + .help( + "Total bytes allocated in a given JVM memory pool. Only updated after GC, " + + "not continuously.") + .labelNames("pool") + .constLabels(constLabels) + .register(registry); AllocationCountingNotificationListener listener = new AllocationCountingNotificationListener(allocatedCounter); @@ -152,8 +156,14 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { @Nullable private List garbageCollectorBeans; + private Labels constLabels = Labels.EMPTY; private Builder() {} + + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } /** Package private. For testing only. */ Builder withGarbageCollectorBeans(List garbageCollectorBeans) { @@ -170,7 +180,7 @@ public void register(PrometheusRegistry registry) { if (garbageCollectorBeans == null) { garbageCollectorBeans = ManagementFactory.getGarbageCollectorMXBeans(); } - new JvmMemoryPoolAllocationMetrics(garbageCollectorBeans).register(registry); + new JvmMemoryPoolAllocationMetrics(garbageCollectorBeans, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java index 0f5a56eee..b7efb437d 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java @@ -2,6 +2,7 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -31,12 +32,19 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; + private final PrometheusProperties config; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + /** Set constant labels that will be applied to all JVM metrics registered by this builder. */ + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** * Register all JVM metrics with the default registry. * @@ -55,16 +63,16 @@ public void register() { */ public void register(PrometheusRegistry registry) { if (REGISTERED.add(registry)) { - JvmThreadsMetrics.builder(config).register(registry); - JvmBufferPoolMetrics.builder(config).register(registry); - JvmClassLoadingMetrics.builder(config).register(registry); - JvmCompilationMetrics.builder(config).register(registry); - JvmGarbageCollectorMetrics.builder(config).register(registry); - JvmMemoryPoolAllocationMetrics.builder(config).register(registry); - JvmMemoryMetrics.builder(config).register(registry); - JvmNativeMemoryMetrics.builder(config).register(registry); - JvmRuntimeInfoMetric.builder(config).register(registry); - ProcessMetrics.builder(config).register(registry); + JvmThreadsMetrics.builder(config).constLabels(constLabels).register(registry); + JvmBufferPoolMetrics.builder(config).constLabels(constLabels).register(registry); + JvmClassLoadingMetrics.builder(config).constLabels(constLabels).register(registry); + JvmCompilationMetrics.builder(config).constLabels(constLabels).register(registry); + JvmGarbageCollectorMetrics.builder(config).constLabels(constLabels).register(registry); + JvmMemoryPoolAllocationMetrics.builder(config).constLabels(constLabels).register(registry); + JvmMemoryMetrics.builder(config).constLabels(constLabels).register(registry); + JvmNativeMemoryMetrics.builder(config).constLabels(constLabels).register(registry); + JvmRuntimeInfoMetric.builder(config).constLabels(constLabels).register(registry); + ProcessMetrics.builder(config).constLabels(constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java index 53225edca..79fc142dc 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java @@ -4,6 +4,7 @@ import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.ManagementFactory; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Consumer; @@ -97,17 +98,19 @@ public class JvmNativeMemoryMetrics { private final PrometheusProperties config; private final PlatformMBeanServerAdapter adapter; + private final Labels constLabels; - private JvmNativeMemoryMetrics(PrometheusProperties config, PlatformMBeanServerAdapter adapter) { + private JvmNativeMemoryMetrics(PrometheusProperties config, PlatformMBeanServerAdapter adapter, Labels constLabels) { this.config = config; this.adapter = adapter; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { // first call will check if enabled and set the flag vmNativeMemorySummaryInBytesOrEmpty(); if (isEnabled.get()) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_NATIVE_MEMORY_RESERVED_BYTES) .help( "Reserved bytes of a given JVM. Reserved memory represents the total amount of " @@ -115,9 +118,10 @@ private void register(PrometheusRegistry registry) { .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(true)) + .constLabels(constLabels) .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_NATIVE_MEMORY_COMMITTED_BYTES) .help( "Committed bytes of a given JVM. Committed memory represents the amount of " @@ -125,6 +129,7 @@ private void register(PrometheusRegistry registry) { .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(false)) + .constLabels(constLabels) .register(registry); } } @@ -200,6 +205,7 @@ public static class Builder { private final PrometheusProperties config; private final PlatformMBeanServerAdapter adapter; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this(config, new DefaultPlatformMBeanServerAdapter()); @@ -211,12 +217,17 @@ private Builder(PrometheusProperties config) { this.adapter = adapter; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + public void register() { register(PrometheusRegistry.defaultRegistry); } public void register(PrometheusRegistry registry) { - new JvmNativeMemoryMetrics(config, adapter).register(registry); + new JvmNativeMemoryMetrics(config, adapter, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java index 5ebd61c21..d241970a7 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java @@ -3,6 +3,7 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.Info; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import javax.annotation.Nullable; /** @@ -33,23 +34,26 @@ public class JvmRuntimeInfoMetric { private final String version; private final String vendor; private final String runtime; + private final Labels constLabels; private JvmRuntimeInfoMetric( - String version, String vendor, String runtime, PrometheusProperties config) { + String version, String vendor, String runtime, PrometheusProperties config, Labels constLabels) { this.config = config; this.version = version; this.vendor = vendor; this.runtime = runtime; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - Info jvmInfo = - Info.builder(config) - .name(JVM_RUNTIME_INFO) - .help("JVM runtime info") - .labelNames("version", "vendor", "runtime") - .register(registry); + Info jvmInfo = + Info.builder(config) + .name(JVM_RUNTIME_INFO) + .help("JVM runtime info") + .labelNames("version", "vendor", "runtime") + .constLabels(constLabels) + .register(registry); jvmInfo.setLabelValues(version, vendor, runtime); } @@ -64,15 +68,21 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private String version; - @Nullable private String vendor; - @Nullable private String runtime; + private final PrometheusProperties config; + @Nullable private String version; + @Nullable private String vendor; + @Nullable private String runtime; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + /** Package private. For testing only. */ Builder version(String version) { this.version = version; @@ -104,7 +114,7 @@ public void register(PrometheusRegistry registry) { this.vendor != null ? this.vendor : System.getProperty("java.vm.vendor", "unknown"); String runtime = this.runtime != null ? this.runtime : System.getProperty("java.runtime.name", "unknown"); - new JvmRuntimeInfoMetric(version, vendor, runtime, config).register(registry); + new JvmRuntimeInfoMetric(version, vendor, runtime, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java index d3c69795e..e407bc502 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java @@ -6,6 +6,7 @@ import io.prometheus.metrics.core.metrics.CounterWithCallback; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; @@ -74,57 +75,65 @@ public class JvmThreadsMetrics { private final PrometheusProperties config; private final ThreadMXBean threadBean; private final boolean isNativeImage; + private final Labels constLabels; private JvmThreadsMetrics( - boolean isNativeImage, ThreadMXBean threadBean, PrometheusProperties config) { + boolean isNativeImage, ThreadMXBean threadBean, PrometheusProperties config, Labels constLabels) { this.config = config; this.threadBean = threadBean; this.isNativeImage = isNativeImage; + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_CURRENT) .help("Current thread count of a JVM") .callback(callback -> callback.call(threadBean.getThreadCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DAEMON) .help("Daemon thread count of a JVM") .callback(callback -> callback.call(threadBean.getDaemonThreadCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_PEAK) .help("Peak thread count of a JVM") .callback(callback -> callback.call(threadBean.getPeakThreadCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_THREADS_STARTED_TOTAL) .help("Started thread count of a JVM") .callback(callback -> callback.call(threadBean.getTotalStartedThreadCount())) - .register(registry); + .constLabels(constLabels) + .register(registry); if (!isNativeImage) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DEADLOCKED) .help( "Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or " + "ownable synchronizers") .callback( callback -> callback.call(nullSafeArrayLength(threadBean.findDeadlockedThreads()))) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DEADLOCKED_MONITOR) .help("Cycles of JVM-threads that are in deadlock waiting to acquire object monitors") .callback( callback -> callback.call(nullSafeArrayLength(threadBean.findMonitorDeadlockedThreads()))) - .register(registry); + .constLabels(constLabels) + .register(registry); GaugeWithCallback.builder(config) .name(JVM_THREADS_STATE) @@ -137,6 +146,7 @@ private void register(PrometheusRegistry registry) { callback.call(entry.getValue(), entry.getKey()); } }) + .constLabels(constLabels) .register(registry); } } @@ -196,10 +206,16 @@ public static class Builder { private final PrometheusProperties config; @Nullable private Boolean isNativeImage; @Nullable private ThreadMXBean threadBean; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; } + + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } /** Package private. For testing only. */ Builder threadBean(ThreadMXBean threadBean) { @@ -222,7 +238,7 @@ public void register(PrometheusRegistry registry) { this.threadBean != null ? this.threadBean : ManagementFactory.getThreadMXBean(); boolean isNativeImage = this.isNativeImage != null ? this.isNativeImage : NativeImageChecker.isGraalVmNativeImage; - new JvmThreadsMetrics(isNativeImage, threadBean, config).register(registry); + new JvmThreadsMetrics(isNativeImage, threadBean, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java index e3363c868..ca0312560 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java @@ -5,6 +5,7 @@ import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; import io.prometheus.metrics.model.snapshots.Unit; +import io.prometheus.metrics.model.snapshots.Labels; import java.io.BufferedReader; import java.io.File; import java.io.IOException; @@ -82,22 +83,25 @@ public class ProcessMetrics { private final RuntimeMXBean runtimeBean; private final Grepper grepper; private final boolean linux; + private final Labels constLabels; private ProcessMetrics( OperatingSystemMXBean osBean, RuntimeMXBean runtimeBean, Grepper grepper, - PrometheusProperties config) { + PrometheusProperties config, + Labels constLabels) { this.osBean = osBean; this.runtimeBean = runtimeBean; this.grepper = grepper; this.config = config; this.linux = PROC_SELF_STATUS.canRead(); + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(PROCESS_CPU_SECONDS_TOTAL) .help("Total user and system CPU time spent in seconds.") .unit(Unit.SECONDS) @@ -117,17 +121,19 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_START_TIME_SECONDS) .help("Start time of the process since unix epoch in seconds.") .unit(Unit.SECONDS) .callback(callback -> callback.call(Unit.millisToSeconds(runtimeBean.getStartTime()))) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_OPEN_FDS) .help("Number of open file descriptors.") .callback( @@ -140,10 +146,11 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_MAX_FDS) .help("Maximum number of open file descriptors.") .callback( @@ -156,12 +163,13 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); if (linux) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_VIRTUAL_MEMORY_BYTES) .help("Virtual memory size in bytes.") .unit(Unit.BYTES) @@ -174,9 +182,10 @@ private void register(PrometheusRegistry registry) { // Ignored } }) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_RESIDENT_MEMORY_BYTES) .help("Resident memory size in bytes.") .unit(Unit.BYTES) @@ -189,7 +198,8 @@ private void register(PrometheusRegistry registry) { // Ignored } }) - .register(registry); + .constLabels(constLabels) + .register(registry); } } @@ -275,6 +285,7 @@ public static class Builder { @Nullable private OperatingSystemMXBean osBean; @Nullable private RuntimeMXBean runtimeBean; @Nullable private Grepper grepper; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; @@ -298,6 +309,11 @@ Builder grepper(Grepper grepper) { return this; } + public Builder constLabels(Labels constLabels) { + this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + return this; + } + public void register() { register(PrometheusRegistry.defaultRegistry); } @@ -308,7 +324,7 @@ public void register(PrometheusRegistry registry) { RuntimeMXBean bean = this.runtimeBean != null ? this.runtimeBean : ManagementFactory.getRuntimeMXBean(); Grepper grepper = this.grepper != null ? this.grepper : new FileGrepper(); - new ProcessMetrics(osBean, bean, grepper, config).register(registry); + new ProcessMetrics(osBean, bean, grepper, config, constLabels).register(registry); } } } diff --git a/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java b/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java index 2bb908a37..96c0792b0 100644 --- a/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java +++ b/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java @@ -4,6 +4,10 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.MetricSnapshots; +import io.prometheus.metrics.model.snapshots.MetricSnapshot; +import io.prometheus.metrics.model.snapshots.DataPointSnapshot; import java.lang.management.ManagementFactory; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -32,6 +36,25 @@ void pool() { .register(); } + @Test + void testConstLabelsApplied() { + PrometheusRegistry registry = new PrometheusRegistry(); + Labels labels = Labels.of("env", "dev"); + JvmMetrics.builder().constLabels(labels).register(registry); + MetricSnapshots snapshots = registry.scrape(); + boolean found = false; + for (MetricSnapshot snapshot : snapshots) { + for (DataPointSnapshot dp : snapshot.getDataPoints()) { + if ("dev".equals(dp.getLabels().get("env"))) { + found = true; + break; + } + } + if (found) break; + } + assertThat(found).isTrue(); + } + @Test void testJvmMetrics() { JvmMetrics.builder(PrometheusProperties.get()).register(); From 693f0ed4e4a1f506d0fa3223d64885fcc8069767 Mon Sep 17 00:00:00 2001 From: Sibasis Padhi Date: Thu, 25 Dec 2025 19:19:43 -0600 Subject: [PATCH 15/29] style(jvm): apply Google Java Format to all changed files for constLabels support (#1694) Signed-off-by: Sibasis Padhi Signed-off-by: Sibasis --- .../jvm/JvmBufferPoolMetrics.java | 8 +- .../jvm/JvmClassLoadingMetrics.java | 24 ++--- .../jvm/JvmCompilationMetrics.java | 14 +-- .../jvm/JvmGarbageCollectorMetrics.java | 18 ++-- .../instrumentation/jvm/JvmMemoryMetrics.java | 93 ++++++++++--------- .../jvm/JvmMemoryPoolAllocationMetrics.java | 23 ++--- .../instrumentation/jvm/JvmMetrics.java | 4 +- .../jvm/JvmNativeMemoryMetrics.java | 9 +- .../jvm/JvmRuntimeInfoMetric.java | 30 +++--- .../jvm/JvmThreadsMetrics.java | 43 +++++---- .../instrumentation/jvm/ProcessMetrics.java | 44 ++++----- .../instrumentation/jvm/JvmMetricsTest.java | 4 +- 12 files changed, 164 insertions(+), 150 deletions(-) diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java index f9f6d76f3..52353722e 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java @@ -3,8 +3,8 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; -import io.prometheus.metrics.model.snapshots.Unit; import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.Unit; import java.lang.management.BufferPoolMXBean; import java.lang.management.ManagementFactory; import java.util.List; @@ -112,9 +112,9 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private List bufferPoolBeans; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private List bufferPoolBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java index 8970dfe9f..4cfa917ae 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java @@ -56,29 +56,29 @@ private JvmClassLoadingMetrics( private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_CLASSES_CURRENTLY_LOADED) .help("The number of classes that are currently loaded in the JVM") .callback(callback -> callback.call(classLoadingBean.getLoadedClassCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_CLASSES_LOADED_TOTAL) .help( "The total number of classes that have been loaded since the JVM has started execution") .callback(callback -> callback.call(classLoadingBean.getTotalLoadedClassCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_CLASSES_UNLOADED_TOTAL) .help( "The total number of classes that have been unloaded since the JVM has " + "started execution") .callback(callback -> callback.call(classLoadingBean.getUnloadedClassCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -91,9 +91,9 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private ClassLoadingMXBean classLoadingBean; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private ClassLoadingMXBean classLoadingBean; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java index 9a3d1bade..3c9af6e86 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java @@ -5,8 +5,8 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.CounterWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; -import io.prometheus.metrics.model.snapshots.Unit; import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.Unit; import java.lang.management.CompilationMXBean; import java.lang.management.ManagementFactory; import javax.annotation.Nullable; @@ -55,14 +55,14 @@ private void register(PrometheusRegistry registry) { return; } - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_COMPILATION_TIME_SECONDS_TOTAL) .help("The total time in seconds taken for HotSpot class compilation") .unit(Unit.SECONDS) .callback( callback -> callback.call(millisToSeconds(compilationBean.getTotalCompilationTime()))) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -75,9 +75,9 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private CompilationMXBean compilationBean; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private CompilationMXBean compilationBean; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java index e2a954b2f..00daaebfc 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java @@ -3,9 +3,9 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.SummaryWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.Labels; import io.prometheus.metrics.model.snapshots.Quantiles; import io.prometheus.metrics.model.snapshots.Unit; -import io.prometheus.metrics.model.snapshots.Labels; import java.lang.management.GarbageCollectorMXBean; import java.lang.management.ManagementFactory; import java.util.List; @@ -46,7 +46,9 @@ public class JvmGarbageCollectorMetrics { private final Labels constLabels; private JvmGarbageCollectorMetrics( - List garbageCollectorBeans, PrometheusProperties config, Labels constLabels) { + List garbageCollectorBeans, + PrometheusProperties config, + Labels constLabels) { this.config = config; this.garbageCollectorBeans = garbageCollectorBeans; this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; @@ -54,7 +56,7 @@ private JvmGarbageCollectorMetrics( private void register(PrometheusRegistry registry) { - SummaryWithCallback.builder(config) + SummaryWithCallback.builder(config) .name(JVM_GC_COLLECTION_SECONDS) .help("Time spent in a given JVM garbage collector in seconds.") .unit(Unit.SECONDS) @@ -69,8 +71,8 @@ private void register(PrometheusRegistry registry) { gc.getName()); } }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); } public static Builder builder() { @@ -83,9 +85,9 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private List garbageCollectorBeans; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private List garbageCollectorBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java index 62bec5627..0db99717b 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java @@ -3,8 +3,8 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; -import io.prometheus.metrics.model.snapshots.Unit; import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.Unit; import java.lang.management.ManagementFactory; import java.lang.management.MemoryMXBean; import java.lang.management.MemoryPoolMXBean; @@ -131,7 +131,10 @@ public class JvmMemoryMetrics { private final Labels constLabels; private JvmMemoryMetrics( - List poolBeans, MemoryMXBean memoryBean, PrometheusProperties config, Labels constLabels) { + List poolBeans, + MemoryMXBean memoryBean, + PrometheusProperties config, + Labels constLabels) { this.config = config; this.poolBeans = poolBeans; this.memoryBean = memoryBean; @@ -140,14 +143,14 @@ private JvmMemoryMetrics( private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_OBJECTS_PENDING_FINALIZATION) .help("The number of objects waiting in the finalizer queue.") .callback(callback -> callback.call(memoryBean.getObjectPendingFinalizationCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_USED_BYTES) .help("Used bytes of a given JVM memory area.") .unit(Unit.BYTES) @@ -157,10 +160,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getUsed(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getUsed(), "nonheap"); }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_COMMITTED_BYTES) .help("Committed (bytes) of a given JVM memory area.") .unit(Unit.BYTES) @@ -170,10 +173,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getCommitted(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getCommitted(), "nonheap"); }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_MAX_BYTES) .help("Max (bytes) of a given JVM memory area.") .unit(Unit.BYTES) @@ -183,10 +186,10 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getMax(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getMax(), "nonheap"); }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_INIT_BYTES) .help("Initial bytes of a given JVM memory area.") .unit(Unit.BYTES) @@ -196,56 +199,56 @@ private void register(PrometheusRegistry registry) { callback.call(memoryBean.getHeapMemoryUsage().getInit(), "heap"); callback.call(memoryBean.getNonHeapMemoryUsage().getInit(), "nonheap"); }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_USED_BYTES) .help("Used bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getUsed)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COMMITTED_BYTES) .help("Committed bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getCommitted)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_MAX_BYTES) .help("Max bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getMax)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_INIT_BYTES) .help("Initial bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback(makeCallback(poolBeans, MemoryPoolMXBean::getUsage, MemoryUsage::getInit)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_USED_BYTES) .help("Used bytes after last collection of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getUsed)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_COMMITTED_BYTES) .help("Committed after last collection bytes of a given JVM memory pool.") .unit(Unit.BYTES) @@ -253,28 +256,28 @@ private void register(PrometheusRegistry registry) { .callback( makeCallback( poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getCommitted)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_MAX_BYTES) .help("Max bytes after last collection of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getMax)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_MEMORY_POOL_COLLECTION_INIT_BYTES) .help("Initial after last collection bytes of a given JVM memory pool.") .unit(Unit.BYTES) .labelNames("pool") .callback( makeCallback(poolBeans, MemoryPoolMXBean::getCollectionUsage, MemoryUsage::getInit)) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); } private Consumer makeCallback( @@ -301,10 +304,10 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private MemoryMXBean memoryBean; - @Nullable private List poolBeans; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private MemoryMXBean memoryBean; + @Nullable private List poolBeans; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java index dd998c873..3dbd55ea9 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java @@ -55,21 +55,22 @@ public class JvmMemoryPoolAllocationMetrics { private final List garbageCollectorBeans; private final Labels constLabels; - private JvmMemoryPoolAllocationMetrics(List garbageCollectorBeans, Labels constLabels) { + private JvmMemoryPoolAllocationMetrics( + List garbageCollectorBeans, Labels constLabels) { this.garbageCollectorBeans = garbageCollectorBeans; this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; } private void register(PrometheusRegistry registry) { - Counter allocatedCounter = - Counter.builder() - .name(JVM_MEMORY_POOL_ALLOCATED_BYTES_TOTAL) - .help( - "Total bytes allocated in a given JVM memory pool. Only updated after GC, " - + "not continuously.") - .labelNames("pool") - .constLabels(constLabels) - .register(registry); + Counter allocatedCounter = + Counter.builder() + .name(JVM_MEMORY_POOL_ALLOCATED_BYTES_TOTAL) + .help( + "Total bytes allocated in a given JVM memory pool. Only updated after GC, " + + "not continuously.") + .labelNames("pool") + .constLabels(constLabels) + .register(registry); AllocationCountingNotificationListener listener = new AllocationCountingNotificationListener(allocatedCounter); @@ -159,7 +160,7 @@ public static class Builder { private Labels constLabels = Labels.EMPTY; private Builder() {} - + public Builder constLabels(Labels constLabels) { this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; return this; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java index b7efb437d..f888b78d1 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java @@ -32,8 +32,8 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java index 79fc142dc..5c3ad0210 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java @@ -3,8 +3,8 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; -import io.prometheus.metrics.model.snapshots.Unit; import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.Unit; import java.lang.management.ManagementFactory; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Consumer; @@ -100,7 +100,8 @@ public class JvmNativeMemoryMetrics { private final PlatformMBeanServerAdapter adapter; private final Labels constLabels; - private JvmNativeMemoryMetrics(PrometheusProperties config, PlatformMBeanServerAdapter adapter, Labels constLabels) { + private JvmNativeMemoryMetrics( + PrometheusProperties config, PlatformMBeanServerAdapter adapter, Labels constLabels) { this.config = config; this.adapter = adapter; this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; @@ -110,7 +111,7 @@ private void register(PrometheusRegistry registry) { // first call will check if enabled and set the flag vmNativeMemorySummaryInBytesOrEmpty(); if (isEnabled.get()) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_NATIVE_MEMORY_RESERVED_BYTES) .help( "Reserved bytes of a given JVM. Reserved memory represents the total amount of " @@ -121,7 +122,7 @@ private void register(PrometheusRegistry registry) { .constLabels(constLabels) .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_NATIVE_MEMORY_COMMITTED_BYTES) .help( "Committed bytes of a given JVM. Committed memory represents the amount of " diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java index d241970a7..99e87687b 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java @@ -37,7 +37,11 @@ public class JvmRuntimeInfoMetric { private final Labels constLabels; private JvmRuntimeInfoMetric( - String version, String vendor, String runtime, PrometheusProperties config, Labels constLabels) { + String version, + String vendor, + String runtime, + PrometheusProperties config, + Labels constLabels) { this.config = config; this.version = version; this.vendor = vendor; @@ -47,13 +51,13 @@ private JvmRuntimeInfoMetric( private void register(PrometheusRegistry registry) { - Info jvmInfo = - Info.builder(config) - .name(JVM_RUNTIME_INFO) - .help("JVM runtime info") - .labelNames("version", "vendor", "runtime") - .constLabels(constLabels) - .register(registry); + Info jvmInfo = + Info.builder(config) + .name(JVM_RUNTIME_INFO) + .help("JVM runtime info") + .labelNames("version", "vendor", "runtime") + .constLabels(constLabels) + .register(registry); jvmInfo.setLabelValues(version, vendor, runtime); } @@ -68,11 +72,11 @@ public static Builder builder(PrometheusProperties config) { public static class Builder { - private final PrometheusProperties config; - @Nullable private String version; - @Nullable private String vendor; - @Nullable private String runtime; - private Labels constLabels = Labels.EMPTY; + private final PrometheusProperties config; + @Nullable private String version; + @Nullable private String vendor; + @Nullable private String runtime; + private Labels constLabels = Labels.EMPTY; private Builder(PrometheusProperties config) { this.config = config; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java index e407bc502..22ef25f30 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java @@ -78,7 +78,10 @@ public class JvmThreadsMetrics { private final Labels constLabels; private JvmThreadsMetrics( - boolean isNativeImage, ThreadMXBean threadBean, PrometheusProperties config, Labels constLabels) { + boolean isNativeImage, + ThreadMXBean threadBean, + PrometheusProperties config, + Labels constLabels) { this.config = config; this.threadBean = threadBean; this.isNativeImage = isNativeImage; @@ -87,53 +90,53 @@ private JvmThreadsMetrics( private void register(PrometheusRegistry registry) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_CURRENT) .help("Current thread count of a JVM") .callback(callback -> callback.call(threadBean.getThreadCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DAEMON) .help("Daemon thread count of a JVM") .callback(callback -> callback.call(threadBean.getDaemonThreadCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_PEAK) .help("Peak thread count of a JVM") .callback(callback -> callback.call(threadBean.getPeakThreadCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(JVM_THREADS_STARTED_TOTAL) .help("Started thread count of a JVM") .callback(callback -> callback.call(threadBean.getTotalStartedThreadCount())) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); if (!isNativeImage) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DEADLOCKED) .help( "Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or " + "ownable synchronizers") .callback( callback -> callback.call(nullSafeArrayLength(threadBean.findDeadlockedThreads()))) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(JVM_THREADS_DEADLOCKED_MONITOR) .help("Cycles of JVM-threads that are in deadlock waiting to acquire object monitors") .callback( callback -> callback.call(nullSafeArrayLength(threadBean.findMonitorDeadlockedThreads()))) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); GaugeWithCallback.builder(config) .name(JVM_THREADS_STATE) @@ -211,7 +214,7 @@ public static class Builder { private Builder(PrometheusProperties config) { this.config = config; } - + public Builder constLabels(Labels constLabels) { this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; return this; diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java index ca0312560..82c88ca31 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java @@ -4,8 +4,8 @@ import io.prometheus.metrics.core.metrics.CounterWithCallback; import io.prometheus.metrics.core.metrics.GaugeWithCallback; import io.prometheus.metrics.model.registry.PrometheusRegistry; -import io.prometheus.metrics.model.snapshots.Unit; import io.prometheus.metrics.model.snapshots.Labels; +import io.prometheus.metrics.model.snapshots.Unit; import java.io.BufferedReader; import java.io.File; import java.io.IOException; @@ -101,7 +101,7 @@ private ProcessMetrics( private void register(PrometheusRegistry registry) { - CounterWithCallback.builder(config) + CounterWithCallback.builder(config) .name(PROCESS_CPU_SECONDS_TOTAL) .help("Total user and system CPU time spent in seconds.") .unit(Unit.SECONDS) @@ -121,19 +121,19 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .constLabels(constLabels) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_START_TIME_SECONDS) .help("Start time of the process since unix epoch in seconds.") .unit(Unit.SECONDS) .callback(callback -> callback.call(Unit.millisToSeconds(runtimeBean.getStartTime()))) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_OPEN_FDS) .help("Number of open file descriptors.") .callback( @@ -146,11 +146,11 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .constLabels(constLabels) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_MAX_FDS) .help("Maximum number of open file descriptors.") .callback( @@ -163,13 +163,13 @@ private void register(PrometheusRegistry registry) { } catch (Exception ignored) { // Ignored } - }) - .constLabels(constLabels) - .register(registry); + }) + .constLabels(constLabels) + .register(registry); if (linux) { - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_VIRTUAL_MEMORY_BYTES) .help("Virtual memory size in bytes.") .unit(Unit.BYTES) @@ -182,10 +182,10 @@ private void register(PrometheusRegistry registry) { // Ignored } }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); - GaugeWithCallback.builder(config) + GaugeWithCallback.builder(config) .name(PROCESS_RESIDENT_MEMORY_BYTES) .help("Resident memory size in bytes.") .unit(Unit.BYTES) @@ -198,8 +198,8 @@ private void register(PrometheusRegistry registry) { // Ignored } }) - .constLabels(constLabels) - .register(registry); + .constLabels(constLabels) + .register(registry); } } diff --git a/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java b/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java index 96c0792b0..551ed35c7 100644 --- a/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java +++ b/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmMetricsTest.java @@ -4,10 +4,10 @@ import io.prometheus.metrics.config.PrometheusProperties; import io.prometheus.metrics.model.registry.PrometheusRegistry; +import io.prometheus.metrics.model.snapshots.DataPointSnapshot; import io.prometheus.metrics.model.snapshots.Labels; -import io.prometheus.metrics.model.snapshots.MetricSnapshots; import io.prometheus.metrics.model.snapshots.MetricSnapshot; -import io.prometheus.metrics.model.snapshots.DataPointSnapshot; +import io.prometheus.metrics.model.snapshots.MetricSnapshots; import java.lang.management.ManagementFactory; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; From 282243e494f03d0a0ef854335a04b4f535a88587 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Dec 2025 17:25:26 +0000 Subject: [PATCH 16/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.153.3 (#1756) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.2` -> `v0.153.3` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.153.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.153.2/v0.153.3?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.153.3`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.153.3) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.2...v0.153.3) #### What's Changed - build(deps): bump github.com/bep/imagemeta from 0.12.0 to 0.12.1 [`96ac146`](https://redirect.github.com/gohugoio/hugo/commit/96ac146e) [@​dependabot](https://redirect.github.com/dependabot)\[bot] - Fix error with \_content.gotmpl file with index.md siblings [`d4c0e44`](https://redirect.github.com/gohugoio/hugo/commit/d4c0e445) [@​bep](https://redirect.github.com/bep) [#​14299](https://redirect.github.com/gohugoio/hugo/issues/14299)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index b97105554..3b1ed4ff3 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.2" +"go:github.com/gohugoio/hugo" = "v0.153.3" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 52a4329b85a5f9162aa94fd8fa7dfe80abc5bd4a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Dec 2025 01:10:45 +0000 Subject: [PATCH 17/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.153.4 (#1757) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.3` -> `v0.153.4` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.153.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.153.3/v0.153.4?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.153.4`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.153.4) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.3...v0.153.4) #### What's Changed - Set cascade target to the content matrix if not set in the cascade itself [`96777d9`](https://redirect.github.com/gohugoio/hugo/commit/96777d9b) [@​bep](https://redirect.github.com/bep) [#​14310](https://redirect.github.com/gohugoio/hugo/issues/14310)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 3b1ed4ff3..93f1ad557 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.3" +"go:github.com/gohugoio/hugo" = "v0.153.4" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 32168d45588640d5fbdc4695656f6eb653d0ee28 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Dec 2025 13:11:54 +0000 Subject: [PATCH 18/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.153.5 (#1758) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.4` β†’ `v0.153.5` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.153.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.153.4/v0.153.5?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.153.5`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.153.5) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.4...v0.153.5) ##### What's Changed - images: Add compression option to image config and clean up some of the options handling [`c6ae33c`](https://redirect.github.com/gohugoio/hugo/commit/c6ae33c6) [@​bep](https://redirect.github.com/bep) - config: Fix cascade per language in hugo.toml regression [`edeebf0`](https://redirect.github.com/gohugoio/hugo/commit/edeebf0d) [@​bep](https://redirect.github.com/bep) [#​14321](https://redirect.github.com/gohugoio/hugo/issues/14321) - images: Fix WebP quality and hint parameters being ignored [`ea9675f`](https://redirect.github.com/gohugoio/hugo/commit/ea9675f6) [@​simonheimlicher](https://redirect.github.com/simonheimlicher) [#​14316](https://redirect.github.com/gohugoio/hugo/issues/14316)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 93f1ad557..67c1ee29a 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.4" +"go:github.com/gohugoio/hugo" = "v0.153.5" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 4c989def92e507b4bfc52b66f4610a2a4fe5a5bf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 31 Dec 2025 17:11:12 +0000 Subject: [PATCH 19/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.154.0 (#1759) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.5` β†’ `v0.154.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.154.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.153.5/v0.154.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.154.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.154.0) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.5...v0.154.0) Hugo `v0.154.0` is the **14th release** this year (not counting patch releases) and introduces [partial decorators](https://gohugo.io/quick-reference/glossary/#partial-decorator), or β€œpartials with a twist.” This is a very powerful construct that I, [@​bep](https://redirect.github.com/bep), have always wanted to have in Hugo, but I never could wrap my head around how to implement it. Until now. A small and not very useful example: ```handlebars {{ with partial "b.html" "World" }}Hello {{ . }}{{ end }} {{ define "_partials/b.html" }}{{ inner . }}{{ end }} ``` The above renders to: ```handlebars Hello World ``` - The new `inner` keyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller. - Decorators can be deeply nested, see [this PR](https://redirect.github.com/gohugoio/hugoDocs/pull/3330) for an example. This release also brings some new utility funcs in the [reflect](https://gohugo.io/functions/reflect/) package to identify the core types in Hugo. For example, to identify an [processable image](https://gohugo.io/quick-reference/glossary/#processable-image) hasn't been trivial, now it is: ```handlebars {{ $obj := . }} {{ if reflect.IsResource $obj }} {{ if reflect.IsImageResource $obj }} // It has width/height and we can process it. {{ else }} // Just link to it. {{ end }} {{ end }} ``` #### Bug fixes - tpl/collections: Fix apply to work with built-in funcs like len [`5c7fad2`](https://redirect.github.com/gohugoio/hugo/commit/5c7fad23) [@​bep](https://redirect.github.com/bep) [#​13418](https://redirect.github.com/gohugoio/hugo/issues/13418) - Revert "resources/page: Fix slugorcontentbasename for section pages" [`bf1d20d`](https://redirect.github.com/gohugoio/hugo/commit/bf1d20d7) [@​bep](https://redirect.github.com/bep) [#​14104](https://redirect.github.com/gohugoio/hugo/issues/14104) [#​14325](https://redirect.github.com/gohugoio/hugo/issues/14325) #### Improvements - helpers: Limit verbose watch output for better readability [`d3b5d47`](https://redirect.github.com/gohugoio/hugo/commit/d3b5d47a) [@​majiayu000](https://redirect.github.com/majiayu000) [#​14277](https://redirect.github.com/gohugoio/hugo/issues/14277) - tpl/reflect: Make the IsImageResource implementation less technical [`86cd183`](https://redirect.github.com/gohugoio/hugo/commit/86cd1838) [@​bep](https://redirect.github.com/bep) - internal/warpc: Increase WebP memory limit to 384 MiB [`871da33`](https://redirect.github.com/gohugoio/hugo/commit/871da337) [@​jmooring](https://redirect.github.com/jmooring) [#​14309](https://redirect.github.com/gohugoio/hugo/issues/14309) - Update tpl/reflect/reflect.go [`1deec99`](https://redirect.github.com/gohugoio/hugo/commit/1deec99b) [@​bep](https://redirect.github.com/bep) - Add reflect.Is{Page,Site,Resource,ImageResource} [`b7bb557`](https://redirect.github.com/gohugoio/hugo/commit/b7bb557c) [@​bep](https://redirect.github.com/bep) [#​14307](https://redirect.github.com/gohugoio/hugo/issues/14307) - Allow partials to work as decorators [`7c19c19`](https://redirect.github.com/gohugoio/hugo/commit/7c19c196) [@​bep](https://redirect.github.com/bep) [#​13193](https://redirect.github.com/gohugoio/hugo/issues/13193) #### Dependency Updates - build(deps): bump github.com/tetratelabs/wazero from 1.10.1 to 1.11.0 [`2637aa1`](https://redirect.github.com/gohugoio/hugo/commit/2637aa15) [@​dependabot](https://redirect.github.com/dependabot)\[bot]
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 67c1ee29a..4bc9b7e20 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.153.5" +"go:github.com/gohugoio/hugo" = "v0.154.0" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From c9823b4dfaf314891c138627b0851ee8855314b3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Jan 2026 21:11:44 +0000 Subject: [PATCH 20/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.154.2 (#1760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.154.0` β†’ `v0.154.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.154.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.154.0/v0.154.2?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.154.2`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.154.2) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.154.1...v0.154.2) ##### What's Changed - Fix alpha/fuzzy border issue with new webp decoder for images with with transparent background [`e9b9b36`](https://redirect.github.com/gohugoio/hugo/commit/e9b9b36f) [@​bep](https://redirect.github.com/bep) [#​14339](https://redirect.github.com/gohugoio/hugo/issues/14339) ### [`v0.154.1`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.154.1) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.154.0...v0.154.1) ##### What's Changed - Add WASM licensing information to README [`8f3527f`](https://redirect.github.com/gohugoio/hugo/commit/8f3527f6) [@​bep](https://redirect.github.com/bep) - Fix partial decorator detection in partial with blocks with outer range break or continue [`09048aa`](https://redirect.github.com/gohugoio/hugo/commit/09048aad) [@​bep](https://redirect.github.com/bep) [#​14333](https://redirect.github.com/gohugoio/hugo/issues/14333)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 4bc9b7e20..02f9a5e2d 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.154.0" +"go:github.com/gohugoio/hugo" = "v0.154.2" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0" From 1220352d67313db5cbe911bd6a325f4623d1f6a5 Mon Sep 17 00:00:00 2001 From: Sibasis Date: Tue, 6 Jan 2026 17:47:04 -0600 Subject: [PATCH 21/29] refactor(jvm): remove redundant null checks for constLabels parameter (#1694) NullAway static analysis ensures non-null parameters, making explicit null checks unnecessary in constLabels setter methods and constructors. Addresses PR #1755 review feedback. Signed-off-by: Sibasis Padhi Signed-off-by: Sibasis --- .../metrics/instrumentation/jvm/JvmBufferPoolMetrics.java | 4 ++-- .../metrics/instrumentation/jvm/JvmClassLoadingMetrics.java | 4 ++-- .../metrics/instrumentation/jvm/JvmCompilationMetrics.java | 4 ++-- .../instrumentation/jvm/JvmGarbageCollectorMetrics.java | 4 ++-- .../metrics/instrumentation/jvm/JvmMemoryMetrics.java | 4 ++-- .../instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java | 4 ++-- .../io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java | 2 +- .../metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java | 4 ++-- .../metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java | 4 ++-- .../metrics/instrumentation/jvm/JvmThreadsMetrics.java | 4 ++-- .../metrics/instrumentation/jvm/ProcessMetrics.java | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java index 52353722e..8fc4b87e9 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmBufferPoolMetrics.java @@ -55,7 +55,7 @@ private JvmBufferPoolMetrics( List bufferPoolBeans, PrometheusProperties config, Labels constLabels) { this.config = config; this.bufferPoolBeans = bufferPoolBeans; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -121,7 +121,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java index 4cfa917ae..34e9dcb8a 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmClassLoadingMetrics.java @@ -51,7 +51,7 @@ private JvmClassLoadingMetrics( ClassLoadingMXBean classLoadingBean, PrometheusProperties config, Labels constLabels) { this.classLoadingBean = classLoadingBean; this.config = config; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -100,7 +100,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java index 3c9af6e86..975b6c6a3 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmCompilationMetrics.java @@ -46,7 +46,7 @@ private JvmCompilationMetrics( CompilationMXBean compilationBean, PrometheusProperties config, Labels constLabels) { this.compilationBean = compilationBean; this.config = config; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -84,7 +84,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java index 00daaebfc..a87b52a4f 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmGarbageCollectorMetrics.java @@ -51,7 +51,7 @@ private JvmGarbageCollectorMetrics( Labels constLabels) { this.config = config; this.garbageCollectorBeans = garbageCollectorBeans; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -94,7 +94,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java index 0db99717b..1b34dba6c 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryMetrics.java @@ -138,7 +138,7 @@ private JvmMemoryMetrics( this.config = config; this.poolBeans = poolBeans; this.memoryBean = memoryBean; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -314,7 +314,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java index 3dbd55ea9..5dfb4199b 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMemoryPoolAllocationMetrics.java @@ -58,7 +58,7 @@ public class JvmMemoryPoolAllocationMetrics { private JvmMemoryPoolAllocationMetrics( List garbageCollectorBeans, Labels constLabels) { this.garbageCollectorBeans = garbageCollectorBeans; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -162,7 +162,7 @@ public static class Builder { private Builder() {} public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java index f888b78d1..b0abd86b1 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmMetrics.java @@ -41,7 +41,7 @@ private Builder(PrometheusProperties config) { /** Set constant labels that will be applied to all JVM metrics registered by this builder. */ public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java index 5c3ad0210..f2ae98abf 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmNativeMemoryMetrics.java @@ -104,7 +104,7 @@ private JvmNativeMemoryMetrics( PrometheusProperties config, PlatformMBeanServerAdapter adapter, Labels constLabels) { this.config = config; this.adapter = adapter; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -219,7 +219,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java index 99e87687b..58363780f 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmRuntimeInfoMetric.java @@ -46,7 +46,7 @@ private JvmRuntimeInfoMetric( this.version = version; this.vendor = vendor; this.runtime = runtime; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -83,7 +83,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java index 22ef25f30..0e98e29d3 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetrics.java @@ -85,7 +85,7 @@ private JvmThreadsMetrics( this.config = config; this.threadBean = threadBean; this.isNativeImage = isNativeImage; - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -216,7 +216,7 @@ private Builder(PrometheusProperties config) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } diff --git a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java index 82c88ca31..b341f848a 100644 --- a/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java +++ b/prometheus-metrics-instrumentation-jvm/src/main/java/io/prometheus/metrics/instrumentation/jvm/ProcessMetrics.java @@ -96,7 +96,7 @@ private ProcessMetrics( this.grepper = grepper; this.config = config; this.linux = PROC_SELF_STATUS.canRead(); - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; } private void register(PrometheusRegistry registry) { @@ -310,7 +310,7 @@ Builder grepper(Grepper grepper) { } public Builder constLabels(Labels constLabels) { - this.constLabels = constLabels == null ? Labels.EMPTY : constLabels; + this.constLabels = constLabels; return this; } From 5c8a99d65b61068903aad0913cebe92c67a4c2ca Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:53:00 +0000 Subject: [PATCH 22/29] chore(deps): update dependency mise to v2025.12.13 (#1761) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [mise](https://redirect.github.com/jdx/mise) | patch | `v2025.12.12` β†’ `v2025.12.13` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
jdx/mise (mise) ### [`v2025.12.13`](https://redirect.github.com/jdx/mise/releases/tag/v2025.12.13) [Compare Source](https://redirect.github.com/jdx/mise/compare/v2025.12.12...vfox-v2025.12.13) ##### πŸš€ Features - **(ruby)** set PKG\_CONFIG\_PATH for native gem extensions by [@​jdx](https://redirect.github.com/jdx) in [#​7457](https://redirect.github.com/jdx/mise/pull/7457) - **(tera)** add haiku() function for random name generation by [@​jdx](https://redirect.github.com/jdx) in [#​7399](https://redirect.github.com/jdx/mise/pull/7399) - **(vfox)** pass tool options to EnvKeys hook by [@​jdx](https://redirect.github.com/jdx) in [#​7447](https://redirect.github.com/jdx/mise/pull/7447) - implement independent versioning for subcrates by [@​jdx](https://redirect.github.com/jdx) in [#​7402](https://redirect.github.com/jdx/mise/pull/7402) - Move iTerm to OSC9;4 supported terminals by [@​Maks3w](https://redirect.github.com/Maks3w) in [#​7485](https://redirect.github.com/jdx/mise/pull/7485) ##### πŸ› Bug Fixes - **(ci)** improve GHA cache efficiency and fix registry-ci bug by [@​jdx](https://redirect.github.com/jdx) in [#​7404](https://redirect.github.com/jdx/mise/pull/7404) - **(ci)** use !cancelled() instead of always() for registry-ci by [@​jdx](https://redirect.github.com/jdx) in [#​7435](https://redirect.github.com/jdx/mise/pull/7435) - **(ci)** bump taiki-e/install-action 2.61.10 to 2.65.5 by [@​kvokka](https://redirect.github.com/kvokka) in [#​7496](https://redirect.github.com/jdx/mise/pull/7496) - **(e2e)** use explicit asdf backend for zprint in plugin\_install test by [@​jdx](https://redirect.github.com/jdx) in [#​7440](https://redirect.github.com/jdx/mise/pull/7440) - **(github)** use GITHUB\_TOKEN for attestation verification by [@​jdx](https://redirect.github.com/jdx) in [#​7446](https://redirect.github.com/jdx/mise/pull/7446) - **(go)** filter out go pre-release versions in ls-remote by [@​roele](https://redirect.github.com/roele) in [#​7488](https://redirect.github.com/jdx/mise/pull/7488) - **(hooks)** revert per-tool hook execution by [@​just-be-dev](https://redirect.github.com/just-be-dev) in [#​7509](https://redirect.github.com/jdx/mise/pull/7509) - **(release)** sync subcrate versions and use YYYY.MM.0 calver by [@​jdx](https://redirect.github.com/jdx) in [#​7516](https://redirect.github.com/jdx/mise/pull/7516) - **(schema)** add shell\_alias definition by [@​anp](https://redirect.github.com/anp) in [#​7441](https://redirect.github.com/jdx/mise/pull/7441) - **(schema)** add prepare config by [@​risu729](https://redirect.github.com/risu729) in [#​7497](https://redirect.github.com/jdx/mise/pull/7497) - **(test)** update backend\_arg test to use clojure instead of poetry by [@​jdx](https://redirect.github.com/jdx) in [#​7436](https://redirect.github.com/jdx/mise/pull/7436) - use vfox backend for poetry and fix related tests by [@​jdx](https://redirect.github.com/jdx) in [#​7445](https://redirect.github.com/jdx/mise/pull/7445) ##### πŸ“š Documentation - **(prepare)** add all source files to sources by [@​risu729](https://redirect.github.com/risu729) in [#​7498](https://redirect.github.com/jdx/mise/pull/7498) - add link to COPR package page for Fedora/RHEL by [@​jdx](https://redirect.github.com/jdx) in [bc8ac73](https://redirect.github.com/jdx/mise/commit/bc8ac732e3bdecfd12affd7b8c54cdebcdb87da1) - improve installation documentation by [@​jdx](https://redirect.github.com/jdx) in [#​7403](https://redirect.github.com/jdx/mise/pull/7403) - add comprehensive glossary by [@​jdx](https://redirect.github.com/jdx) in [#​7401](https://redirect.github.com/jdx/mise/pull/7401) - use `mise run` uniformly in its examples by [@​muzimuzhi](https://redirect.github.com/muzimuzhi) in [#​7444](https://redirect.github.com/jdx/mise/pull/7444) - update source file for asset autodetection by [@​muzimuzhi](https://redirect.github.com/muzimuzhi) in [#​7513](https://redirect.github.com/jdx/mise/pull/7513) ##### πŸ§ͺ Testing - **(ci)** validate GitHub token from pool with API call by [@​jdx](https://redirect.github.com/jdx) in [#​7459](https://redirect.github.com/jdx/mise/pull/7459) - rename duplicate 'ci' job names for clarity by [@​jdx](https://redirect.github.com/jdx) in [#​7398](https://redirect.github.com/jdx/mise/pull/7398) - add token pool integration for rate limit distribution by [@​jdx](https://redirect.github.com/jdx) in [#​7397](https://redirect.github.com/jdx/mise/pull/7397) ##### πŸ“¦οΈ Dependency Updates - replace dependency [@​tsconfig/node18](https://redirect.github.com/tsconfig/node18) with [@​tsconfig/node20](https://redirect.github.com/tsconfig/node20) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​7450](https://redirect.github.com/jdx/mise/pull/7450) - pin rui314/setup-mold action to [`725a879`](https://redirect.github.com/jdx/mise/commit/725a879) by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​7449](https://redirect.github.com/jdx/mise/pull/7449) ##### πŸ“¦ Registry - add github backend for swiftformat by [@​jdx](https://redirect.github.com/jdx) in [#​7396](https://redirect.github.com/jdx/mise/pull/7396) - use pipx backend for azure-cli by [@​jdx](https://redirect.github.com/jdx) in [#​7406](https://redirect.github.com/jdx/mise/pull/7406) - use pipx backend for dvc by [@​jdx](https://redirect.github.com/jdx) in [#​7413](https://redirect.github.com/jdx/mise/pull/7413) - add github backend for zprint by [@​jdx](https://redirect.github.com/jdx) in [#​7410](https://redirect.github.com/jdx/mise/pull/7410) - use gem backend for cocoapods by [@​jdx](https://redirect.github.com/jdx) in [#​7411](https://redirect.github.com/jdx/mise/pull/7411) - use pipx backend for gallery-dl by [@​jdx](https://redirect.github.com/jdx) in [#​7409](https://redirect.github.com/jdx/mise/pull/7409) - add aqua backends for HashiCorp tools by [@​jdx](https://redirect.github.com/jdx) in [#​7408](https://redirect.github.com/jdx/mise/pull/7408) - use npm backend for danger-js by [@​jdx](https://redirect.github.com/jdx) in [#​7407](https://redirect.github.com/jdx/mise/pull/7407) - use pipx backend for pipenv by [@​jdx](https://redirect.github.com/jdx) in [#​7415](https://redirect.github.com/jdx/mise/pull/7415) - use pipx backend for poetry by [@​jdx](https://redirect.github.com/jdx) in [#​7416](https://redirect.github.com/jdx/mise/pull/7416) - add github backend for xcodegen ([github:yonaskolb/XcodeGen](https://redirect.github.com/yonaskolb/XcodeGen)) by [@​jdx](https://redirect.github.com/jdx) in [#​7417](https://redirect.github.com/jdx/mise/pull/7417) - use npm backend for heroku by [@​jdx](https://redirect.github.com/jdx) in [#​7418](https://redirect.github.com/jdx/mise/pull/7418) - add aqua backend for setup-envtest by [@​jdx](https://redirect.github.com/jdx) in [#​7421](https://redirect.github.com/jdx/mise/pull/7421) - add github backend for xcresultparser ([github:a7ex/xcresultparser](https://redirect.github.com/a7ex/xcresultparser)) by [@​jdx](https://redirect.github.com/jdx) in [#​7422](https://redirect.github.com/jdx/mise/pull/7422) - add aqua backend for tomcat by [@​jdx](https://redirect.github.com/jdx) in [#​7423](https://redirect.github.com/jdx/mise/pull/7423) - use npm backend for serverless by [@​jdx](https://redirect.github.com/jdx) in [#​7424](https://redirect.github.com/jdx/mise/pull/7424) - add github backend for daytona ([github:daytonaio/daytona](https://redirect.github.com/daytonaio/daytona)) by [@​jdx](https://redirect.github.com/jdx) in [#​7412](https://redirect.github.com/jdx/mise/pull/7412) - add github backend for flyway ([github:flyway/flyway](https://redirect.github.com/flyway/flyway)) by [@​jdx](https://redirect.github.com/jdx) in [#​7414](https://redirect.github.com/jdx/mise/pull/7414) - add github backend for schemacrawler ([github:schemacrawler/SchemaCrawler](https://redirect.github.com/schemacrawler/SchemaCrawler)) by [@​jdx](https://redirect.github.com/jdx) in [#​7419](https://redirect.github.com/jdx/mise/pull/7419) - add github backend for codeql by [@​jdx](https://redirect.github.com/jdx) in [#​7420](https://redirect.github.com/jdx/mise/pull/7420) - use pipx backend for mitmproxy by [@​jdx](https://redirect.github.com/jdx) in [#​7425](https://redirect.github.com/jdx/mise/pull/7425) - use pipx backend for sshuttle by [@​jdx](https://redirect.github.com/jdx) in [#​7426](https://redirect.github.com/jdx/mise/pull/7426) - add github backend for quarkus by [@​jdx](https://redirect.github.com/jdx) in [#​7428](https://redirect.github.com/jdx/mise/pull/7428) - add github backend for smithy by [@​jdx](https://redirect.github.com/jdx) in [#​7430](https://redirect.github.com/jdx/mise/pull/7430) - add github backend for xchtmlreport ([github:XCTestHTMLReport/XCTestHTMLReport](https://redirect.github.com/XCTestHTMLReport/XCTestHTMLReport)) by [@​jdx](https://redirect.github.com/jdx) in [#​7431](https://redirect.github.com/jdx/mise/pull/7431) - add github backend for grails by [@​jdx](https://redirect.github.com/jdx) in [#​7429](https://redirect.github.com/jdx/mise/pull/7429) - use npm backend for esy by [@​jdx](https://redirect.github.com/jdx) in [#​7434](https://redirect.github.com/jdx/mise/pull/7434) - add github backend for micronaut by [@​jdx](https://redirect.github.com/jdx) in [#​7433](https://redirect.github.com/jdx/mise/pull/7433) - add github backend for dome by [@​jdx](https://redirect.github.com/jdx) in [#​7432](https://redirect.github.com/jdx/mise/pull/7432) - use vfox backend for poetry by [@​jdx](https://redirect.github.com/jdx) in [#​7438](https://redirect.github.com/jdx/mise/pull/7438) - add vfox backend for pipenv by [@​jdx](https://redirect.github.com/jdx) in [#​7439](https://redirect.github.com/jdx/mise/pull/7439) - use github backend for xchtmlreport by [@​jdx](https://redirect.github.com/jdx) in [#​7442](https://redirect.github.com/jdx/mise/pull/7442) - use npm backend for purty by [@​jdx](https://redirect.github.com/jdx) in [#​7443](https://redirect.github.com/jdx/mise/pull/7443) - add micromamba tool definition by [@​x9xhack](https://redirect.github.com/x9xhack) in [#​7475](https://redirect.github.com/jdx/mise/pull/7475) - add github backend for rumdl by [@​kvokka](https://redirect.github.com/kvokka) in [#​7494](https://redirect.github.com/jdx/mise/pull/7494) - add github backend for ty by [@​kvokka](https://redirect.github.com/kvokka) in [#​7495](https://redirect.github.com/jdx/mise/pull/7495) - add kopia by [@​ldrouard](https://redirect.github.com/ldrouard) in [#​7501](https://redirect.github.com/jdx/mise/pull/7501) - add d2 by [@​icholy](https://redirect.github.com/icholy) in [#​7514](https://redirect.github.com/jdx/mise/pull/7514) ##### Chore - **(docker)** add Node LTS to mise Docker image by [@​jdx](https://redirect.github.com/jdx) in [#​7405](https://redirect.github.com/jdx/mise/pull/7405) - rename mise-tools to mise-versions by [@​jdx](https://redirect.github.com/jdx) in [ab3e1b8](https://redirect.github.com/jdx/mise/commit/ab3e1b8e64c2aa881c43af7636d6b492c6001e6f) - s/mise task/mise tasks/g in docs and tests by [@​muzimuzhi](https://redirect.github.com/muzimuzhi) in [#​7400](https://redirect.github.com/jdx/mise/pull/7400) - update singular/plural forms for word "task" by [@​muzimuzhi](https://redirect.github.com/muzimuzhi) in [#​7448](https://redirect.github.com/jdx/mise/pull/7448) ##### New Contributors - [@​icholy](https://redirect.github.com/icholy) made their first contribution in [#​7514](https://redirect.github.com/jdx/mise/pull/7514) - [@​Maks3w](https://redirect.github.com/Maks3w) made their first contribution in [#​7485](https://redirect.github.com/jdx/mise/pull/7485) - [@​muzimuzhi](https://redirect.github.com/muzimuzhi) made their first contribution in [#​7513](https://redirect.github.com/jdx/mise/pull/7513) - [@​just-be-dev](https://redirect.github.com/just-be-dev) made their first contribution in [#​7509](https://redirect.github.com/jdx/mise/pull/7509) - [@​kvokka](https://redirect.github.com/kvokka) made their first contribution in [#​7495](https://redirect.github.com/jdx/mise/pull/7495) - [@​x9xhack](https://redirect.github.com/x9xhack) made their first contribution in [#​7475](https://redirect.github.com/jdx/mise/pull/7475) - [@​anp](https://redirect.github.com/anp) made their first contribution in [#​7441](https://redirect.github.com/jdx/mise/pull/7441)
--- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- .github/workflows/acceptance-tests.yml | 4 ++-- .github/workflows/build.yml | 4 ++-- .github/workflows/github-pages.yaml | 4 ++-- .github/workflows/lint-rest.yml | 4 ++-- .github/workflows/native-tests.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/test-release-build.yml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index f37f6e83b..c810d0667 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed - name: Run acceptance tests run: mise run acceptance-test diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4f1489cc..bda2f62af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: persist-credentials: false - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed - name: Cache local Maven repository uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 221866180..d10ccf942 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -39,8 +39,8 @@ jobs: fetch-depth: 0 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed cache: "false" - name: Setup Pages id: pages diff --git a/.github/workflows/lint-rest.yml b/.github/workflows/lint-rest.yml index 6f9bcf03c..80afb4d1e 100644 --- a/.github/workflows/lint-rest.yml +++ b/.github/workflows/lint-rest.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed - name: Lint run: mise run lint:rest diff --git a/.github/workflows/native-tests.yml b/.github/workflows/native-tests.yml index 11277cfeb..4c41dba19 100644 --- a/.github/workflows/native-tests.yml +++ b/.github/workflows/native-tests.yml @@ -15,8 +15,8 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed working_directory: .mise/envs/native - name: Run native tests working-directory: .mise/envs/native diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cab5a57f3..6aaf1c05b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,8 +26,8 @@ jobs: - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed cache: false - name: Build release version diff --git a/.github/workflows/test-release-build.yml b/.github/workflows/test-release-build.yml index eb85b126d..17e27f116 100644 --- a/.github/workflows/test-release-build.yml +++ b/.github/workflows/test-release-build.yml @@ -18,8 +18,8 @@ jobs: persist-credentials: false - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 with: - version: v2025.12.12 - sha256: 9dc747b7baed63f74dc3c729f0f825201b585035944e8fff3e255d5124b10960 + version: v2025.12.13 + sha256: 2134c55725d08547cddc921f84ddac05c9de1700115c32817563435072cae5ed - name: Cache local Maven repository uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: From 7a26d0ad873de6d6e7e7468352a79798f006167e Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Mon, 5 Jan 2026 13:03:46 +0100 Subject: [PATCH 23/29] fix: update build command to include 'clean' for benchmarks (#1762) Signed-off-by: Gregor Zeitlinger Signed-off-by: Sibasis --- .mise/tasks/update_benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mise/tasks/update_benchmarks.py b/.mise/tasks/update_benchmarks.py index 8a5819ae7..3cb550877 100755 --- a/.mise/tasks/update_benchmarks.py +++ b/.mise/tasks/update_benchmarks.py @@ -74,7 +74,7 @@ def run_cmd(cmd: List[str], cwd: Optional[str] = None) -> str: def build_benchmarks(mvnw: str, module: str) -> None: print(f"Building Maven module '{module}' using {mvnw} (this may take a while)...") - cmd = [mvnw, "-pl", module, "-am", "-DskipTests", "package"] + cmd = [mvnw, "-pl", module, "-am", "-DskipTests", "clean", "package"] run_cmd(cmd) print("Build completed.") From 73f56343231d003084e47176f1a6dbb0bedfdf76 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:00:52 +0000 Subject: [PATCH 24/29] chore(deps): update grafana/k6 docker digest to a7c79af (#1763) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | grafana/k6 | digest | `16bc234` β†’ `a7c79af` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index 8480eea30..799df805a 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -68,7 +68,7 @@ services: - ./config/grafana-dashboards.yaml:/etc/grafana/provisioning/dashboards/grafana-dashboards.yaml - ./config/grafana-example-dashboard.json:/etc/grafana/example-dashboard.json k6: - image: grafana/k6@sha256:16bc2347c323b1155a200d6fe9c2b801a570b6e0e647203cf382a083782b904f + image: grafana/k6@sha256:a7c79af2b374c9a3afa8b0fae9ec2899277d066612029b7b0fcd2fcb724ba86f network_mode: host volumes: - ./config/k6-script.js:/k6-script.js From cac1d12a2dccaa9d1c9e7e7e8087ed6a3a8d7a61 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 17:45:22 +0000 Subject: [PATCH 25/29] chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.143.0 (#1765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases) | minor | `0.142.0` β†’ `0.143.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
open-telemetry/opentelemetry-collector-releases (otel/opentelemetry-collector-contrib) ### [`v0.143.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/blob/HEAD/CHANGELOG.md#v01430) [Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.142.0...v0.143.0) ##### πŸ’‘ Enhancements πŸ’‘ - `opampsupervisor`: Add MSI package release artifacts for the OpAMP supervisor ([#​1261](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1261))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-exporter-opentelemetry/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index 799df805a..3a96d3b58 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -36,7 +36,7 @@ services: - -jar - /example-greeting-service.jar collector: - image: otel/opentelemetry-collector-contrib:0.142.0@sha256:38c349c3b7a2fd7ea46700cde8fa13d35b699ef2ce245bdf34dae2a413512f76 + image: otel/opentelemetry-collector-contrib:0.143.0@sha256:3bc07732530c87c53f9103b01a3afed972fdeba26087a590c1098781736e58c2 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml diff --git a/examples/example-exporter-opentelemetry/docker-compose.yaml b/examples/example-exporter-opentelemetry/docker-compose.yaml index a96df30d6..9c9762526 100644 --- a/examples/example-exporter-opentelemetry/docker-compose.yaml +++ b/examples/example-exporter-opentelemetry/docker-compose.yaml @@ -13,7 +13,7 @@ services: #- -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 - /example-exporter-opentelemetry.jar collector: - image: otel/opentelemetry-collector-contrib:0.142.0@sha256:38c349c3b7a2fd7ea46700cde8fa13d35b699ef2ce245bdf34dae2a413512f76 + image: otel/opentelemetry-collector-contrib:0.143.0@sha256:3bc07732530c87c53f9103b01a3afed972fdeba26087a590c1098781736e58c2 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml From 2ee62f4c793a16d02de118c01e7760696734b567 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 20:45:13 +0000 Subject: [PATCH 26/29] chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.143.1 (#1767) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases) | patch | `0.143.0` β†’ `0.143.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
open-telemetry/opentelemetry-collector-releases (otel/opentelemetry-collector-contrib) ### [`v0.143.1`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/blob/HEAD/CHANGELOG.md#v01431) [Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.143.0...v0.143.1) ##### 🧰 Bug fixes 🧰 - `opampsupervisor`: revert "Add MSI package release artifacts for the OpAMP supervisor ([#​1261](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1261))" ([#​1332](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/1332))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-exporter-opentelemetry/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index 3a96d3b58..d06963650 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -36,7 +36,7 @@ services: - -jar - /example-greeting-service.jar collector: - image: otel/opentelemetry-collector-contrib:0.143.0@sha256:3bc07732530c87c53f9103b01a3afed972fdeba26087a590c1098781736e58c2 + image: otel/opentelemetry-collector-contrib:0.143.1@sha256:f051aff195ad50ed5ad9d95bcdd51d7258200c937def3797cf830366ed62e034 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml diff --git a/examples/example-exporter-opentelemetry/docker-compose.yaml b/examples/example-exporter-opentelemetry/docker-compose.yaml index 9c9762526..6bbd658ca 100644 --- a/examples/example-exporter-opentelemetry/docker-compose.yaml +++ b/examples/example-exporter-opentelemetry/docker-compose.yaml @@ -13,7 +13,7 @@ services: #- -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 - /example-exporter-opentelemetry.jar collector: - image: otel/opentelemetry-collector-contrib:0.143.0@sha256:3bc07732530c87c53f9103b01a3afed972fdeba26087a590c1098781736e58c2 + image: otel/opentelemetry-collector-contrib:0.143.1@sha256:f051aff195ad50ed5ad9d95bcdd51d7258200c937def3797cf830366ed62e034 network_mode: host volumes: - ./config/otelcol-config.yaml:/config.yaml From c779911d23c894c107549827da7892374a851295 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Jan 2026 20:45:37 +0000 Subject: [PATCH 27/29] fix(deps): update junit-framework monorepo to v6.0.2 (#1764) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.junit.jupiter:junit-jupiter-params](https://junit.org/) ([source](https://redirect.github.com/junit-team/junit-framework)) | `6.0.1` β†’ `6.0.2` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter-params/6.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter-params/6.0.1/6.0.2?slim=true) | | [org.junit.jupiter:junit-jupiter](https://junit.org/) ([source](https://redirect.github.com/junit-team/junit-framework)) | `6.0.1` β†’ `6.0.2` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter/6.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter/6.0.1/6.0.2?slim=true) | | [org.junit:junit-bom](https://junit.org/) ([source](https://redirect.github.com/junit-team/junit-framework)) | `6.0.1` β†’ `6.0.2` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit:junit-bom/6.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit:junit-bom/6.0.1/6.0.2?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- integration-tests/it-spring-boot-smoke-test/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/it-spring-boot-smoke-test/pom.xml b/integration-tests/it-spring-boot-smoke-test/pom.xml index 2f0e18cb1..35663055f 100644 --- a/integration-tests/it-spring-boot-smoke-test/pom.xml +++ b/integration-tests/it-spring-boot-smoke-test/pom.xml @@ -22,7 +22,7 @@ 25 - 6.0.1 + 6.0.2 diff --git a/pom.xml b/pom.xml index b00d02d4d..e9a06374a 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ --module-name-need-to-be-overridden-- 4.33.2 33.5.0-jre - 6.0.1 + 6.0.2 2.16.0-alpha 8 0.70 From 3bd5cb526e11e08768b29307bd3087c68483c237 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 00:49:18 +0000 Subject: [PATCH 28/29] chore(deps): update prom/prometheus docker tag to v3.9.0 (#1768) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [prom/prometheus](https://redirect.github.com/prometheus/prometheus) | minor | `v3.8.1` β†’ `v3.9.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
prometheus/prometheus (prom/prometheus) ### [`v3.9.0`](https://redirect.github.com/prometheus/prometheus/compare/v3.8.1...v3.9.0-rc.0) [Compare Source](https://redirect.github.com/prometheus/prometheus/compare/v3.8.1...v3.9.0)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- examples/example-exemplars-tail-sampling/docker-compose.yaml | 2 +- examples/example-exporter-opentelemetry/docker-compose.yaml | 2 +- examples/example-native-histogram/docker-compose.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/example-exemplars-tail-sampling/docker-compose.yaml b/examples/example-exemplars-tail-sampling/docker-compose.yaml index d06963650..9a0c58a33 100644 --- a/examples/example-exemplars-tail-sampling/docker-compose.yaml +++ b/examples/example-exemplars-tail-sampling/docker-compose.yaml @@ -43,7 +43,7 @@ services: command: - --config=file:/config.yaml prometheus: - image: prom/prometheus:v3.8.1@sha256:2b6f734e372c1b4717008f7d0a0152316aedd4d13ae17ef1e3268dbfaf68041b + image: prom/prometheus:v3.9.0@sha256:3ea2ed3b8cdfe3ff78aa05473a7ad36b916bdf2464c83b06bcd37c1a67620233 network_mode: host volumes: - ./config/prometheus.yaml:/prometheus.yaml diff --git a/examples/example-exporter-opentelemetry/docker-compose.yaml b/examples/example-exporter-opentelemetry/docker-compose.yaml index 6bbd658ca..b58c5ea33 100644 --- a/examples/example-exporter-opentelemetry/docker-compose.yaml +++ b/examples/example-exporter-opentelemetry/docker-compose.yaml @@ -20,7 +20,7 @@ services: command: - --config=file:/config.yaml prometheus: - image: prom/prometheus:v3.8.1@sha256:2b6f734e372c1b4717008f7d0a0152316aedd4d13ae17ef1e3268dbfaf68041b + image: prom/prometheus:v3.9.0@sha256:3ea2ed3b8cdfe3ff78aa05473a7ad36b916bdf2464c83b06bcd37c1a67620233 network_mode: host volumes: - ./config/prometheus.yaml:/prometheus.yaml diff --git a/examples/example-native-histogram/docker-compose.yaml b/examples/example-native-histogram/docker-compose.yaml index 89e395d00..e626486ec 100644 --- a/examples/example-native-histogram/docker-compose.yaml +++ b/examples/example-native-histogram/docker-compose.yaml @@ -10,7 +10,7 @@ services: - -jar - /example-native-histogram.jar prometheus: - image: prom/prometheus:v3.8.1@sha256:2b6f734e372c1b4717008f7d0a0152316aedd4d13ae17ef1e3268dbfaf68041b + image: prom/prometheus:v3.9.0@sha256:3ea2ed3b8cdfe3ff78aa05473a7ad36b916bdf2464c83b06bcd37c1a67620233 network_mode: host volumes: - ./docker-compose/prometheus.yml:/prometheus.yml From 52b07e25eb6bddcc10f93ebccd72bda3c3ad98fc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 00:49:46 +0000 Subject: [PATCH 29/29] chore(deps): update module go:github.com/gohugoio/hugo to v0.154.3 (#1766) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.154.2` β†’ `v0.154.3` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.154.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.154.2/v0.154.3?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo) ### [`v0.154.3`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.154.3) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.154.2...v0.154.3) #### What's Changed - build(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 [`866b8e5`](https://redirect.github.com/gohugoio/hugo/commit/866b8e5a) [@​dependabot](https://redirect.github.com/dependabot)\[bot]
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis --- mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 02f9a5e2d..f9819b481 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -"go:github.com/gohugoio/hugo" = "v0.154.2" +"go:github.com/gohugoio/hugo" = "v0.154.3" "go:github.com/grafana/oats" = "0.6.0" java = "temurin-25.0.1+8.0.LTS" lychee = "0.22.0"