MultiplexMetricsHandler
public final class MultiplexMetricsHandler : MetricsFactory
A pseudo-metrics handler that can be used to send messages to multiple other metrics handlers.
-
Undocumented
Declaration
Swift
public init(factories: [MetricsFactory])
-
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(_ handler: CounterHandler)
-
Declaration
Swift
public func destroyFloatingPointCounter(_ handler: FloatingPointCounterHandler)
-
Declaration
Swift
public func destroyRecorder(_ handler: RecorderHandler)
-
Declaration
Swift
public func destroyTimer(_ handler: TimerHandler)