Hi. The nuster proxy modifies haproxy.c and adds some structs and function calls into the haproxy main code.
Examples: https://github.com/jiangwenyuan/nuster/blob/master/src/haproxy.c#L182 https://github.com/jiangwenyuan/nuster/blob/master/src/haproxy.c#L2243 https://github.com/jiangwenyuan/nuster/blob/master/src/haproxy.c#L2744 When I look to the prometheus-exporter which also enhances the haproxy with a service, what's the best way to migrate the nuster to none modifying enhancement plugin? http://git.haproxy.org/?p=haproxy.git;a=blob;f=contrib/prometheus-exporter/service-prometheus.c;h=0f178eb64e2a376d2b56ac7ce3a71d88438246e7;hb=HEAD I would like to create a 'contrib/nuster' to be able to build nuster in a similar way like the prometheus-exporter. My steps in mind. * download/git clone nuster * download/git clone haproxy * cd to haproxy * make TARGET=linux-glibc EXTRA_OBJS="contrib/nuster/nuster.o" NUSTER_DIR="/path/to/nuster/root/dir" Due to the fact that prom-extporter does not add statments to '.global' I'm not sure if the enhancement is possible or make sense. Opinions? Regards Aleks