NOOPMetricsHandler
public final class NOOPMetricsHandler : MetricsFactory, CounterHandler, FloatingPointCounterHandler, RecorderHandler, TimerHandler
Ships with the metrics module, used for initial bootstrapping.
-
Undocumented
Declaration
Swift
public static let instance: NOOPMetricsHandler
-
Declaration
Swift
public func makeCounter(label: String, dimensions: [(String, String)]) -> CounterHandler
-
Declaration
Swift
public func makeFloatingPointCounter(label: String, dimensions: [(String, String)]) -> FloatingPointCounterHandler
-
Declaration
Swift
public func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
-
Declaration
Swift
public func makeTimer(label: String, dimensions: [(String, String)]) -> TimerHandler
-
Declaration
Swift
public func destroyCounter(_: CounterHandler)
-
Declaration
Swift
public func destroyFloatingPointCounter(_: FloatingPointCounterHandler)
-
Declaration
Swift
public func destroyRecorder(_: RecorderHandler)
-
Declaration
Swift
public func destroyTimer(_: TimerHandler)
-
Declaration
Swift
public func increment(by: Int64)
-
Declaration
Swift
public func increment(by: Double)
-
Declaration
Swift
public func reset()
-
Declaration
Swift
public func record(_: Int64)
-
Declaration
Swift
public func record(_: Double)
-
Declaration
Swift
public func recordNanoseconds(_: Int64)