We have an EKS cluster with prometheus running on it. In addition we have additional apps and db running in dedicated EC2 instances. I want to add monitoring this EC2 instance from the prometheus running in my cluster.
I have already installed the prometheus exporter on the EC2 instance and don't know how should I add the job to get the data from the instance.
I have understood there is an option to do that through the private ip