yabeda-rb/yabeda-rails

Difference between nginx-ingress and yabeda metrics

Opened this issue · 1 comments

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

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.