Skip to content

Commit f045452

Browse files
committed
RUM-8448 Add ios.benchmark.upload_count
1 parent 2e3da3a commit f045452

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DatadogCore/Sources/Core/Upload/DataUploadWorker.swift

+4
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ internal class DataUploadWorker: DataUploadWorkerType {
139139
batch,
140140
reason: .intakeCode(responseCode: uploadStatus.responseCode)
141141
)
142+
#if DD_BENCHMARK
143+
bench.meter.counter(metric: "ios.benchmark.upload_count")
144+
.increment(attributes: ["track": self.featureName])
145+
#endif
142146

143147
previousUploadStatus = nil
144148

0 commit comments

Comments
 (0)