File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Sources/LaunchDarklyObservability/Plugin Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ public final class Observability: Plugin {
1313 self . options = options
1414 }
1515 public func getMetadata( ) -> PluginMetadata {
16- // guard case let .string(serviceName) = DefaultResources().get().attributes["service.name"], !serviceName.isEmpty else {
17- // return .init(name: "'@launchdarkly/observability-ios'")
18- // }
19- // return .init(name: serviceName)
2016 guard !options. serviceName. isEmpty else {
2117 return . init( name: " '@launchdarkly/observability-ios' " )
2218 }
@@ -31,10 +27,6 @@ public final class Observability: Plugin {
3127 resourceAttributes [ " launchdarkly.sdk.version " ] = . string( String ( format: " %@/%@ " , metadata. sdkMetadata. name, metadata. sdkMetadata. version) )
3228 resourceAttributes [ " highlight.project_id " ] = . string( sdkKey)
3329
34- // let options = Options(
35- // resourceAttributes: resourceAttributes,
36- // sessionBackgroundTimeout: 3
37- // )
3830 let options = Options (
3931 serviceName: options. serviceName,
4032 serviceVersion: options. serviceVersion,
You can’t perform that action at this time.
0 commit comments