Skip to content

Releases: prometheus/client_java

v1.3.8

26 May 08:44
2a88110
Compare
Choose a tag to compare

What's Changed

🏕 Features

👒 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

Full Changelog: v1.3.7...v1.3.8

v1.3.7

13 May 13:57
cdbdba1
Compare
Choose a tag to compare

What's Changed

🏕 Features

🧹 Chore

👒 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

Full Changelog: v1.3.6...v1.3.7

v1.3.6

14 Feb 15:24
5e93f4b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.5...v1.3.6

v1.3.5

13 Dec 13:31
5359ba3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.4...v1.3.5

v1.3.4

25 Nov 17:02
d0e2dd3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.3

07 Nov 17:30
2c022be
Compare
Choose a tag to compare

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

19 Oct 11:52
21bcfac
Compare
Choose a tag to compare

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

Full Changelog: v1.3.1...v1.3.2

1.3.1 / 2024-05-23

23 May 14:32
Compare
Choose a tag to compare

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

16 May 22:10
Compare
Choose a tag to compare

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.

1.2.1 / 2024-04-23

04 Apr 21:16
Compare
Choose a tag to compare

Minor release to help Spring Boot adopt client_java 1.x in the Micrometer Prometheus registry.

  • [ENHANCEMENT] add a method for initializing PrometheusProperties with an external properties map. This can be used to load properties from Spring configuration. Thanks @jonatan-ivanov
  • [ENHANCEMENT] remove import statement for SpanContextSupplier so that the code still runs if the prometheus-metrics-tracer-initializer dependency is excluded from the classpath (Micrometer implements it's own SpanContextSupplier and doesn't need the dependency).
  • [BUGFIX] fix Javadoc links. Thanks @shakuzen.