Overview

What is Prometheus?

Components

Downloading Prometheus

1
2
3
tar xvfz prometheus-*.tar.gz
cd prometheus-*
./prometheus --help

Configuring Prometheus

1
2
3
4
5
6
7
8
9
10
11
12
global:
  scrape_interval:     15s
  evaluation_interval: 15s

rule_files:
  # - "first.rules"
  # - "second.rules"

scrape_configs:
  - job_name: prometheus
    static_configs:
      - targets: ['localhost:9090']

Starting Prometheus

1
./prometheus --config.file=prometheus.yml