Skip to content

Commit dbf7274

Browse files
Update instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl
Co-authored-by: Greg Mefford <[email protected]>
1 parent b0b938d commit dbf7274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ parse_method(Method) ->
152152
<<"PATCH">> -> ?HTTP_REQUEST_METHOD_VALUES_PATCH;
153153
<<"POST">> -> ?HTTP_REQUEST_METHOD_VALUES_POST;
154154
<<"PUT">> -> ?HTTP_REQUEST_METHOD_VALUES_PUT;
155-
<<"TRACE">> -> ?HTTP_REQUEST_METHOD_VALUES_PUT;
155+
<<"TRACE">> -> ?HTTP_REQUEST_METHOD_VALUES_TRACE;
156156
_ -> ?HTTP_REQUEST_METHOD_VALUES_OTHER
157157
end.
158158

0 commit comments

Comments
 (0)