Brian, thank you for your answer.

I misunderstood current environ. We have cluster ingress and no NGINX 
before the frontend react app. Is seems that we should realize metrics 
gathering inside app.

среда, 29 апреля 2020 г., 11:32:40 UTC+3 пользователь Brian Candler написал:
>
> If you're instrumenting your application with a prometheus client library, 
> then you won't be generating a metric for every requests. Almost certainly 
> you want to be using histograms: that is, you divide the response times 
> into buckets at values that make sense for your use case (say 1ms, 5ms, 
> 10ms, 50ms, 100ms) and increment a counter for the appropriate bucket.
>
> It looks like the nginx ingress controller already has this feature, 
> albeit with fixed bucket sizes:
> https://github.com/kubernetes/ingress-nginx/issues/3898
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3f59db55-b34d-4147-a5dc-f68a36afd6d7%40googlegroups.com.

Reply via email to