dataplaneapi
dataplaneapi copied to clipboard
is it possible to get transaction start time ?
I played with dataplane api. Ususally, I started transaction, run few commands, if they fail, so I got orphaned transaction. A lot of orphaned transactions. So, I wish to be able to delete such transactions.
First, I can get configuration version, and remove all transaction that are smaller by version. That makes sense. But, I'd like to be sure, for example transaction is at least 1 hour old.
Is it possible to add transaction start time to api /services/haproxy/transactions
?
That is a good point, we'll definitely add it.
With "start time" information, what do you think about implementing auto-cleanup based on timeout parameter (disabled by default) ?
Regards