HAProxy has a very neat feature: https://cbonte.github.io/haproxy-dconv/1.6/configuration.html#4.2-unique-id-format https://cbonte.github.io/haproxy-dconv/1.6/configuration.html#4.2-unique-id-header Not sure if it's currently possible to add these options. If not, it should be configurable.