anchor.diff:  
   image::monitoring-pods-after.png[]
   
  +=== Cleanup
  +
  +Remove all the installed components:
  +
  +    kubectl delete -f heapster/templates/
  +
   == Prometheus, Node exporter and Grafana
   
   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 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.).
   
  +https://github.com/prometheus/node_exporter[Node exporter] is a Prometheus exporter for hardware and OS metrics exposed by *NIX kernels.
  +
   === Installation
   
   Prometheus configuration file is defined as a ConfigMap in the file `prometheus/templates/prometheus-configmap.yaml`. 
  
positive.code: - job_name: 'etcd'
    target_groups:
    - targets:
      - 172.20.48.121:4001
  ```
  
  TODO: Is this required? Check config map again. etcd is already running in the cluster. etcd clusters deployed with the most recent version of kops use port 4001, if you have a newer version of etcd it will be listening on port 2379.
  
negative.code: 
  NOTE: Grafana dashboard will not be available if Kubernetes proxy is not running. If not running, then it can be started with the command `kubectl proxy`.
  
  === Grafana dashboard
  
  There are some built-in dashboards for monitoring the cluster and workloads. They are available by clicking on the upper left corner of the screen.
  
  