Skip to content

Commit

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

* Add comment
  • Loading branch information
TylerHelmuth authored Jan 9, 2023
1 parent e1cecbf commit ba24a19
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 ba24a19

Please sign in to comment.