anchor.diff:  
   === Grafana dashboard
   
  -Grafana dashboard, accessible at http://localhost:8001/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy/?orgId=1, now shows the information about the cluster. 
  +Grafana dashboard, accessible at http://localhost:8001/api/v1/namespaces/default/services/grafana/proxy/, now shows the information about the cluster. 
   
   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`.
   
  -
  +=== Cleanup
  +
  +Remove all the installed components:
  +
  +    kubectl delete -f prometheus/templates/
  +
  
positive.code: 
  image::monitoring-pods-after.png[]
  
  == 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.).
  
  === Installation
  
  Prometheus configuration file is defined as a ConfigMap in the file `prometheus/templates/prometheus-configmap.yaml`. 
  
negative.code: - job_name: 'etcd'
    target_groups:
    - targets:
      - 172.20.43.222: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.
  