Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moonming committed May 27, 2020
1 parent b712fa4 commit 532bad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apisix/plugins/skywalking/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ local core = require("apisix.core")
local http = require("resty.http")
local cjson = require('cjson')
local ngx = ngx
local ipairs = ipairs

local register = require("skywalking.register")

Expand Down
3 changes: 3 additions & 0 deletions apisix/plugins/skywalking/tracer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ local tracing_context = require("skywalking.tracing_context")
local span_layer = require("skywalking.span_layer")
local sw_segment = require('skywalking.segment')

local pairs = pairs
local ngx = ngx

-- Constant pre-defined in SkyWalking main repo
-- 84 represents Nginx
local NGINX_COMPONENT_ID = 6000
Expand Down

0 comments on commit 532bad0

Please sign in to comment.