Skip to content

Commit f454d9a

Browse files
authored
Add README for how to use jaeger tracing (#3040)
1 parent cce9fb3 commit f454d9a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
### How to enable jaeger tracing
2+
3+
If you want to enable jaeger tracing of the porch-server:
4+
5+
* Apply the [deployment.yaml manifest](deployment.yaml) from this directory
6+
7+
```
8+
kubectl apply -f deployment.yaml
9+
```
10+
11+
* Add the commented out env var OTEL to the porch-server manifest:
12+
13+
```
14+
kubectl edit deployment -n porch-system porch-server
15+
```
16+
17+
```
18+
env:
19+
# Uncomment to enable trace-reporting to jaeger
20+
#- name: OTEL
21+
# value: otel://jaeger-oltp:4317
22+
```
23+
24+
* Port-forward the jaeger http port to your local machine:
25+
26+
```
27+
kubectl port-forward -n porch-system service/jaeger-http 16686
28+
```
29+
30+
* Open your browser to the UI on http://localhost:16686

0 commit comments

Comments
 (0)