Closed robjkc closed 1 year ago
I was able to generate the unique id that I can correlate the request and response by placing the following in my haproxy.cfg
frontend my_frontend
unique-id-format %[uuid()]
Then in my spoe-message blocks I added this:
spoe-message hello-request
args uid=unique-id ...
spoe-message hello-response
args uid=unique-id ...
As mentioned in https://github.com/criteo/haproxy-spoe-go/issues/40#issuecomment-1795136138, we're dropping support on the project, and archiving it.
Is it possible to correlate the request and response messages that are received by the agent code? In another go spoe library there was a StreamID that I had access to which seemed to be the same for the request and response messages. It doesn't seem that I have access to that StreamID though. I need something to correlate the request/response so I can generate a database record of the call from a client. Below is my agent config. Thanks again!