add otel_exporter directive to simple tracing example in readme (#15)
This commit is contained in:
parent
0da0f1537e
commit
f6d041fbf2
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue