Skip to content

Commit

Permalink
armeria
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Jun 21, 2024
1 parent dcaa981 commit 7abd2c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,11 @@ public ArmeriaTelemetryBuilder setStatusExtractor(
* Adds an additional {@link AttributesExtractor} to invoke to set attributes to instrumented
* items. The {@link AttributesExtractor} will be executed after all default extractors.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
@CanIgnoreReturnValue
public ArmeriaTelemetryBuilder addAttributeExtractor(
AttributesExtractor<? super RequestContext, ? super RequestLog> attributesExtractor) {
clientBuilder.addAttributeExtractor(attributesExtractor);
serverBuilder.addAttributesExtractor((AttributesExtractor) attributesExtractor);
serverBuilder.addAttributesExtractor(attributesExtractor);
return this;
}

Expand Down

0 comments on commit 7abd2c2

Please sign in to comment.