Prometheus - studiofu/brain GitHub Wiki

Prometheus

https://prometheus.io/download/

Need to edit configuration file prometheus.yml to define endpoint for pulling metrics

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
    - targets: ['localhost:9090']

  - job_name: 'http-simulator'
    metrics_path: /prometheus
    static_configs:
    - targets: ['localhost:8080']

⚠️ **GitHub.com Fallback** ⚠️