Skip to content

bolcom/local-prometheus-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run local prometheus + grafana instance

to test / validate your metrics...

how it is set-up

Prometheus is configured to "scrape" the node-exporter container. This container is not necessary, but illustrates how you can add your own LOCAL Java/Go service to be scraped as well.

how to start

exposed services

When all containers are started, open grafana and open the "test" dashboard.

how to add your local running service?

Simple, change the prometheus config file (prometheus.yml) and add a new target. Since the whole stack is running in docker containers, you should connect to host.docker.internal:<<your-port>>. An example can be found in the config file, just uncomment it.

More info

See this blogpost: https://techlab.bol.com/how-to-validate-your-apps-metrics-on-a-local-grafana-instance/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published