Skip to content

Commit c0ed83c

Browse files
Merge pull request #2455 from DataDog/yl/RUM-4225/update-session-replay-max-age
RUM-4225: Update Session Replay batch file max age to 5h Co-authored-by: ambushwork <yi.lu@datadoghq.com>
2 parents 7c4c1e7 + fd7f4c3 commit c0ed83c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22

33
- [FIX] Fix `DDLogEvent.accountInfo` property initialization in case of missing account info. See [#2442][]
4+
- [IMPROVEMENT] Update Session Replay batch maximum age to 5hrs. See[#2455][]
45
- [IMPROVEMENT] Update the default tracing sampling rate to 100%. See [#2253][]
56
- [IMPROVEMENT] Update the default TraceContextInjection to `.sampled`. See [#2253][]
67
- [IMPROVEMENT] Enforce head-based sampling on Trace by default. See [#2288][]
@@ -946,6 +947,7 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
946947
[#2395]: https://github.com/DataDog/dd-sdk-ios/pull/2395
947948
[#2405]: https://github.com/DataDog/dd-sdk-ios/pull/2405
948949
[#2442]: https://github.com/DataDog/dd-sdk-ios/pull/2442
950+
[#2455]: https://github.com/DataDog/dd-sdk-ios/pull/2455
949951

950952
[@00fa9a]: https://github.com/00FA9A
951953
[@britton-earnin]: https://github.com/Britton-Earnin

DatadogSessionReplay/Sources/Feature/SessionReplayFeature.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ internal class SessionReplayFeature: SessionReplayConfiguration, DatadogRemoteFe
8989
maxFileSize: SessionReplay.maxObjectSize,
9090
maxObjectSize: SessionReplay.maxObjectSize,
9191
meanFileAge: 2, // vs 5s with `batchSize: .small` - see `DatadogCore.PerformancePreset`
92+
maxFileAgeForRead: 5.hours, // Session Replay intake max age is 5 hours
9293
uploadDelay: (
9394
initial: 2, // vs 5s with `uploadFrequency: .frequent`
9495
range: 0.6..<6, // vs 1s ..< 10s with `uploadFrequency: .frequent`

0 commit comments

Comments
 (0)