feat(metrics): Add implementation for metrics envelope item#6960
Merged
Codecov / codecov/project
succeeded
Jan 15, 2026 in 1s
85.472% (+0.603%) compared to 2f28bda
View this Pull Request on Codecov
85.472% (+0.603%) compared to 2f28bda
Details
Codecov Report
❌ Patch coverage is 92.59259% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.472%. Comparing base (2f28bda) to head (0ebf819).
✅ All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| Sources/Sentry/SentryClient.m | 66.666% | 4 Missing |
| Sources/Sentry/SentryDataCategoryMapper.m | 33.333% | 4 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #6960 +/- ##
=============================================
+ Coverage 84.868% 85.472% +0.603%
=============================================
Files 462 465 +3
Lines 27936 28036 +100
Branches 12351 12392 +41
=============================================
+ Hits 23709 23963 +254
+ Misses 4186 4031 -155
- Partials 41 42 +1 | Files with missing lines | Coverage Δ | |
|---|---|---|
| SentryTestUtils/Sources/TestClient.swift | 86.086% <100.000%> (+0.501%) |
⬆️ |
| ...ft/Integrations/Metrics/SentryMetricsBatcher.swift | 100.000% <100.000%> (ø) |
|
| ...ntegrations/Metrics/SentryMetricsIntegration.swift | 100.000% <100.000%> (ø) |
|
| Sources/Swift/Protocol/SentryAttribute.swift | 89.583% <ø> (ø) |
|
| Sources/Swift/Protocol/SentryMetric.swift | 100.000% <100.000%> (ø) |
|
| Sources/Swift/Protocol/SentryMetricValue.swift | 100.000% <100.000%> (ø) |
|
| Sources/Swift/SentryDependencyContainer.swift | 98.290% <ø> (ø) |
|
| Sources/Swift/SentryExperimentalOptions.swift | 75.000% <ø> (ø) |
|
| Sources/Swift/Tools/Batcher/BatcherScope.swift | 100.000% <100.000%> (ø) |
|
| Sources/Sentry/SentryClient.m | 98.185% <66.666%> (+0.758%) |
⬆️ |
| ... and 1 more |
... and 13 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 2f28bda...0ebf819. Read the comment docs.
Loading