Upgrade the Splunk RUM iOS agent
Migrate existing iOS instrumentation to the new Splunk RUM agent.
If you have existing iOS agent added as a Swift Package dependency, follow these steps to upgrade your iOS applications to the new 2.0.0 Splunk RUM agent:
The following legacy APIs have been removed and have no direct equivalent in the new Splunk RUM agent.
Configurations:
enableDiskCache(enabled: Bool)
spanDiskCacheMaxSize(size: Int64)
setSpanSchedulingDelay(seconds: TimeInterval)
allowInsecureBeacon(enabled: Bool)
slowFrameDetectionThresholdMs(thresholdMs: Double)
frozenFrameDetectionThresholdMs(thresholdMs: Double)
APIs:
setLocation(latitude: Double, longitude: Double)
Other APIs tagged as deprecated are backward compatible but we recommend that you replace all deprecated configurations and APIs with the new ones provided by this new Splunk RUM agent.
The new Splunk RUM iOS agent uses OTLP (HTTP/protobuf) for exporting signals to Splunk RUM. Zipkin is no longer supported.