Skip to content

Commit

Permalink
observability: add README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <[email protected]>
  • Loading branch information
frzifus committed Feb 13, 2025
1 parent c8a9d36 commit 7b324f1
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions observability/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# ARO dev observability

## Tracing

ARO frontend, cluster service and other components are instrumented with the OpenTelemetry SDK.
In the current development environment, there is no possibility to inspect traces.

### Deploy Jaeger all-in-one testing backend

#### Install
```
make deploy
```

After installation, the `jaeger` service becomes available in the `observability` namespace. We can access the UI using `kubectl port-forward`:

```
kubectl port-forward -n observability svc/jaeger 16686:16686
```

The `observability` namespace contains a second service named `ingest` which accepts otlp via gRPC and HTTP.

#### Configure instances

The export of the trace information is configured via environment variables. Existing deployments can be patched as follows:

```diff
+ env:
+ - name: OTEL_EXPORTER_OTLP_ENDPOINT
+ value: https://<service>.<namespace>:4318
+ - name: OTEL_TRACES_EXPORTER
+ value: otlp
```

You can use:

```
make patch-frontend
make patch-clusteservice
```


### Correlate with ARM requests

The following span attributes are set in the root span and propagated to the next service via baggage:

```
aro.correlation.id
aro.request.id
aro.client.request.id
```

0 comments on commit 7b324f1

Please sign in to comment.