Skip to content

Commit a12a706

Browse files
committed
updated comment
1 parent 1649fc0 commit a12a706

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

aws-xray/src/main/java/io/opentelemetry/contrib/awsxray/SamplingRuleApplier.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ boolean matches(Attributes attributes, Resource resource) {
196196
|| entry.getKey().equals(HttpAttributes.HTTP_REQUEST_METHOD)) {
197197
httpMethod = (String) entry.getValue();
198198
// according to semantic conventions, if the HTTP request method is not known to
199-
// instrumentation
200-
// it must be set to _OTHER and the HTTP_REQUEST_METHOD_ORIGINAL should contain the original
201-
// method
199+
// instrumentation, it must be set to _OTHER and the
200+
// HTTP_REQUEST_METHOD_ORIGINAL should contain the original method
202201
if (httpMethod.equals(_OTHER_REQUEST_METHOD)) {
203202
httpMethod = attributes.get(HttpAttributes.HTTP_REQUEST_METHOD_ORIGINAL);
204203
}

0 commit comments

Comments
 (0)