Hi.

------ Originalnachricht ------
Von: "Etienne Carrière" <etienne.carri...@datadome.co>
An: haproxy@formilux.org
Gesendet: 17.01.2018 14:02:40
Betreff: [PATCH] Minor : Add a sampler to extract the microsecond information of the hit date

Hi,

I propose a patch to add a sampler that extract the microsecond part of a hit.
I had 2 ideas for implementation :
* The one in the attached patch which is a new sampler that return an
integer that is only the microsecond part of the timeval structure
* A new sampler that would return a string that would append the
second and the micro-second part (with a dot for separation)

Interested by your opinion,
Sounds interesting.
What use case have you in mind for this fetcher?

I vote for the attached patch, because it's small and looks not to complicated.

Regards,

Etienne Carrière
Regards
Aleks


Reply via email to