Skip to content

Commit

Permalink
Add README for how to use jaeger tracing (#3040)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Apr 29, 2022
1 parent cce9fb3 commit f454d9a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions porch/config/development/tracing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### How to enable jaeger tracing

If you want to enable jaeger tracing of the porch-server:

* Apply the [deployment.yaml manifest](deployment.yaml) from this directory

```
kubectl apply -f deployment.yaml
```

* Add the commented out env var OTEL to the porch-server manifest:

```
kubectl edit deployment -n porch-system porch-server
```

```
env:
# Uncomment to enable trace-reporting to jaeger
#- name: OTEL
# value: otel://jaeger-oltp:4317
```

* Port-forward the jaeger http port to your local machine:

```
kubectl port-forward -n porch-system service/jaeger-http 16686
```

* Open your browser to the UI on http://localhost:16686

0 comments on commit f454d9a

Please sign in to comment.