# What to do if your metrics are not displayed on Terraform EKS cluster?

**URL:** <https://forums.k8slens.dev/t/what-to-do-if-your-metrics-are-not-displayed-on-terraform-eks-cluster/2115>\
**Category:** Tips and Tricks\
**Tags:** lens-desktop, kubernetes\
**Created:** [November 7, 2023, 2:59pm UTC](https://forums.k8slens.dev/t/what-to-do-if-your-metrics-are-not-displayed-on-terraform-eks-cluster/2115 "2023-11-07T14:59:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emeste](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/emeste/32/302_2.png) [@emeste](https://forums.k8slens.dev/u/emeste)\
**Post date:** [November 7, 2023, 2:59pm UTC](https://forums.k8slens.dev/t/what-to-do-if-your-metrics-are-not-displayed-on-terraform-eks-cluster/2115/1 "2023-11-07T14:59:18Z")

</div>

Ensure that the Prometheus port is added to the whitelisted ports for incoming traffic in the security group. This can be done with the following Terraform code:

```auto
node_security_group_additional_rules = {
    prometheus_9090_webhook = {
      description = "Cluster API to Prometheus Port 9090 webhook"
      protocol = "tcp"
      from_port = 9090
      to_port = 9090
      type = "ingress"
      source_cluster_security_group = true
    }   
}

```
