Instance Methodswift-metrics 2.6.1CoreMetrics
makeRecorder(label:dimensions:aggregate:)
Metrics.swift:1111func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
s11CoreMetrics09MultiplexB7HandlerC12makeRecorder5label10dimensions9aggregateAA0fD0_pSS_SaySS_SStGSbtF
What are these?2NAV8
import CoreMetrics
A Metrics API package for Swift.
final class MultiplexMetricsHandler
A pseudo-metrics handler that can be used to send messages to multiple other metrics handlers.
@frozen struct String
A Unicode string value that is a collection of characters.
@frozen struct Bool
A value type whose instances are either true
or false
.
protocol RecorderHandler : AnyObject, _SwiftMetricsSendableProtocol
A RecorderHandler
represents a backend implementation of a Recorder
.
init(factories: [MetricsFactory])
func destroyCounter(_ handler: CounterHandler)
func destroyFloatingPointCounter(_ handler: FloatingPointCounterHandler)
func destroyMeter(_ handler: MeterHandler)
func destroyRecorder(_ handler: RecorderHandler)
func destroyTimer(_ handler: TimerHandler)
func makeCounter(label: String, dimensions: [(String, String)]) -> CounterHandler
func makeFloatingPointCounter(label: String, dimensions: [(String, String)]) -> FloatingPointCounterHandler
func makeMeter(label: String, dimensions: [(String, String)]) -> MeterHandler
func makeTimer(label: String, dimensions: [(String, String)]) -> TimerHandler