Skip to content

Commit

Permalink
[chore] Update Instrumentation example with python env var (open-tele…
Browse files Browse the repository at this point in the history
…metry#1330)

* Update Instrumentation example with python env var

* Add comment
  • Loading branch information
TylerHelmuth authored Jan 9, 2023
1 parent b92d27c commit fecd51d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ spec:
sampler:
type: parentbased_traceidratio
argument: "0.25"
python:
env:
# Required if endpoint is set to 4317.
# Python autoinstrumentation uses http/proto by default
# so data must be sent to 4318 instead of 4137.
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector:4318
EOF
```

Expand Down

0 comments on commit fecd51d

Please sign in to comment.