How to measure the latency for each plugin?

Hi forks,

I have some self developed kong plugins enabled and I’d like to know if there is an easy way to measure/log each plugin’s latency for each request?

I am suffer from some random timeout issue and need to deep dive into the plugins.

so, you can use file.log plugin over Kong or you can enable prometheus to monitor Kong-proxy, kong-upstream and kong-service latency which gives you bit of idea about where is your call getting dead.