Skip to content

Commit

Permalink
fix(tracing): balancer span_kind fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shettyh authored and guanlan committed Aug 23, 2022
1 parent 0b2869d commit 7b0dbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/tracing/instrumentation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function _M.balancer(ctx)
for i = 1, try_count do
local try = balancer_tries[i]
span = tracer.start_span("balancer try #" .. i, {
kind = 3, -- client
span_kind = 3, -- client
start_time_ns = try.balancer_start * 1e6,
attributes = {
["net.peer.ip"] = try.ip,
Expand Down

0 comments on commit 7b0dbc9

Please sign in to comment.