Skip to content

Commit

Permalink
Fixing process start time resource
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace committed Oct 2, 2024
1 parent b31d80d commit a562d54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ class AppInfoCaptureService: ResourceCaptureService {
)

// process start time
if let uptime = ProcessMetadata.uptime() {
if let processStartTime = ProcessMetadata.startTime {
addResource(
key: AppResourceKey.processStartTime.rawValue,
value: .int(Int(trunc(uptime)))
value: .int(processStartTime.nanosecondsSince1970Truncated)
)
}

Expand Down

0 comments on commit a562d54

Please sign in to comment.