2
votes

I'm using the official aws-alb-ingress-controller for ingress + load balancing to my services hosted in an EKS cluster.

Does this offer metrics of any kind? Preferably Prometheus metrics? To show things like volume metrics etc?

https://github.com/kubernetes-sigs/aws-alb-ingress-controller

I don't see any mention of metrics in the docs, but metrics seems like a necessary part of any production load balancer.

3
Might be helpful to ask AWS Support directly. Also update us if they give you more information. - Costi Muraru

3 Answers

3
votes

Each AWS ALB Ingress Controller Pod
Exposes prometheus /metrics on the same port 10254 where it responds to /healthz checks.
Both endpoints are currently served with the same mux.

2
votes
0
votes

The AWS ALB ingress controller is integrated with CloudWatch and provides various metrics. In CloudWatch you can do monitoring and alerting based on these metrics.

If your system uses Prometheus for this, you can any exporter to send the metrics to Prometheus. Another possible exporter would be: YACE (Yet Another CloudWatch Exporter.

Here you can find an article from the AWS open source blog on how to setup an ELB with Prometheus metrics and Graphana on top with a custom dashboard. The configuration for an ALB is pretty similar. Here you have the information on how to achieve this for an ALB.