Kong + prometheus + grafana

Hi ,

i have configured the prometheus plugin for kong services and i am able to read the prometheus metrics in grafana,

but i have one doubt Request time and upstream time is showing the same graphs.

which one i have to use for my grafana set up?

Thanks in advance.

request time is usually the sum of upstream time + kong proxy latency. It seems the upstream time is so large that it dwarfs the proxy latency.

If you want to measure the total request time for a request that initiates at kong and finishes, use request time. If you want to measure the performance of your upstream service from kong’s perspective, use upstream time.

Thanks for your reply.

i have one more question,

the above graph has shows Request time and upstream time is same but upstream time should be less as per your comment above.
"request time is usually the sum of upstream time + kong proxy latency. "

as we observed it is not same for 95th and 99th percentile as per above graph.

Please let me know which we percentile relay on.?

Thanks in advance.

Percentiles here are approximations. You would observe the difference if kong’s latency is higher.

I’d monitor two things:

  • kong latency to track kong’s performance
  • total request time to track performance of the service+kong, which approximates the latency that the client of the service is seeing

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ