Skip to content

Commit

Permalink
make get_span_name more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
emdneto committed Jul 22, 2024
1 parent b75d8b8 commit 75025db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def get_default_span_name(method):
Returns:
span name
"""
method = sanitize_method(method.upper().strip())
method = sanitize_method(method.strip())
if method == "_OTHER":
return "HTTP"
return method
Expand Down

0 comments on commit 75025db

Please sign in to comment.