Skip to content

Commit

Permalink
fix review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-valdoleiros-gowithflow-io committed Jul 15, 2021
1 parent 3d409ce commit 484624f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/opentracing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ To enable it, add the following dependency to your pom.xml:
----

It contains the dependencies to convert the request to zipkin format.
The zipkin compatibility mode will be activate defining the config property as follows:
The zipkin compatibility mode will be activated after defining the config property as follows:

[source, properties]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@

import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import javax.interceptor.Interceptor;

import io.quarkus.arc.AlternativePriority;
import io.quarkus.arc.properties.UnlessBuildProperty;

@Singleton
public class ZipkinReporterProvider {
@Produces
@Singleton
@UnlessBuildProperty(name = "quarkus.jaeger.zipkin.compatibility-mode", stringValue = "false", enableIfMissing = false)
@AlternativePriority(Interceptor.Priority.APPLICATION + 100)
public ReporterFactory reporter() {
return new ZipkinReporterFactoryImpl();
}
Expand Down

0 comments on commit 484624f

Please sign in to comment.