We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7df94 commit 22f8415Copy full SHA for 22f8415
1 file changed
sdk/monitor/azure-monitor-opentelemetry/samples/tracing/http_flask.py
@@ -3,12 +3,14 @@
3
# Licensed under the MIT License. See License in the project root for
4
# license information.
5
# --------------------------------------------------------------------------
6
-import flask
7
from azure.monitor.opentelemetry import configure_azure_monitor
8
9
# Configure Azure monitor collection telemetry pipeline
10
configure_azure_monitor()
11
+# Import Flask after running configure_azure_monitor()
12
+import flask
13
+
14
app = flask.Flask(__name__)
15
16
0 commit comments