Browse Source

Correct artifact name in logback-mdc readme (#5963)

Lauri Tulmin 2 years ago
parent
commit
d5b935a92c
1 changed files with 6 additions and 3 deletions
  1. 6 3
      instrumentation/logback/logback-mdc-1.0/library/README.md

+ 6 - 3
instrumentation/logback/logback-mdc-1.0/library/README.md

@@ -6,6 +6,9 @@ mounted span using a custom Logback appender.
 To use it, add the module to your application's runtime classpath and add the appender to your
 `logback.xml`.
 
+Replace `OPENTELEMETRY_VERSION` with the latest
+stable [release](https://search.maven.org/search?q=g:io.opentelemetry.instrumentation).
+
 **Maven**
 
 ```xml
@@ -13,8 +16,8 @@ To use it, add the module to your application's runtime classpath and add the ap
 <dependencies>
   <dependency>
     <groupId>io.opentelemetry.instrumentation</groupId>
-    <artifactId>opentelemetry-logback-1.0</artifactId>
-    <version>0.17.0-alpha</version>
+    <artifactId>opentelemetry-logback-mdc-1.0</artifactId>
+    <version>OPENTELEMETRY_VERSION</version>
   </dependency>
 </dependencies>
 ```
@@ -23,7 +26,7 @@ To use it, add the module to your application's runtime classpath and add the ap
 
 ```kotlin
 dependencies {
-  runtimeOnly("io.opentelemetry.instrumentation:opentelemetry-logback-1.0:0.17.0-alpha")
+  runtimeOnly("io.opentelemetry.instrumentation:opentelemetry-logback-mdc-1.0:OPENTELEMETRY_VERSION")
 }
 ```