Adding constant type in spring instrumentation README.md (#1116)

This commit is contained in:
Renan Rodrigues Ramos 2020-08-27 14:39:56 -03:00 committed by GitHub
parent 2203a37771
commit c38db413a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ import io.opentelemetry.exporters.logging.*;
@Configuration
public class OtelConfig {
private static final tracerName = "fooTracer";
private static final String tracerName = "fooTracer";
@Bean
public Tracer otelTracer() throws Exception {
Tracer tracer = OpenTelemetry.getTracer(tracerName);