Skip to content

Commit

Permalink
commit a26c819
Browse files Browse the repository at this point in the history
Merge: 75e9506 ded9a01
Author: Benedikt Kulmann <benedikt@kulmann.biz>
Date:   Wed Aug 12 10:39:47 2020 +0200

    Merge pull request #329 from owncloud/simplify-config

    Simplify config
  • Loading branch information
kulmann committed Aug 12, 2020
1 parent 5ff69f8 commit c6998d0
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,24 @@ to get started:
-p 9411:9411 \
jaegertracing/all-in-one:1.17
```
2. Every single oCIS service has its own environment variables for enabling and configuring tracing. You can, for example,
enable tracing in Reva when starting the oCIS single binary like this:
```console
REVA_TRACING_ENABLED=true \
REVA_TRACING_ENDPOINT=localhost:6831 \
REVA_TRACING_COLLECTOR=http://localhost:14268/api/traces \
./bin/ocis server
```
2. Every single oCIS service has its own environment variables for enabling and configuring tracing.
1. You can enable and configure tracing on each service individually. For example, enable tracing
in Reva when starting the oCIS single binary like this:
```console
REVA_TRACING_ENABLED=true \
REVA_TRACING_ENDPOINT=localhost:6831 \
REVA_TRACING_COLLECTOR=http://localhost:14268/api/traces \
./bin/ocis server
```
2. Enabling and configuring tracing on oCIS itself will forward the configuration to all services:
```console
OCIS_TRACING_ENABLED=true \
OCIS_TRACING_ENDPOINT=localhost:6831 \
OCIS_TRACING_COLLECTOR=http://localhost:14268/api/traces \
./bin/ocis server
```
If you want to set individual tracing configuration for each service, make sure to set
`OCIS_TRACING_ENABLED=false`.
3. Make the actual request that you want to trace.
4. Open up the [Jaeger UI](http://localhost:16686) to analyze request traces.

Expand Down

0 comments on commit c6998d0

Please sign in to comment.