FTTracer class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
获取 trace http 请求头数据
key
唯一 id
url
请求地址
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setConfig({double? sampleRate, TraceType? traceType, bool? enableLinkRUMData, bool? enableNativeAutoTrace, bool enableAutoTrace = false})
→ Future<void>
-
配置 trace
sampleRate
采样率
traceType
链路类型
enableLinkRUMData
是否与 RUM 数据关联
enableNativeAutoTrace
是否开启原生网络网络自动追踪 iOS NSURLSession ,Android OKhttp
-
toString()
→ String
-
A string representation of this object.
inherited