File tree 3 files changed +5
-3
lines changed
sdk/monitor/azure-monitor-opentelemetry-exporter
azure/monitor/opentelemetry/exporter
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 7
7
- Add validation logic to ApplicationInsightsSampler
8
8
([ #26546 ] ( https://github.com/Azure/azure-sdk-for-python/pull/26546 ) )
9
9
- Change default temporality of metrics to follow OTLP
10
- ([ #26546 ] ( https://github.com/Azure/azure-sdk-for-python/pull/26546 ) )
10
+ ([ #26924 ] ( https://github.com/Azure/azure-sdk-for-python/pull/26924 ) )
11
11
12
12
### Breaking Changes
13
13
14
14
- Rename local storage configuration, change default path
15
15
([ #26891 ] ( https://github.com/Azure/azure-sdk-for-python/pull/26891 ) )
16
+ - Change default storage retention period to 48 hours
17
+ ([ #26960 ] ( https://github.com/Azure/azure-sdk-for-python/pull/26960 ) )
16
18
17
19
### Bugs Fixed
18
20
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def __init__(
83
83
path ,
84
84
max_size = 50 * 1024 * 1024 , # 50MiB
85
85
maintenance_period = 60 , # 1 minute
86
- retention_period = 7 * 24 * 60 * 60 , # 7 days
86
+ retention_period = 48 * 60 * 60 , # 48 hours
87
87
write_timeout = 60 , # 1 minute,
88
88
name = None ,
89
89
lease_period = 60 , # 1 minute
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def __init__(self, **kwargs: Any) -> None:
79
79
tempfile .gettempdir (), _AZURE_TEMPDIR_PREFIX , _TEMPDIR_PREFIX + temp_suffix
80
80
)
81
81
self ._storage_directory = kwargs .get ('storage_directory' , default_storage_directory ) # Storage path in which to store retry files.
82
- self ._storage_retention_period = kwargs .get ('storage_retention_period' , 7 * 24 * 60 * 60 ) # Retention period in seconds
82
+ self ._storage_retention_period = kwargs .get ('storage_retention_period' , 48 * 60 * 60 ) # Retention period in seconds (default 48 hrs)
83
83
self ._timeout = kwargs .get ('timeout' , 10.0 ) # networking timeout in seconds
84
84
85
85
config = AzureMonitorClientConfiguration (self ._endpoint , ** kwargs )
You can’t perform that action at this time.
0 commit comments