Closed p0lyn0mial closed 1 month ago
/assign @tkashem
can it work alongside audit filter? for example, i want to see the latency summary for requests originating from a certain user, or coming from a particular namespace?
yes, you can apply filters as usual. the filtered events are then passed to the new command.
I would like to see the number of events processes, and their time span. The audit filter does that I believe
good idea, I will add more info to the summary.
@tkashem thanks for the review. I've applied your suggestions. PTAL.
@tkashem updated the PR, PTAL.
/lgtm
/hold cancel
the new option calculates and displays a summary of statistical metrics (max, min, median, 90th percentile) for the latency trackers (measure latency incurred in components within the apiserver) stored in the audit logs for http requests.
usage: