Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Dec 23, 2024
1 parent 636032b commit e1a0abe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor;
import io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor;
import io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesExtractorBuilder;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
Expand Down Expand Up @@ -84,8 +83,7 @@ public ApacheHttpClient5TelemetryBuilder setCapturedResponseHeaders(
* not supplement it.
*
* @param knownMethods A set of recognized HTTP request methods.
* @see HttpClientAttributesExtractorBuilder#setKnownMethods(Collection)
* @deprecated Use {@link ApacheHttpClientTelemetryBuilder#setKnownMethods(Collection)} instead.
* @see HttpClientAttributesExtractorBuilder#setKnownMethods(Set)
*/
@CanIgnoreReturnValue
public ApacheHttpClient5TelemetryBuilder setKnownMethods(Set<String> knownMethods) {
Expand Down

0 comments on commit e1a0abe

Please sign in to comment.