From 4e557b235d8b2b1c287e7439383d543dedf1036d Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Tue, 8 Oct 2024 20:17:46 -0600 Subject: [PATCH] Update instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl Co-authored-by: Greg Mefford --- .../opentelemetry_cowboy/src/opentelemetry_cowboy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl b/instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl index 3f9332a3..9c0a627d 100644 --- a/instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl +++ b/instrumentation/opentelemetry_cowboy/src/opentelemetry_cowboy.erl @@ -152,7 +152,7 @@ parse_method(Method) -> <<"PATCH">> -> ?HTTP_REQUEST_METHOD_VALUES_PATCH; <<"POST">> -> ?HTTP_REQUEST_METHOD_VALUES_POST; <<"PUT">> -> ?HTTP_REQUEST_METHOD_VALUES_PUT; - <<"TRACE">> -> ?HTTP_REQUEST_METHOD_VALUES_PUT; + <<"TRACE">> -> ?HTTP_REQUEST_METHOD_VALUES_TRACE; _ -> ?HTTP_REQUEST_METHOD_VALUES_OTHER end.