Skip to content

Commit fcdf539

Browse files
committed
move instructions to README, fix typo
1 parent 98bb1d9 commit fcdf539

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

examples/grafana-integration/README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
# Hot R.O.D. - Rides on Demand - Grafana integration
22

3-
This is the Hot R.O.D. demo application that consists of the same components as the `examples/hotrod/`, only Grafana and Loki integration is added to this setup, so you can corralete metrics, logs and traces in one application.
3+
This is the Hot R.O.D. demo application that consists of the same components as the `examples/hotrod/`, only Grafana and Loki integration is added to this setup, so you can correlate logs and traces in one application.
44

55
## Running
66

77
### Run everything via `docker-compose`
88

9+
#### Prerequisites
910
* Download `docker-compose.yml` from https://github.com/jaegertracing/jaeger/blob/master/examples/grafana-integration/docker-compose.yml
1011
* Download the `datasources.yaml` from the `examples/grafana-integration/` folder
12+
* All services will log to Loki via the loki docker logging plugin.
13+
To install run this on the host once:
14+
15+
```bash
16+
docker plugin install \
17+
grafana/loki-docker-driver:latest \
18+
--alias loki \
19+
--grant-all-permissions
20+
```
21+
22+
#### Deploy the local setup
1123
* Run Grafana and Loki integration with Jaeger backend using HotROD demo with `docker-compose -f path-to-yml-file up`
1224
* Access Grafana UI at http://localhost:3000 and HotROD app at http://localhost:8080
1325
* Shutdown / cleanup with `docker-compose -f path-to-yml-file down`

examples/grafana-integration/docker-compose.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
All services will log to Loki via the loki docker logging plugin.
2-
# To install run this on the host once:
3-
# docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
41
version: '2'
52
services:
63
grafana:

0 commit comments

Comments
 (0)