Skip to content

Commit

Permalink
Updating OTel dependencies to v1.10.1 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace authored Sep 11, 2024
1 parent 0ddf7b1 commit eaf6db2
Show file tree
Hide file tree
Showing 86 changed files with 213 additions and 526 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "f35065f67c35655933e2b4ed841314daab70232fc79185162a3eea7fe1831c3b",
"pins" : [
{
"identity" : "abseil-cpp-binary",
Expand Down Expand Up @@ -77,8 +78,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/groue/GRDB.swift",
"state" : {
"revision" : "e83f3eb25ef4d5a36a13dbee98f8ac67e24e5c8f",
"version" : "6.16.0"
"revision" : "dd6b98ce04eda39aa22f066cd421c24d7236ea8a",
"version" : "6.29.1"
}
},
{
Expand Down Expand Up @@ -149,8 +150,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/open-telemetry/opentelemetry-swift",
"state" : {
"revision" : "37b52e2070cb925d98de30b51af6f0de91feae89",
"version" : "1.5.1"
"revision" : "0dd37c4a14a6aeeb131eea40a13cb3832c7c6a97",
"version" : "1.10.1"
}
},
{
Expand All @@ -171,15 +172,6 @@
"version" : "2.4.0"
}
},
{
"identity" : "reachability.swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ashleymills/Reachability.swift",
"state" : {
"revision" : "7cbd73f46a7dfaeca079e18df7324c6de6d1834a",
"version" : "5.2.3"
}
},
{
"identity" : "sourcekitten",
"kind" : "remoteSourceControl",
Expand Down Expand Up @@ -361,5 +353,5 @@
}
}
],
"version" : 2
"version" : 3
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class StdoutLogExporter: LogRecordExporter {
self.isDebug = isDebug
}

func export(logRecords: [OpenTelemetrySdk.ReadableLogRecord]) -> OpenTelemetrySdk.ExportResult {
func export(logRecords: [OpenTelemetrySdk.ReadableLogRecord], explicitTimeout: TimeInterval?) -> OpenTelemetrySdk.ExportResult {
if isDebug {
for logRecord in logRecords {
print(String(repeating: "-", count: 40))
Expand Down Expand Up @@ -40,10 +40,10 @@ class StdoutLogExporter: LogRecordExporter {
return .success
}

func forceFlush() -> OpenTelemetrySdk.ExportResult {
func forceFlush(explicitTimeout: TimeInterval?) -> OpenTelemetrySdk.ExportResult {
return .success
}

func shutdown() { }
func shutdown(explicitTimeout: TimeInterval?) { }

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import Foundation
import EmbraceCore
import EmbraceOTelInternal
import OpenTelemetryApi
import OpenTelemetrySdk

@Observable
class ReflexGameModel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
//

import Foundation

import EmbraceCore
import EmbraceOTelInternal
import OpenTelemetryApi
import OpenTelemetrySdk

@Observable
class SimonGameModel {
Expand Down
Loading

0 comments on commit eaf6db2

Please sign in to comment.