{"repo":"apache/skywalking-nginx-lua","free":true,"listed":false,"github":"https://github.com/apache/skywalking-nginx-lua","clone":"git clone https://github.com/apache/skywalking-nginx-lua.git","description":"The Nginx Lua agent for Apache SkyWalking","language":"Lua","stars":199,"topics":["skywalking","observability","apm","distributed-tracing","nginx","lua","dapper"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Apache SkyWalking Nginx Agent ========== SkyWalking Nginx Agent provides the native tracing capability for Nginx powered by Nginx LUA module. This agent follows the SkyWalking tracing and header protocol. It reports tracing data to SkyWalking APM through HTTP protocol. All HTTP 1.1 requests go through Nginx could be collected by this agent. Setup Doc The following setup is targeting for OpenResty, if you want SkyWalking integrated Gateway, you could jump to 1. APISIX documentation. 2. Kong plugin documentation. Download Please head to the releases page to download a release of Apache SkyWalking. Require SkyWalking 8 OAP server Set up dev env Debug Startup By using the /examples/nginx.conf , you could start the Nginx with LUA module or OpenResty. Such as nginx -c /path/to/skywalking-nginx-lua/examples/nginx.conf Then you could 1. See the instance properties update logs happens on the console log. 2. See the heartbeat logs happens after the register logs 3. Access the http://127.0.0.1:8080/ingress then you could see the tracing happens and reported spans in the logs. Local Development and Unit Tests All codes in the lib/skywalking require the test.lua to do the UnitTest. To run that, you need to install - Lua 5.1 - LuaRocks The following libs are required in runtime or test cases, please use LuaRocks to install them. - lua-cjson2. NOTICE, lua-cjson2 is to fix the bug in lua-cjson 2.1.0-1. ref to: https://github.com/apache/skywalking-nginx-lua/pull/94 - luaunit - lua-resty-jit-u","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/skywalking-nginx-lua/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}