File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed
azure-monitor-opentelemetry-exporter
azure-monitor-opentelemetry Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 17
17
([ #43060 ] ( https://github.com/Azure/azure-sdk-for-python/pull/43060 ) )
18
18
- Skip tests from test_storage.py causing transient build pipeline failures
19
19
([ #43122 ] ( https://github.com/Azure/azure-sdk-for-python/pull/43122 ) )
20
+ - Fix spelling for OTEL_PYTHON_EXCLUDED_URLS in samples
21
+ ([ #43141 ] ( https://github.com/Azure/azure-sdk-for-python/pull/43141 ) )
20
22
21
23
### Other Changes
22
24
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ async def exception():
43
43
raise Exception ("Hit an exception" )
44
44
45
45
46
- # Set the OTEL_PYTHON_EXCLUDE_URLS environment variable to "http://127.0.0.1:8000/exclude"
46
+ # Set the OTEL_PYTHON_EXCLUDED_URLS environment variable to "http://127.0.0.1:8000/exclude"
47
47
# Telemetry from this endpoint will not be captured due to excluded_urls config above
48
48
@app .get ("/exclude" )
49
49
async def exclude ():
Original file line number Diff line number Diff line change 10
10
11
11
- Fix detector version
12
12
([ #43044 ] ( https://github.com/Azure/azure-sdk-for-python/pull/43044 ) )
13
+ - Fix spelling for OTEL_PYTHON_EXCLUDED_URLS in samples
14
+ ([ #43141 ] ( https://github.com/Azure/azure-sdk-for-python/pull/43141 ) )
13
15
14
16
### Other Changes
15
17
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async def exception():
26
26
raise Exception ("Hit an exception" )
27
27
28
28
29
- # Set the OTEL_PYTHON_EXCLUDE_URLS environment variable to "http://127.0.0.1:8000/exclude"
29
+ # Set the OTEL_PYTHON_EXCLUDED_URLS environment variable to "http://127.0.0.1:8000/exclude"
30
30
# Telemetry from this endpoint will not be captured due to excluded_urls config above
31
31
@app .get ("/exclude" )
32
32
async def exclude ():
Original file line number Diff line number Diff line change 19
19
try :
20
20
# Requests made using the requests library will be automatically captured
21
21
response = requests .get ("https://azure.microsoft.com/" , timeout = 5 )
22
- # Set the OTEL_PYTHON_EXCLUDE_URLS environment variable to "http://example.com"
22
+ # Set the OTEL_PYTHON_EXCLUDED_URLS environment variable to "http://example.com"
23
23
# This request will not be tracked due to the excluded_urls configuration
24
24
response = requests .get ("http://example.com" , timeout = 5 )
25
25
logger .warning ("Request sent" )
You can’t perform that action at this time.
0 commit comments