@@ -5,6 +5,7 @@ The Azure Monitor Distro of [Opentelemetry Python][ot_sdk_python] provides multi
5
5
This distro automatically installs the following libraries:
6
6
7
7
* [ Azure Monitor OpenTelemetry exporters] [ azure_monitor_opentelemetry_exporters ]
8
+ * A subset of OpenTelemetry [ instrumentations] [ ot_instrumentations ] that are officially supported as listed below.
8
9
9
10
## Officially supported instrumentations
10
11
@@ -63,8 +64,14 @@ You can use `configure_azure_monitor` to set up instrumentation for your app to
63
64
...
64
65
configure_azure_monitor(
65
66
connection_string = " <your-connection-string>" ,
66
- flask_config = {" excluded_urls" : " http://localhost:8080/ignore" },
67
- requests_config = {" excluded_urls" : " http://example.com" },
67
+ instrumentation_config = {
68
+ " flask" : {
69
+ " excluded_urls" : " http://localhost:8080/ignore" ,
70
+ },
71
+ " requests" : {
72
+ " excluded_urls" : " http://example.com"
73
+ }
74
+ }
68
75
)
69
76
...
70
77
```
@@ -99,16 +106,18 @@ Samples are available [here][samples] to demonstrate how to utilize the above co
99
106
100
107
### Additional documentation
101
108
102
- [ Azure Portal] [ azure_portal ]
103
- [ OpenTelemetry Python Official Docs] [ ot_python_docs ]
109
+ * [ Azure Portal] [ azure_portal ]
110
+ * [ Official Azure monitor docs] [ azure_monitor_opentelemetry ]
111
+ * [ OpenTelemetry Python Official Docs] [ ot_python_docs ]
104
112
105
113
<!-- LINKS -->
114
+ [ azure_monitor_opentelemetry ] : https://learn.microsoft.com/azure/azure-monitor/app/opentelemetry-enable?tabs=python
106
115
[ azure_monitor_opentelemetry_exporters ] : https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter#microsoft-opentelemetry-exporter-for-azure-monitor
107
116
[ azure_portal ] : https://portal.azure.com
108
117
[ azure_sub ] : https://azure.microsoft.com/free/
109
- [ application_insights_namespace ] : https://learn.microsoft.com/en-us/ azure/azure-monitor/app/app-insights-overview
110
- [ application_insights_sampling ] : https://learn.microsoft.com/en-us/ azure/azure-monitor/app/sampling
111
- [ connection_string_doc ] : https://learn.microsoft.com/en-us/ azure/azure-monitor/app/sdk-connection-string
118
+ [ application_insights_namespace ] : https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview
119
+ [ application_insights_sampling ] : https://learn.microsoft.com/azure/azure-monitor/app/sampling
120
+ [ connection_string_doc ] : https://learn.microsoft.com/azure/azure-monitor/app/sdk-connection-string
112
121
[ distro_feature_request ] : https://github.com/microsoft/ApplicationInsights-Python/issues/new
113
122
[ exporter_configuration_docs ] : https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter#configuration
114
123
[ logging_level ] : https://docs.python.org/3/library/logging.html#levels
0 commit comments