Skip to content

Commit b0f1337

Browse files
chore: release main
1 parent ff3bd2d commit b0f1337

File tree

79 files changed

+208
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+208
-292
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.5.0"
2+
".": "1.6.0"
33
}

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changelog
2+
3+
## [1.6.0](https://github.com/prometheus/client_java/compare/v1.5.0...v1.6.0) (2026-03-19)
4+
5+
6+
### Features
7+
8+
* Add OpenMetrics2 configuration support ([#1939](https://github.com/prometheus/client_java/issues/1939)) ([d9d8dab](https://github.com/prometheus/client_java/commit/d9d8dabb975ff1ff15f118e141da6036c255f371))
9+
* Add OpenMetrics2 enabled flag ([#1953](https://github.com/prometheus/client_java/issues/1953)) ([ffa0d39](https://github.com/prometheus/client_java/commit/ffa0d39e1380c3d6f01e7f7edd0e1946cd553ce6))
10+
* Add skeleton OpenMetrics2TextFormatWriter ([#1951](https://github.com/prometheus/client_java/issues/1951)) ([01f53e9](https://github.com/prometheus/client_java/commit/01f53e945edfc337b9ed13c0b5c28c8a170c3a48))
11+
12+
13+
### Bug Fixes
14+
15+
* **deps:** update dependency io.prometheus:prometheus-metrics-bom to v1.5.0 ([#1877](https://github.com/prometheus/client_java/issues/1877)) ([043fc57](https://github.com/prometheus/client_java/commit/043fc5742752fdc2f67f0219418030a190c53bde))
16+
* **deps:** update dependency org.springframework.boot:spring-boot-starter-parent to v4.0.3 ([#1900](https://github.com/prometheus/client_java/issues/1900)) ([0d800d0](https://github.com/prometheus/client_java/commit/0d800d0a91578e48f34909472c183174fdf1d83e))
17+
* **deps:** update jetty monorepo to v12.1.7 ([#1932](https://github.com/prometheus/client_java/issues/1932)) ([5bd3b79](https://github.com/prometheus/client_java/commit/5bd3b7932f454f3ed2cf55f26d6e1e1908d9ad16))
18+
* **deps:** update junit-framework monorepo to v6.0.3 ([#1880](https://github.com/prometheus/client_java/issues/1880)) ([05ad751](https://github.com/prometheus/client_java/commit/05ad751a40053f11eae90b9e6cbd741814ca71a7))
19+
* exclude standalone examples from `mise run format` ([#1931](https://github.com/prometheus/client_java/issues/1931)) ([537fb88](https://github.com/prometheus/client_java/commit/537fb88aae4048ab36041268f902afbbdce54a96))
20+
* Handle empty datapoints in otel exporter ([#1898](https://github.com/prometheus/client_java/issues/1898)) ([59c8552](https://github.com/prometheus/client_java/commit/59c8552f3d67c06d82344383b45e07fea8ed88b9))
21+
* inline set-version logic in build-release.sh ([#1884](https://github.com/prometheus/client_java/issues/1884)) ([c050435](https://github.com/prometheus/client_java/commit/c050435a4153046c72d158991c4c8e064dfb24ec))
22+
* reduce lychee retries to avoid compounding GitHub 429s ([#1940](https://github.com/prometheus/client_java/issues/1940)) ([cc17d6e](https://github.com/prometheus/client_java/commit/cc17d6e4346c9d51e054010fddc75cf8935cbc7d))
23+
* remove version manipulation from build-release.sh ([#1886](https://github.com/prometheus/client_java/issues/1886)) ([93e2b6d](https://github.com/prometheus/client_java/commit/93e2b6da48abc03ba7d96ffff5020ab73c1ee8c1))
24+
* trigger Maven deploy on release-please published events ([#1966](https://github.com/prometheus/client_java/issues/1966)) ([643d0e7](https://github.com/prometheus/client_java/commit/643d0e70c274e2a55024611c73a53545a65e94a0))
25+
* use /tree/ instead of /blob/ for directory URL ([#1944](https://github.com/prometheus/client_java/issues/1944)) ([b81332e](https://github.com/prometheus/client_java/commit/b81332e3a09e465f956f118a2403e64b83771ae5))
26+
* use maven release type for release-please ([#1967](https://github.com/prometheus/client_java/issues/1967)) ([ff3bd2d](https://github.com/prometheus/client_java/commit/ff3bd2d329acdb6761044846559c353a526c0384))
27+
28+
29+
### Documentation
30+
31+
* document DCO sign-off requirement for contributions ([#1937](https://github.com/prometheus/client_java/issues/1937)) ([0860e77](https://github.com/prometheus/client_java/commit/0860e7742b08ab019d129ea24c348191c3f9e0da))

benchmarks/pom.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
63
<modelVersion>4.0.0</modelVersion>
74

85
<parent>
96
<groupId>io.prometheus</groupId>
107
<artifactId>client_java</artifactId>
11-
<version>1.5.0-SNAPSHOT</version>
8+
<version>1.6.0</version>
129
</parent>
1310

1411
<artifactId>benchmarks</artifactId>
@@ -111,8 +108,7 @@
111108
<configuration>
112109
<finalName>benchmarks</finalName>
113110
<transformers>
114-
<transformer
115-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
111+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
116112
<mainClass>io.prometheus.metrics.benchmarks.BenchmarkRunner
117113
</mainClass>
118114
</transformer>

examples/example-custom-buckets/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
54

65
<groupId>io.prometheus</groupId>
76
<artifactId>example-custom-buckets</artifactId>
8-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
98

109
<properties>
1110
<maven.compiler.release>8</maven.compiler.release>
@@ -58,8 +57,7 @@
5857
</goals>
5958
<configuration>
6059
<transformers>
61-
<transformer
62-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
60+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
6361
<mainClass>io.prometheus.metrics.examples.custombuckets.Main</mainClass>
6462
</transformer>
6563
</transformers>

examples/example-exemplars-tail-sampling/example-greeting-service/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-greeting-service</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108

119
<properties>
1210
<maven.compiler.release>17</maven.compiler.release>
@@ -65,8 +63,7 @@
6563
</goals>
6664
<configuration>
6765
<transformers>
68-
<transformer
69-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
66+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
7067
<mainClass>io.prometheus.metrics.examples.otel.exemplars.greeting.Main</mainClass>
7168
</transformer>
7269
</transformers>

examples/example-exemplars-tail-sampling/example-hello-world-app/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-hello-world-app</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108

119
<properties>
1210
<maven.compiler.release>17</maven.compiler.release>
@@ -65,8 +63,7 @@
6563
</goals>
6664
<configuration>
6765
<transformers>
68-
<transformer
69-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
66+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
7067
<mainClass>io.prometheus.metrics.examples.otel.exemplars.app.Main</mainClass>
7168
</transformer>
7269
</transformers>

examples/example-exemplars-tail-sampling/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-exemplars-tail-sampling</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108
<packaging>pom</packaging>
119

1210
<name>Example - Exemplars with OpenTelemetry's Tail Sampling</name>

examples/example-exporter-httpserver/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-exporter-httpserver</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108

119
<properties>
1210
<maven.compiler.release>8</maven.compiler.release>
@@ -59,8 +57,7 @@
5957
</goals>
6058
<configuration>
6159
<transformers>
62-
<transformer
63-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
60+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
6461
<mainClass>io.prometheus.metrics.examples.httpserver.Main</mainClass>
6562
</transformer>
6663
</transformers>

examples/example-exporter-multi-target/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-exporter-multi-target</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108

119
<properties>
1210
<maven.compiler.release>8</maven.compiler.release>
@@ -59,8 +57,7 @@
5957
</goals>
6058
<configuration>
6159
<transformers>
62-
<transformer
63-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
60+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
6461
<mainClass>io.prometheus.metrics.examples.multitarget.Main</mainClass>
6562
</transformer>
6663
</transformers>

examples/example-exporter-opentelemetry/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64

75
<groupId>io.prometheus</groupId>
86
<artifactId>example-exporter-opentelemetry</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<version>1.6.0</version>
108

119
<properties>
1210
<maven.compiler.release>8</maven.compiler.release>
@@ -59,8 +57,7 @@
5957
</goals>
6058
<configuration>
6159
<transformers>
62-
<transformer
63-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
60+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
6461
<mainClass>io.prometheus.metrics.examples.opentelemetry.Main</mainClass>
6562
</transformer>
6663
</transformers>

0 commit comments

Comments
 (0)