41.5 nginx拦截prometheus查询请求使用lua脚本做promql的检查替换
本节重点介绍 : 编写lua脚本做promql的检查替换nginx拦截prometheus查询请求使用lua处理 编写lua脚本做promql的检查替换 获取请求参数 function replace_work()--Nginx服务器中使用lua获取get或post参数local request_method ngx.var.request_method;local args {}--获取…
2025-01-08