Hi all!
We have React app. It is deployed in Rancher and opened to the world by ingress. The task is to track response duration for the app pages with Prometheus. Prometheus metrics with percentiles.
I know there is npmjs package prom-client exists. As far as I can see it suggest to track time at the start and then at the end of request and then write down the duration (difference).
Here I would like to ask may be there is another way to track response duration? May be at ingress nginx stage?