Hello Ness,

Services in Kubernetes are kind of like load-balancers - they just route
requests to underlying pods. The pods themselves actually contain the
application that does the work and returns the status code.

You don't monitor kubernetes services *per-se *for 4xx or 5xx errors, you
need to monitor the underlying application itself. This is why there will
be not much info on Google 👍

Hope that makes sense.

Best,

Ian

On Fri, Jul 9, 2021 at 12:04 AM Ness <[email protected]> wrote:

> Let's say I want to measure 40x and 50x errors of a K8s service
> "frontend-service" example, whats the best way of targeting this, not much
> info on google.
>
> Thanks
>
> --
> 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/9ee2df6f-7f96-4a8e-8f27-0bf6286ac39en%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/9ee2df6f-7f96-4a8e-8f27-0bf6286ac39en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADoMBNUHOASPyJrGJ%3D0L83JfNFCd-oGFBhA71J4H1nq0K562Vw%40mail.gmail.com.

Reply via email to