Releases: prometheus/client_java
v1.3.9
What's Changed
🏕 Features
🧹 Chore
- fix gh pages locally by @zeitlinger in #1374
- Improve renovate by @zeitlinger in #1379
- fix renovate by @zeitlinger in #1385
- Changed workflow to only build GitHub pages on prometheus/client_java by @dhoard in #1392
- renovate exclude by @zeitlinger in #1395
- MISE_ENABLE_TOOLS is not supported by mise action by @zeitlinger in #1437
- add label to renovate prs, fix release by @zeitlinger in #1446
👒 Dependencies
- Configure Renovate by @renovate in #1375
- Update dependency io.dropwizard.metrics:metrics-core to v4.2.32 by @renovate in #1377
- Update jdx/mise-action digest to c160601 by @renovate in #1376
- Update dependency java to v17.0.15+6 by @renovate in #1380
- Update jdx/mise-action action to v2.2.2 by @renovate in #1381
- Update eclipse-temurin Docker tag to v17.0.15_6-jre by @renovate in #1383
- Update grafana/grafana Docker tag to v10.4.19 by @renovate in #1384
- Update grafana/tempo Docker tag to v2.7.2 by @renovate in #1386
- Update prom/prometheus Docker tag to v2.55.1 by @renovate in #1389
- Update otel/opentelemetry-collector-contrib Docker tag to v0.126.0 by @renovate in #1388
- Update jdx/mise-action action to v2.2.3 by @renovate in #1390
- Update dependency java to v21 by @renovate in #1391
- Update eclipse-temurin Docker tag to v21.0.7_6-jre by @renovate in #1393
- Update grafana/grafana Docker tag to v12 by @renovate in #1394
- Update prom/prometheus Docker tag to v3 by @renovate in #1396
- Update otel/opentelemetry-collector-contrib Docker tag to v0.127.0 by @renovate in #1397
- Update dependency org.codehaus.mojo:exec-maven-plugin to v3.5.1 by @renovate in #1399
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v2.44.5 by @renovate in #1400
- Update module go:github.com/gohugoio/hugo to v0.147.6 by @renovate in #1401
- Update dependency org.testcontainers:junit-jupiter to v1.21.1 by @renovate in #1403
- Update openjdk Docker tag to v11.0.16-jre by @renovate in #1405
- Update prom/prometheus Docker tag to v3.4.1 by @renovate in #1407
- Update module go:github.com/gohugoio/hugo to v0.147.7 by @renovate in #1406
- Update dependency org.apache.maven.plugins:maven-clean-plugin to v3.5.0 by @renovate in #1408
- Update protobuf monorepo by @renovate in #1402
- Update junit5 monorepo to v5.13.0 by @renovate in #1404
- Update module go:github.com/grafana/oats to v0.3.2 by @renovate in #1409
- Update jetty monorepo to v12.0.22 by @renovate in #1410
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.1 by @renovate in #1412
- Update dependency maven to v3.9.10 by @renovate in #1413
- Update junit5 monorepo to v5.13.1 by @renovate in #1414
- Update module go:github.com/gohugoio/hugo to v0.147.8 by @renovate in #1415
- Update dependency com.github.ben-manes.caffeine:caffeine to v3.2.1 by @renovate in #1416
- Update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.8 by @renovate in #1417
- Update otel/opentelemetry-collector-contrib Docker tag to v0.128.0 by @renovate in #1418
- Update grafana/tempo Docker tag to v2.8.0 by @renovate in #1419
- Update dependency org.wiremock:wiremock to v3.13.1 by @renovate in #1420
- Update dependency org.sonatype.central:central-publishing-maven-plugin to v0.8.0 by @renovate in #1422
- Update grafana/grafana Docker tag to v12.0.2 by @renovate in #1423
- Update grafana/tempo Docker tag to v2.8.1 by @renovate in #1424
- Update dependency org.testcontainers:junit-jupiter to v1.21.2 by @renovate in #1425
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.1 by @renovate in #1426
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.2 by @renovate in #1427
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.3 by @renovate in #1429
- Update dependency io.dropwizard.metrics:metrics-core to v4.2.33 by @renovate in #1428
- Update module go:github.com/gohugoio/hugo to v0.147.9 by @renovate in #1432
- Update dependency io.dropwizard.metrics5:metrics-core to v5.0.1 by @renovate in #1430
- Update junit-jupiter.version to v5.13.2 by @renovate in #1434
- Update jdx/mise-action action to v2.3.1 by @renovate in #1436
- Update prom/prometheus Docker tag to v3.4.2 by @renovate in #1438
- Update dependency org.testcontainers:junit-jupiter to v1.21.3 by @renovate in #1439
- Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.8 by @renovate in #1442
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.0 by @renovate in #1443
- Update jetty monorepo to v12.0.23 by @renovate in #1444
- Update otel/opentelemetry-collector-contrib Docker tag to v0.129.1 by @renovate in #1445
- Update dependency com.google.errorprone:error_prone_core to v2.39.0 by @renovate in #1435
- Pin dependencies by @renovate in #1447
New Contributors
Full Changelog: v1.3.8...v1.3.9
v1.3.8
What's Changed
🏕 Features
- Introduce removeIf method to StatefulMetric by @dao-jun in #1339
- bom should not include junit by @zeitlinger in #1359
- Fixed typos by @dhoard in #1363
- Let clients of DropwizardExports handle validation errors by @mnssn in #1354
- Dropwizard apply label mapper to snapshot metrics by @KacperFilutowski-TomTom in #1266
👒 Dependencies
- Bump jetty-server.version from 12.0.20 to 12.0.21 by @dependabot in #1349
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.6 to 11.0.7 by @dependabot in #1350
- Bump com.google.protobuf:protobuf-java from 4.30.2 to 4.31.0 by @dependabot in #1357
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.15.0-alpha to 2.16.0-alpha by @dependabot in #1358
- Bump super-linter/super-linter from 7.3.0 to 7.4.0 by @dependabot in #1362
- Bump org.mockito:mockito-core from 5.17.0 to 5.18.0 by @dependabot in #1365
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.5 to 3.4.6 by @dependabot in #1366
New Contributors
- @dao-jun made their first contribution in #1339
- @mnssn made their first contribution in #1354
- @KacperFilutowski-TomTom made their first contribution in #1266
Full Changelog: v1.3.7...v1.3.8
v1.3.7
What's Changed
🏕 Features
- Use bulk string writes for text formats by @marschall in #1273
- fix method name in two Histogram builder method javadocs by @benjaminp in #1302
- Set a name to threads created by Scheduler Threadfactory by @edoardocomar in #1307
- add option to skip the shaded protobuf and otel libraries by @zeitlinger in #1293
- fix timestamp representation by @zeitlinger in #1292
- Eagerly reject null label values by @benjaminp in #1335
- Fix broken link to "Exclude protobuf exposition format" section by @izeye in #1347
- Synchronize common files from prometheus/prometheus by @prombot in #1340
🧹 Chore
- increase coverage by @zeitlinger in #1276
- fix gh pages by @zeitlinger in #1278
- Fix documentation typo by @bzier in #1282
- use Mise by @zeitlinger in #1319
- Fix next SNAPSHOT version by @fstab in #1217
- add Zizmor by @zeitlinger in #1337
- fix gh pages, add super linter by @zeitlinger in #1338
- add release.yml by @zeitlinger in #1341
- Fix by @zeitlinger in #1342
- fix lint by @zeitlinger in #1343
- Fix release by @zeitlinger in #1344
👒 Dependencies
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.12.0-alpha to 2.13.0-alpha by @dependabot in #1275
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.2 to 11.0.4 by @dependabot in #1274
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.4.0 to 3.4.1 by @dependabot in #1279
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.0-alpha to 2.13.1-alpha by @dependabot in #1280
- Bump org.testcontainers:junit-jupiter from 1.20.4 to 1.20.5 by @dependabot in #1281
- Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 by @dependabot in #1286
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.2 to 2.44.3 by @dependabot in #1284
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 by @dependabot in #1283
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.2 to 3.4.3 by @dependabot in #1285
- Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 by @dependabot in #1288
- Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 by @dependabot in #1290
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.3 to 3.1.4 by @dependabot in #1291
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.1-alpha to 2.13.2-alpha by @dependabot in #1289
- Bump junit-jupiter.version from 5.11.4 to 5.12.0 by @dependabot in #1287
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.3 to 3.1.4 by @dependabot in #1294
- Bump org.mockito:mockito-core from 5.15.2 to 5.16.0 by @dependabot in #1297
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.2-alpha to 2.13.3-alpha by @dependabot in #1296
- Bump org.testcontainers:junit-jupiter from 1.20.5 to 1.20.6 by @dependabot in #1298
- Bump org.wiremock:wiremock from 3.12.0 to 3.12.1 by @dependabot in #1295
- Bump com.google.protobuf:protobuf-java from 4.29.3 to 4.30.0 by @dependabot in #1299
- Bump jetty-server.version from 12.0.16 to 12.0.17 by @dependabot in #1300
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.4 to 11.0.5 by @dependabot in #1301
- Bump junit-jupiter.version from 5.12.0 to 5.12.1 by @dependabot in #1304
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.3-alpha to 2.14.0-alpha by @dependabot in #1306
- Bump com.google.protobuf:protobuf-java from 4.30.0 to 4.30.1 by @dependabot in #1305
- Bump org.mockito:mockito-core from 5.16.0 to 5.16.1 by @dependabot in #1308
- Bump jetty-server.version from 12.0.17 to 12.0.18 by @dependabot in #1309
- Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre by @dependabot in #1310
- Bump com.google.errorprone:error_prone_core from 2.36.0 to 2.37.0 by @dependabot in #1311
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.3 to 3.4.4 by @dependabot in #1312
- Bump com.google.guava:guava from 33.4.5-jre to 33.4.6-jre by @dependabot in #1313
- Bump com.google.protobuf:protobuf-java from 4.30.1 to 4.30.2 by @dependabot in #1314
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 by @dependabot in #1315
- Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 by @dependabot in #1318
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.2 to 3.5.3 by @dependabot in #1316
- Bump org.mockito:mockito-core from 5.16.1 to 5.17.0 by @dependabot in #1320
- Bump jetty-server.version from 12.0.18 to 12.0.19 by @dependabot in #1317
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 2.44.4 by @dependabot in #1322
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.14.0-alpha to 2.15.0-alpha by @dependabot in #1326
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.5 to 11.0.6 by @dependabot in #1324
- Bump com.google.guava:guava from 33.4.6-jre to 33.4.7-jre by @dependabot in #1323
- Bump junit-jupiter.version from 5.12.1 to 5.12.2 by @dependabot in #1327
- Bump commons-io:commons-io from 2.18.0 to 2.19.0 by @dependabot in #1328
- Bump junit-jupiter.version from 5.12.2 to 5.12.2 by @dependabot in #1329
- Bump com.google.guava:guava from 33.4.7-jre to 33.4.8-jre by @dependabot in #1330
- Bump com.google.errorprone:error_prone_core from 2.37.0 to 2.38.0 by @dependabot in #1332
- Bump org.wiremock:wiremock from 3.12.1 to 3.13.0 by @dependabot in #1334
- Bump org.testcontainers:junit-jupiter from 1.20.6 to 1.21.0 by @dependabot in #1333
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.4 to 3.4.5 by @dependabot in #1336
- Bump jetty-server.version from 12.0.19 to 12.0.20 by @dependabot in #1345
- Bump jdx/mise-action from 2.2.1 to 2.2.2 by @dependabot in #1348
New Contributors
- @marschall made their first contribution in #1273
- @bzier made their first contribution in #1282
- @benjaminp made their first contribution in #1302
- @edoardocomar made their first contribution in #1307
- @izeye made their first contribution in #1347
Full Changelog: v1.3.6...v1.3.7
v1.3.6
What's Changed
- rename files to avoid dependabot security warnings by @zeitlinger in #1239
- Use buffered writer by @michaldo in #1241
- Use buffered writer by @dhoard in #1248
- add dropwizard to bom by @zeitlinger in #1250
- Caffeine instrumentation: add weighted size metric by @jhominal in #1251
- Add documentation pages for Caffeine and Guava cache instrumentation libraries by @jhominal in #1262
- bom should not include guava - it was only for internal code reuse by @zeitlinger in #1269
New Contributors
- @Stephan202 made their first contribution in #1242
- @michaldo made their first contribution in #1241
- @jhominal made their first contribution in #1251
Full Changelog: v1.3.5...v1.3.6
v1.3.5
What's Changed
- Bump com.google.protobuf:protobuf-java from 4.28.3 to 4.29.1 by @dependabot in #1222
- Add support for dw-metrics 4.x by @kingster in #1228
Full Changelog: v1.3.4...v1.3.5
v1.3.4
What's Changed
- Add instrumentation for Guava & Caffeine to BOM by @der-eismann in #1175
- fix register part of documentation for caffeine & guava instrumentati… by @pheyken in #1203
- [prometheus-metrics-instrumentation-caffeine] implement getPrometheus… by @pheyken in #1206
- [prometheus-metrics-instrumentation-guava] implement getPrometheusNames by @pheyken in #1211
- make Protobuf optional by @zeitlinger in #1190
New Contributors
- @der-eismann made their first contribution in #1175
Full Changelog: v1.3.3...v1.3.4
v1.3.3
What's Changed
- Bump com.google.protobuf:protobuf-java from 4.28.2 to 4.28.3 by @dependabot in #1178
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.8.0-alpha to 2.9.0-alpha by @dependabot in #1164
- avoid ConcurrentModificationException by @zeitlinger in #1191
- revert incompatible api change by @zeitlinger in #1192
Full Changelog: v1.3.2...v1.3.3
v1.3.2
What's Changed
- Simple MetricsSnapshot performance change by @dhoard in #963
- feat: add bearerToken builder to pushgateway exporter by @FUSAKLA in #968
- Fix UnknownDataPointSnapshot constructor by @mimaison in #977
- Added methods by @dhoard in #978
- Updated CircleCI image by @dhoard in #982
- Change links on front page to be relative by @MaBiConti in #981
- add support for guava instrumentation with 1.X.X by @pheyken in #979
- add support for caffeine instrumentation with 1.X.X by @pheyken in #983
- Nullify noLabels in StatefulMetric during clear() to prevent no-label inc to stop working by @iaco86 in #972
- Add abstract build method to MetricSnapshot.Builder by @mimaison in #969
- Fix PrometheusNaming.sanitizeMetricName() methods by @mimaison in #975
- additional improve MetricSnapshots.Builder performance by @burov4j in #985
- Make JvmMetrics.register idempotent with the default registry by @mimaison in #987
- http server, add subject.doAs handler wrapper for exchange attribute … by @gtully in #1089
- fix buffer sync logic using modern concurrency primitives by @zeitlinger in #991
- use otel autoconfigure by @zeitlinger in #1147
- Add clear() method into PrometheusRegistry to unregister all collectors by @zeitlinger in #1158
New Contributors
- @FUSAKLA made their first contribution in #968
- @mimaison made their first contribution in #977
- @MaBiConti made their first contribution in #981
- @pheyken made their first contribution in #979
- @iaco86 made their first contribution in #972
- @burov4j made their first contribution in #985
- @zeitlinger made their first contribution in #988
- @gtully made their first contribution in #1089
Full Changelog: v1.3.1...v1.3.2
1.3.1 / 2024-05-23
This is just a minor update to the 1.3.0 release:
With the previous releases it was possible to create illegal UNIT
names, like new Unit("&^$")
or new Unit("total")
.
This release prevents that (throwing an IllegalArgumentException
), and also adds a method PrometheusNaming.sanitizeUnitName(name)
for converting arbitrary strings into valid Prometheus UNIT
names.
1.3.0 / 2024-05-16
This is the 1.3.0 release of the Prometheus Java client library.
The headline feature is the new prometheus-metrics-exporter-pushgateway
module. See https://prometheus.github.io/client_java/exporters/pushgateway/ for documentation.
- [FEATURE] Port PushGateway to client_java 1.x
- [ENHANCEMENT] Run
HTTPServer
as a Daemon Thread. Thanks @mberndt123. - [BUGFIX] Fix naming issue in the Dropwizard 5 exporter. Thanks @kingster
- [BUGFIX] Allow metric names with single character
- [ENHANCEMENT] Fix flaky tests. Thanks @dhoard for extensively load testing our build.
- [ENHANCEMENT] Enforce unit suffix in metric name when unit is not null. Thanks @jonatan-ivanov
- [ENHANCEMENT] Explicit DuplicateLabelsException when creating MetricSnapshot
Thanks to everyone who contributed.