This repository contains scripts to install Prometheus, various exporters, and Grafana. The goal is to streamline the entire process—making it quick and easy to go from installation to viewing reports in Grafana about the OpenHistoricalMap infrastructure.
Before installing Prometheus, create basic authentication credentials for the Prometheus endpoint:
htpasswd -c auth prometheus-user
kubectl create secret generic prometheus-basic-auth --from-file=auth -n monitoring
After this step, you can proceed with Prometheus installation and configure the Ingress to use this basic authentication.
This will install Prometheus, Grafana.
export ENVIROMENT=staging
#export ENVIROMENT=Production
./deploy.sh create
## Delete apps
./deploy.sh delete
Import the file dashboard.json into Grafana.