diff --git a/Sources/tart/Commands/Prune.swift b/Sources/tart/Commands/Prune.swift index e52ce52..138bd9e 100644 --- a/Sources/tart/Commands/Prune.swift +++ b/Sources/tart/Commands/Prune.swift @@ -101,7 +101,7 @@ struct Prune: AsyncParsableCommand { cacheReclaimedBytes += try prunable.sizeBytes() try prunable.delete() - try SentrySDK.span?.setExtra(value: prunable.sizeBytes(), key: prunable.url.formatted()); + try SentrySDK.span?.setExtra(value: prunable.sizeBytes(), key: prunable.url.path); } SentrySDK.span?.setMeasurement(name: "gc_disk_reclaimed", value: cacheReclaimedBytes as NSNumber, unit: MeasurementUnitInformation.byte);