Skip to content

Proof of concept for metrics collection with prometheus.

Notifications You must be signed in to change notification settings

canburak/prometheus-poc

Repository files navigation

Motivation

This is a proof of concept setup that can monitor a website.

Infrastructure consists of:

  1. prometheus-blackbox-exporter: Sends requests to https://www.sadibey.com and https://www.google.com
  2. prometheus: Polls blackbox-exporter for metrics
  3. grafana: Fancy dashboard generator that is configured to connect to the prometheus instance.

How to use

  1. Install Docker Desktop
  2. docker-compose up
  3. Visit Grafana and login with admin:grafana. This should render you the probe_duration_seconds.

Testing

There is a basic test that is running once every day that ensures:

  1. prometheus datasource is properly imported into grafana
  2. prometheus properly asked blackbox-exporter to scrape https://www.sadibey.com/

Please don't hesitate to create an issue if you see this failing so that I can fix it quicker.

Latest status:

Test

About

Proof of concept for metrics collection with prometheus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published