You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,23 @@ server {
36
36
}
37
37
```
38
38
39
+
### Tracing
40
+
41
+
Add observability by enabling trace propagation and sending telemetry data to an
42
+
OTel collector:
43
+
44
+
```nginx
45
+
otel_trace on;
46
+
otel_service_name example_service:nginx;
47
+
otel_trace_context propagate;
48
+
otel_exporter {
49
+
endpoint otel-collector:4317;
50
+
interval 5s;
51
+
batch_size 512;
52
+
batch_count 4;
53
+
}
54
+
```
55
+
39
56
## Further customisation
40
57
41
58
Since you're defining a standard `server` block, you can configure it however you like over and above just header manipulation. For example, you can add a custom `location`:
0 commit comments