Skip to content

Commit

Permalink
Update Micrometer Prometheus release (#9225)
Browse files Browse the repository at this point in the history
* Update Micrometer Prometheus release

* Update to Micrometer 1.13.3 but stay with the Prometheus client 0.x

* Adopt a new dot release of Micrometer since the PR was created

* Change BOTH version settings for Micrometer-related components
  • Loading branch information
tjquinno authored Oct 1, 2024
1 parent b14316b commit 7688379
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
9 changes: 7 additions & 2 deletions dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
<version.lib.logback>1.4.14</version.lib.logback>
<version.lib.mariadb-java-client>2.6.2</version.lib.mariadb-java-client>
<version.lib.maven-wagon>2.10</version.lib.maven-wagon>
<version.lib.micrometer>1.11.3</version.lib.micrometer>
<version.lib.micrometer-prometheus>1.11.3</version.lib.micrometer-prometheus>
<version.lib.micrometer>1.13.4</version.lib.micrometer>
<version.lib.micrometer-prometheus>1.13.4</version.lib.micrometer-prometheus>
<version.lib.micronaut>3.8.7</version.lib.micronaut>
<version.lib.micronaut.data>3.4.3</version.lib.micronaut.data>
<version.lib.micronaut.sql>4.8.0</version.lib.micronaut.sql>
Expand Down Expand Up @@ -604,6 +604,11 @@
<artifactId>micrometer-registry-prometheus</artifactId>
<version>${version.lib.micrometer-prometheus}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus-simpleclient</artifactId>
<version>${version.lib.micrometer-prometheus}</version>
</dependency>

<!-- Microprofile related -->
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions integrations/micrometer/micrometer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus-simpleclient</artifactId>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, 2023 Oracle and/or its affiliates.
* Copyright (c) 2021, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -43,6 +43,7 @@

requires transitive io.helidon.common;
requires transitive io.helidon.servicecommon;
requires micrometer.registry.prometheus.simpleclient;

exports io.helidon.integrations.micrometer;

Expand Down
4 changes: 4 additions & 0 deletions metrics/providers/micrometer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus-simpleclient</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.config</groupId>
<artifactId>helidon-config</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
requires io.helidon.metrics.api;
requires micrometer.core;
requires static micrometer.registry.prometheus;
requires static micrometer.registry.prometheus.simpleclient;
requires io.helidon.common;
requires io.helidon.common.media.type;
requires io.helidon.config;
Expand Down

0 comments on commit 7688379

Please sign in to comment.