Custom Prometheus metrics with Lua Script

Hi All,

I want to build some custom Prometheus metrics (“business rules”) with all my information on the HTTP Request. I could already do it with LUA Script but on a new specific path to expose the metrics. I want to do that on the default metrics exposed by the HAProxy exporter instead of having two endpoints to expose the default metrics and another one for the custom metrics.

Is that possible? with performance obviously