@@ -15,27 +15,27 @@ We use the following dependencies:
1515{{< tabs "uniqueid" >}}
1616{{< tab "Gradle" >}}
1717```
18- implementation 'io.prometheus:prometheus-metrics-core:1.3.3 '
19- implementation 'io.prometheus:prometheus-metrics-instrumentation-jvm:1.3.3 '
20- implementation 'io.prometheus:prometheus-metrics-exporter-httpserver:1.3.3 '
18+ implementation 'io.prometheus:prometheus-metrics-core:$version '
19+ implementation 'io.prometheus:prometheus-metrics-instrumentation-jvm:$version '
20+ implementation 'io.prometheus:prometheus-metrics-exporter-httpserver:$version '
2121```
2222{{< /tab >}}
2323{{< tab "Maven" >}}
2424``` xml
2525<dependency >
2626 <groupId >io.prometheus</groupId >
2727 <artifactId >prometheus-metrics-core</artifactId >
28- <version >1.3.3 </version >
28+ <version >$version </version >
2929</dependency >
3030<dependency >
3131 <groupId >io.prometheus</groupId >
3232 <artifactId >prometheus-metrics-instrumentation-jvm</artifactId >
33- <version >1.3.3 </version >
33+ <version >$version </version >
3434</dependency >
3535<dependency >
3636 <groupId >io.prometheus</groupId >
3737 <artifactId >prometheus-metrics-exporter-httpserver</artifactId >
38- <version >1.3.3 </version >
38+ <version >$version </version >
3939</dependency >
4040```
4141{{< /tab >}}
@@ -69,7 +69,7 @@ plugins {
6969
7070dependencies {
7171 implementation(platform(SpringBootPlugin .BOM_COORDINATES )) // if you are using Spring Boot
72- implementation(platform(" io.prometheus:prometheus-metrics-bom:1.3.3 " ))
72+ implementation(platform(" io.prometheus:prometheus-metrics-bom:$version " ))
7373}
7474```
7575
@@ -84,7 +84,7 @@ plugins {
8484
8585dependencyManagement {
8686 imports {
87- mavenBom(" io.prometheus:prometheus-metrics-bom:1.3.3 " )
87+ mavenBom(" io.prometheus:prometheus-metrics-bom:$version " )
8888 }
8989}
9090```
@@ -93,7 +93,7 @@ dependencyManagement {
9393
9494Be careful not to mix up the different ways of configuring things with Gradle.
9595For example, don't use
96- ` implementation(platform("io.prometheus:prometheus-metrics-bom:1.3.3 ")) `
96+ ` implementation(platform("io.prometheus:prometheus-metrics-bom:$version ")) `
9797with the ` io.spring.dependency-management ` plugin.
9898
9999{{% /alert %}}
@@ -117,7 +117,7 @@ The following example shows how to import the Prometheus Java metrics BOMs using
117117 <dependency >
118118 <groupId >io.prometheus</groupId >
119119 <artifactId >prometheus-metrics-bom</artifactId >
120- <version >1.3.3 </version >
120+ <version >$version </version >
121121 <type >pom</type >
122122 <scope >import</scope >
123123 </dependency >
0 commit comments