Skip to content

Commit 6bd6423

Browse files
authored
Update doc to use (#417)
1 parent 4559768 commit 6bd6423

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/docs/getting-started/python-sdk/trace-manual-instr.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In this guide, we walk through the steps needed to trace an application with aut
1919

2020
## Requirements
2121

22-
Python 3.6 or later is required to run an application using OpenTelemetry.
22+
Python 3.7 or later is required to run an application using OpenTelemetry.
2323

2424
Note: You’ll also need to have the [ADOT Collector](https://aws-otel.github.io/docs/getting-started/collector) running to export traces to X-Ray.
2525

@@ -30,7 +30,7 @@ Note: You’ll also need to have the [ADOT Collector](https://aws-otel.github.io
3030
Install the following packages and their dependencies from OpenTelemetry Python using pip.
3131

3232
```bash
33-
$ pip install opentelemetry-sdk==1.11.1 \
33+
$ pip install opentelemetry-sdk==1.11.1 \
3434
opentelemetry-sdk-extension-aws~=2.0 \
3535
opentelemetry-propagator-aws-xray~=1.0 \
3636
opentelemetry-exporter-otlp==1.11.1 \
@@ -80,7 +80,7 @@ otlp_exporter = OTLPSpanExporter(endpoint="http://localhost:4317")
8080
# Processes traces in batches as opposed to immediately one after the other
8181
span_processor = BatchSpanProcessor(otlp_exporter)
8282
# Configures the Global Tracer Provider
83-
trace.set_tracer_provider(TracerProvider(active_span_processor=span_processor, ids_generator=AwsXRayIdGenerator()))
83+
trace.set_tracer_provider(TracerProvider(active_span_processor=span_processor, id_generator=AwsXRayIdGenerator()))
8484
```
8585

8686
The `endpoint=` argument allows you to set the address that the exporter will use to connect to the collector. If unset, the SDK will try to connect to `http://localhost:4317` by default. Note that because the scheme is `http` by default, you have to explicitly set it to be `https` if necessary.

0 commit comments

Comments
 (0)