Metrics
public protocol Metrics
Protocol used for for classes that will colect metrics
-
A identifier that is used to namespace the metrics data
Declaration
Swift
var identifier: String { get }
Return Value
identifier string
-
Function called when metrics need to be collected
Declaration
Swift
func collect() -> MetricsData
Return Value
metrics dictionary object that contains metrics data