Update examples/compose-with-grafana/README.md

This commit is contained in:
Zlatko Čalušić 2018-01-21 19:36:01 +01:00
parent 5a2c70c9e1
commit 0a5606e954

View file

@ -1,9 +1,6 @@
# Rest Server Grafana Dashboard
This is a demo [Docker Compose](https://docs.docker.com/compose/) setup for
[Rest Server](https://github.com/restic/rest-server)
with [Prometheus](https://github.com/restic/rest-server)
and [Grafana](https://grafana.com/).
This is a demo [Docker Compose](https://docs.docker.com/compose/) setup for [Rest Server](https://github.com/restic/rest-server) with [Prometheus](https://prometheus.io/) and [Grafana](https://grafana.com/).
![Grafana dashboard screenshot](screenshot.png)
@ -24,15 +21,11 @@ Check if everything is up and running:
docker-compose ps
Grafana will be running on [http://localhost:8030/](http://localhost:8030/)
with username "admin" and password "admin". The first time you access it
you will be asked to setup a data source. Configure it like this (make sure
you name it "prometheus", as this is hardcoded in the example dashboard):
Grafana will be running on [http://localhost:8030/](http://localhost:8030/) with username "admin" and password "admin". The first time you access it you will be asked to setup a data source. Configure it like this (make sure you name it "prometheus", as this is hardcoded in the example dashboard):
![Add data source](datasource.png)
The Rest Server dashoard can be accessed
[here](http://localhost:8030/dashboard/file/rest-server.json).
The Rest Server dashboard can be accessed on [http://localhost:8030/dashboard/file/rest-server.json](http://localhost:8030/dashboard/file/rest-server.json).
Prometheus can be accessed on [http://localhost:8020/](http://localhost:8020/).
@ -40,4 +33,3 @@ If you do a backup like this, some graphs should show up:
restic -r rest:http://127.0.0.1:8010/demo1 -p ./demo-passwd init
restic -r rest:http://127.0.0.1:8010/demo1 -p ./demo-passwd backup .