prometheus-vagrant

Prometheus and Grafana playground

Stars
9

this is a Prometheus and Grafana playgound

Usage

Build and install the Windows 2019 base image.

Launch the prometheus machine:

vagrant up prometheus --provider=virtualbox # or --provider=libvirt

Logon at the Windows console.

Prometheus is available at:

https://prometheus.example.com

Alertmanager is available at:

https://alertmanager.example.com

NB Alert emails are sent to a local SMTP server and can be seen at http://localhost:8025.

Grafana is available at:

https://grafana.example.com

NB Login as admin and password admin.

Exporters are listening in the loopback interface and are made available from the caddy reverse proxy (which requires a client certificate):

Exporter Address
blackbox_exporter https://prometheus.example.com:9009/blackbox
PerformanceCountersExporter https://prometheus.example.com:9009/pce/metrics
PowerShellExporter https://prometheus.example.com:9009/pse/metrics
wmi_exporter https://prometheus.example.com:9009/wmi/metrics

Prometheusbeat is also installed. It's used as a prometheus remote write endpoint, which uses Elasticsearch as a long term storage solution.

Scaling

Reference

Related Projects