add otel_exporter directive to simple tracing example in readme (#15)

This commit is contained in:
Michael Vernik 2023-10-24 13:04:59 -07:00 committed by GitHub
parent 0da0f1537e
commit f6d041fbf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;