Skip to content

Commit

Permalink
move instructions to README, fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: fktkrt <fktkrt@gmail.com>
  • Loading branch information
fktkrt committed Aug 23, 2020
1 parent 66cf883 commit 38b2872
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
14 changes: 13 additions & 1 deletion examples/grafana-integration/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
# Hot R.O.D. - Rides on Demand - Grafana integration

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.
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.

## Running

### Run everything via `docker-compose`

#### Prerequisites
* Download `docker-compose.yml` from https://github.com/jaegertracing/jaeger/blob/master/examples/grafana-integration/docker-compose.yml
* Download the `datasources.yaml` from the `examples/grafana-integration/` folder
* All services will log to Loki via the loki docker logging plugin.
To install run this on the host once:

```bash
docker plugin install \
grafana/loki-docker-driver:latest \
--alias loki \
--grant-all-permissions
```

#### Deploy the local setup
* Run Grafana and Loki integration with Jaeger backend using HotROD demo with `docker-compose -f path-to-yml-file up`
* Access Grafana UI at http://localhost:3000 and HotROD app at http://localhost:8080
* Shutdown / cleanup with `docker-compose -f path-to-yml-file down`
Expand Down
3 changes: 0 additions & 3 deletions examples/grafana-integration/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
All services will log to Loki via the loki docker logging plugin.
# To install run this on the host once:
# docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
version: '2'
services:
grafana:
Expand Down

0 comments on commit 38b2872

Please sign in to comment.