Configuring Prometheus

Now that you have deployed an instance of Prometheus, lets look at how to configure it to monitor a service.

In Prometheus if you select Status > Configuration (or click directly here) you will see that out of the box it only has the configuration below:

  scrape_interval: 1m
  scrape_timeout: 10s
  evaluation_interval: 1m

The Prometheus Operator does a whole lot more than simply just deploy Prometheus. It is also a very powerful tool for automating the configuration of Prometheus within Kubernetes. In the next section we will look at how we can use it to configure Prometheus.