Instance Methodswift-metrics 2.6.1CoreMetrics
makeRecorder(label:dimensions:aggregate:)
Metrics.swift:1255func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
s11CoreMetrics18NOOPMetricsHandlerC12makeRecorder5label10dimensions9aggregateAA0fD0_pSS_SaySS_SStGSbtF
What are these?3MKTX
import CoreMetrics
A Metrics API package for Swift.
final class NOOPMetricsHandler
Ships with the metrics module, used for initial bootstrapping.
@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
.
static let instance: NOOPMetricsHandler
func decrement(by: Double)
func destroyCounter(_: CounterHandler)
func destroyFloatingPointCounter(_: FloatingPointCounterHandler)
func destroyMeter(_: MeterHandler)
func destroyRecorder(_: RecorderHandler)
func destroyTimer(_: TimerHandler)
func increment(by: Double)
func increment(by: Int64)
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
func record(_: Double)
func record(_: Int64)
func recordNanoseconds(_: Int64)
func reset()
func set(_: Double)
func set(_: Int64)