We have added lua support to tlsproxy, and left it disabled by default. Based on nginx-lua, we allowed to expose nginx metrics for prometheus such as request latency and response status.
The performance impact of those features needs to be evaluated before enabling them in production.