yabeda-rb / yabeda-rails

Yabeda plugin to collect basic metrics for Rails applications
MIT License
155 stars 20 forks source link

Difference between nginx-ingress and yabeda metrics #22

Open vterdunov opened 3 years ago

vterdunov commented 3 years ago

Hi. I have a problem with metrics value consistency. There is a backend deployed in k8s. Also there is a nginx-ingress controller with metrics enabled. Let's compare RPS through the backend service.

Here is yabeda graph image

Here is a ingress-nginx graph image

Looks like yabeda's metrics are doubled.

pasl commented 1 year ago

In my setup I have the same conclusion looking at rails_requests_total.

For 1 get query the rails_requests_total counter get +2 each time.