Skip to content

Commit

Permalink
OpenTelemetry: NPE in HttpInstrumenterVertxTracer.RouteGetter when re…
Browse files Browse the repository at this point in the history
…quest got cancelled

Organized imports

Signed-off-by: Theodor Mihalache <[email protected]>
  • Loading branch information
tmihalac committed Jul 20, 2022
1 parent 4ad5268 commit dbeb702
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package io.quarkus.opentelemetry.runtime.tracing.vertx;

import static io.opentelemetry.instrumentation.api.instrumenter.http.HttpRouteSource.FILTER;
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.HTTP_CLIENT_IP;
import static io.quarkus.opentelemetry.runtime.OpenTelemetryConfig.INSTRUMENTATION_NAME;

import java.util.Collections;
import java.util.List;
import java.util.function.BiConsumer;
Expand Down Expand Up @@ -36,10 +40,6 @@
import io.vertx.core.spi.observability.HttpResponse;
import io.vertx.core.spi.tracing.TagExtractor;

import static io.opentelemetry.instrumentation.api.instrumenter.http.HttpRouteSource.FILTER;
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.HTTP_CLIENT_IP;
import static io.quarkus.opentelemetry.runtime.OpenTelemetryConfig.INSTRUMENTATION_NAME;

class HttpInstrumenterVertxTracer implements InstrumenterVertxTracer<HttpRequest, HttpResponse> {
private final Instrumenter<HttpRequest, HttpResponse> serverInstrumenter;
private final Instrumenter<HttpRequest, HttpResponse> clientInstrumenter;
Expand Down

0 comments on commit dbeb702

Please sign in to comment.