Skip to content

Commit

Permalink
fix length
Browse files Browse the repository at this point in the history
  • Loading branch information
moonming committed May 26, 2020
1 parent 4361a6e commit b712fa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apisix/plugins/skywalking/tracer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ function _M.start(ctx, endpoint, upstream_name)
span.setLayer(entry_span, span_layer.HTTP)

span.tag(entry_span, 'http.method', ngx.req.get_method())
span.tag(entry_span, 'http.params', ctx.var.scheme .. '://' .. ctx.var.host .. ctx.var.request_uri)
span.tag(entry_span, 'http.params', ctx.var.scheme .. '://'
.. ctx.var.host .. ctx.var.request_uri)

context_carrier = {}
local exit_span = tracing_context.createExitSpan(context,
Expand Down

0 comments on commit b712fa4

Please sign in to comment.