Skip to content

Commit 84a41ed

Browse files
author
Victoria Hall
committed
fixing tests, added setting to logs
1 parent 53bcd2c commit 84a41ed

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

azure_functions_worker/dispatcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
PYTHON_THREADPOOL_THREAD_COUNT_DEFAULT,
3737
PYTHON_THREADPOOL_THREAD_COUNT_MAX_37,
3838
PYTHON_THREADPOOL_THREAD_COUNT_MIN,
39+
APPLICATIONINSIGHTS_CONNECTION_STRING,
40+
PYTHON_AZURE_MONITOR_LOGGER_NAME,
41+
PYTHON_AZURE_MONITOR_LOGGER_NAME_DEFAULT
3942
)
4043
from .extension import ExtensionManager
4144
from .http_v2 import (

azure_functions_worker/utils/app_setting_manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
PYTHON_ROLLBACK_CWD_PATH,
1515
PYTHON_SCRIPT_FILE_NAME,
1616
PYTHON_THREADPOOL_THREAD_COUNT,
17+
PYTHON_ENABLE_OPENTELEMETRY
1718
)
1819

1920

@@ -27,7 +28,8 @@ def get_python_appsetting_state():
2728
PYTHON_ENABLE_WORKER_EXTENSIONS,
2829
FUNCTIONS_WORKER_SHARED_MEMORY_DATA_TRANSFER_ENABLED,
2930
PYTHON_SCRIPT_FILE_NAME,
30-
PYTHON_ENABLE_INIT_INDEXING]
31+
PYTHON_ENABLE_INIT_INDEXING,
32+
PYTHON_ENABLE_OPENTELEMETRY]
3133

3234
app_setting_states = "".join(
3335
f"{app_setting}: {current_vars[app_setting]} | "

0 commit comments

Comments
 (0)