anchor.diff:  
   http://prometheus.io/[Prometheus] is an open-source systems monitoring and alerting toolkit. Prometheus collects metrics from monitored targets by scraping metrics from HTTP endpoints on these targets.
   
  -Different targets to scrape are defined in the Prometheus configuration file. Targets may be statically configured via the `static_configs` parameter in the configuration fle or dynamically discovered using one of the supported service-discovery mechanisms (Consul, DNS, Etcd, etc.).
  -
  -Prometheus gathers these metrics from https://github.com/kubernetes/kube-state-metrics[kube-state-metrics]. A wide variety of metrics are available and documented at https://github.com/kubernetes/kube-state-metrics/tree/master/Documentation.
  +Different targets to scrape are defined in a Prometheus configuration file. Targets may be statically configured via the `static_configs` parameter in the configuration fle or dynamically discovered using one of the supported service-discovery mechanisms (Consul, DNS, Etcd, etc.).
   
   === Installation
   
  
positive.code: etcd-server-ip-172-20-48-121.us-west-2.compute.internal               1/1       Running   0          9h
  ```
  
  Other pods are shown as well, but we are only showing the etcd pods.
  
  Note down the name of the pod that starts with `etcd-server-ip`.
  
  Get more details about this pod:
  
    kubectl describe pod/etcd-server-ip-172-20-48-121.us-west-2.compute.internal --namespace=kube-system 
  
  
negative.code: - Kubernetes API server: https://github.com/kubernetes/kube-state-metrics
  - Node exporter: https://github.com/prometheus/node_exporter
  
  Let's look at these these metrics in the Prometheus dashboard.
  
  . Find the master node in the EC2 console:
  +
  image::prometheus-ec2-nodes.png[]
  +
  . Copy public IP address of the master node as `<master-ip>`.
  . Prometheus dashboard is accessible on port 30900. Edit the security group and add a rule to allow inbound traffic on port 30900 as shown:
  +
  image::prometheus-ec2-security-group.png[
  +
  . Prometheus dashboard is now available at http://<master-ip>:30900. In our case, this will be http://ec2-34-215-44-44.us-west-2.compute.amazonaws.com:30900 and looks like:
  +
  