Skip to content

Commit a94d4bb

Browse files
Bump io.prometheus:prometheus-metrics-bom from 1.3.10 to 1.4.1 (#6644)
* Bump io.prometheus:prometheus-metrics-bom from 1.3.10 to 1.4.1 Bumps [io.prometheus:prometheus-metrics-bom](https://github.com/prometheus/client_java) from 1.3.10 to 1.4.1. - [Release notes](https://github.com/prometheus/client_java/releases) - [Commits](prometheus/client_java@v1.3.10...v1.4.1) --- updated-dependencies: - dependency-name: io.prometheus:prometheus-metrics-bom dependency-version: 1.4.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update tests for Prometheus escaping --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tommy Ludwig <[email protected]>
1 parent 0f1f915 commit a94d4bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ newrelic-api = "5.14.0"
6161
# Kotlin 1.7 sample will fail from OkHttp 4.12.0 due to okio dependency being a Kotlin 1.9 module
6262
okhttp = "4.11.0"
6363
postgre = "42.7.7"
64-
prometheus = "1.3.10"
64+
prometheus = "1.4.1"
6565
prometheusSimpleClient = "0.16.0"
6666
reactor = "2022.0.22"
6767
rest-assured = "5.5.6"

implementations/micrometer-registry-prometheus/src/test/java/io/micrometer/prometheusmetrics/PrometheusNamingConventionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ class PrometheusNamingConventionTest {
3030

3131
@Test
3232
void formatName() {
33-
assertThat(convention.name("123.abc/{:id}水", Meter.Type.GAUGE)).startsWith("_23_abc___id__");
33+
assertThat(convention.name("123.abc/{:id}水", Meter.Type.GAUGE)).startsWith("_23_abc__:id__");
3434
}
3535

3636
@Test
3737
void formatTagKey() {
38-
assertThat(convention.tagKey("123.abc/{:id}水")).startsWith("_23_abc___id__");
38+
assertThat(convention.tagKey("123.abc/{:id}水")).startsWith("_23_abc__:id__");
3939
}
4040

4141
@Test

0 commit comments

Comments
 (0)