Skip to content

EddeCCC/prometheus-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Exporter Test

This repository supports GitHub Codespaces. Start a codespace in your browser here.

You can start any scenario by running docker compose up in the specific directory.

GRAFANA LOGIN: [user: admin, pwd: demo]


Exporter Scenario

Scenario with various Prometheus-Exporters to create data. Like Node-Exporter, Filestat-Exporter, Blackbox-Exporter

This scenario uses a shared Docker network with Windows scenario. You have to run docker network create grafana-shared before starting the scenario.

In codespaces, there is already a Node-Exporter ready. Run the exporter in codespaces with: /workspaces/prometheus/node_exporter

The other exporters start automatically with Docker.


Windows Scenario

Scenario with Windows-Exporter (incl. IIS-collector) to collect data for Windows. The first start of the Windows container has to install Windows. This might take a while.

This scenario uses a shared Docker network with Exporter scenario. You have to run docker network create grafana-shared before starting the scenario.

An IIS-Webserver and the Windows-Exporter will start automatically after first installation via batch-script.


Loki Scenario

Scenario with Promtail to collect generated logs and Loki to store them.

Run docker compose -f docker-compose-otel.yml to use an OTel collector instead of Promtail.

Run docker compose -f docker-compose-alloy.yml to use Grafana Alloy instead of Promtail.


Graphite Scenario

Scenario with Graphite as datasource and synthetic data generator, which writes directly into Graphite via port 2003.


Mimir Scenario

This scenario uses Mimir as long-term storage and collects data via Blackbox-Exporter.


Thanos Scenario (wip)

This scenario uses Thanos as long-term storage and collects data via Blackbox-Exporter. Currently, not working...

About

Try out some Prometheus & Grafana stuff

Resources

Stars

Watchers

Forks

Contributors