'Prometheus Grafana Pod metrics

We are using AWS EKS for deployment of our application in kubernetes cluster, using the AWS managed service for prometheus we have set up a grafana application. However most of the metrics related to the application are not able to get any data, The namespace is visible on some of the dashboards but it seems that none of the applications are captured by prometheus. These are Java applications built on top of spring boot. enter image description here

The above image shows up the namespace but no data is captured i tried many other dashboards but no luck. Does this needs some changes in deployment.yaml of the application?

Any help on the same is highly appreciated.

V



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source