Skip to content

oliverabrahams/prometheus-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-grafana

This is a simple prometheus and grafana application stack

Setup

First clone the repo.

Change the target of prometheus to your metrics endpoint. in ./prometheus/prometheus.yml

scrape_configs:
  - job_name: *job-name
    static_configs:
      - targets: [*'host.docker.internal:4100']

ou need to have Docker Engine and Docker Compose on your machine.

You can either:

Install Docker Engine and Docker Compose as standalone binaries.

Install Docker Desktop which includes both Docker Engine and Docker Compose https://docs.docker.com/compose/gettingstarted/

Usage

To start navigate to the directory and run

docker compose up

To stop navigate to the directory and run

docker compose down

http://localhost:9090/ will show prometheus running on you machine

http://localhost:3000/ will show graphana running on you machine

About

docker project with prometheus and grafana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published