Skip to content

Commit

Permalink
fix: improve tracing lab (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
srodenhuis authored Oct 29, 2024
1 parent 63b8694 commit 9f5f165
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions docs/get-started/labs/use-otel.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,34 @@ In order to make a system observable, it must be instrumented. Language specific

## Prerequisites

For this lab it is required to:
Make sure the following Apps are enabled:

- Enable `Tempo`
- Enable `Otel`
- Enable `Loki`
- Enable `Grafana`
- Enable tracing for `Istio` and `Nginx Ingress`
- `Tempo` on Platform
- `Otel` on Platform
- `Loki` on Platform
- `Grafana` for the Team

Enable tracing for `Istio` and `ingress-nginx-platform`:

1. Go to `Apps`
2. Click on `Istio`
3. Click on the configuration icon
4. Click on the `Values` tab
5. In the values click `Edit` and set the following values

```yaml
tracing:
enabled: true
samplingRatio: "100"
```
:::note
Setting the `samplingRatio` to `100` is only done for this lab to make sure all traces are sampled. In a production environment the ratio would normally be set to `0.01`.
:::

6. Click `Submit`
7. Repeat step 2 to 6 for the `ingress-nginx-platform` app
8. Click `Deploy Changes`

## Build an image from source code

Expand Down

0 comments on commit 9f5f165

Please sign in to comment.