Skip to content

Commit fb08b57

Browse files
committed
Removing more conn str
1 parent 800ca20 commit fb08b57

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,9 +1700,7 @@ Use the add [custom property example](#add-a-custom-property-to-a-span), but rep
17001700
from azure.monitor.opentelemetry import configure_azure_monitor
17011701
17021702
# Configure Azure monitor collection telemetry pipeline
1703-
configure_azure_monitor(
1704-
connection_string="<your-connection-string>",
1705-
)
1703+
configure_azure_monitor()
17061704
app = flask.Flask(__name__)
17071705
17081706
# Requests sent to this endpoint will not be tracked due to
@@ -1720,9 +1718,7 @@ Use the add [custom property example](#add-a-custom-property-to-a-span), but rep
17201718
from azure.monitor.opentelemetry import configure_azure_monitor
17211719
from opentelemetry import trace
17221720
1723-
configure_azure_monitor(
1724-
connection_string="<your-connection-string>",
1725-
)
1721+
configure_azure_monitor()
17261722
trace.get_tracer_provider().add_span_processor(SpanFilteringProcessor())
17271723
...
17281724
```

0 commit comments

Comments
 (0)