falcon-ngx_metric
falcon-ngx_metric copied to clipboard
脚本执行错误
我执行脚本以后就报下面的错,请问是什么导致的呢,谢谢! [root@fqy-nginx-4 falcon-ngx_metric]# python nginx_collect.py --format=falcon Traceback (most recent call last): File "nginx_collect.py", line 450, in collect append_datapoint(datapoints, Render.render(la)) File "nginx_collect.py", line 70, in render c = renders[la[0]] KeyError: ''
/usr/local/openresty/nginx/conf.d/ngx_metric.conf配置文件中lua_package_path一行配置为绝对路径
lua_package_path "/usr/local/openresty/nginx/modules/?.lua;;";