mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
datadog: set port as integer in the port span tag
faraday sets it as float and it doesn't seem to break because of it)
This commit is contained in:
parent
aecb6f5ddd
commit
43c4cf500e
@ -106,7 +106,7 @@ module Datadog::Tracing
|
|||||||
span.set_tag(TAG_METHOD, verb)
|
span.set_tag(TAG_METHOD, verb)
|
||||||
|
|
||||||
span.set_tag(TAG_TARGET_HOST, uri.host)
|
span.set_tag(TAG_TARGET_HOST, uri.host)
|
||||||
span.set_tag(TAG_TARGET_PORT, uri.port.to_s)
|
span.set_tag(TAG_TARGET_PORT, uri.port)
|
||||||
|
|
||||||
# Tag as an external peer service
|
# Tag as an external peer service
|
||||||
span.set_tag(TAG_PEER_SERVICE, span.service)
|
span.set_tag(TAG_PEER_SERVICE, span.service)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user