Prometheus Setup

1. Prometheus Setup

Available since 3.25.0

Prometheus is a tool to monitor metrics and setup alerts in the case that some metric has responded negatively for an extended period. Setting this up with CleanSpeak is easy.

1.1. Setup

The only requirement to hookup CleanSpeak is to direct prometheus to the CleanSpeak endpoints. We used the following configuration for a CleanSpeak instance running locally on the docker host. (You can reach dockers host ip via host.docker.internal on mac and windows docker, and by default management interface runs on 8011 and webservice runs on 8001)

  - job_name: CleanSpeak
    metrics_path: /prometheus/metrics
    scheme: https
      - targets: ['', '']

We then started prometheus with

docker run -v $(pwd)/prometheus.yaml:/etc/prometheus/prometheus.yml -p 9090:9090 prom/prometheus
Prometheus Adoc