add otel_exporter directive to simple tracing example in readme

This commit is contained in:
Michael Vernik 2023-10-24 12:32:41 -07:00
parent 0da0f1537e
commit 225d135c9a

View file

@ -87,7 +87,12 @@ This example sends telemetry data for all http requests.
```nginx ```nginx
http { http {
otel_exporter {
endpoint localhost:4317;
}
otel_trace on; otel_trace on;
server { server {
location / { location / {
proxy_pass http://backend; proxy_pass http://backend;