Skip to content

Commit 256522f

Browse files
authored
Actually configure app insights correctly for web api (#597)
Although we were seeing the app, we were not seeing the requests. This change fixes that issue. Required by #585
1 parent 470a1d1 commit 256522f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

code/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from azure.monitor.opentelemetry import configure_azure_monitor
2-
from create_app import create_app
32

43
configure_azure_monitor()
4+
5+
from create_app import create_app # noqa: E402
6+
57
app = create_app()
68

79
if __name__ == "__main__":

0 commit comments

Comments
 (0)