it's a part of my Windows personalizations
This little setup is with these assumptions:
- this runs on WSL2
- OhmGraphite is already running on Windows side, read docs/OhmGraphite.md for more details
create .envrc
file and put something like below
export HOST_OHMGRAPHITE=[windows-host-ip]
export HOST_PROMETHEUS=$(dig +short host.docker.internal)
just run those export commands before run
make run
or read Makefile for more options
Prometheus data source is already configured via grafana/datasource-prom.yaml.
Open a browser and access grafana via http://localhost:3000.
Just import this https://grafana.com/grafana/dashboards/11587 and you should be good to go.
More info on this at https://github.com/nickbabcock/OhmGraphite.
make stop
or read Makefile for more options