Instance Methodswift-metrics 2.6.1CoreMetrics
makeMeter(label:dimensions:)
Metrics.swift:1107func makeMeter(label: String, dimensions: [(String, String)]) -> MeterHandler
func makeMeter(label: String, dimensions: [(String, String)]) -> MeterHandler
s11CoreMetrics09MultiplexB7HandlerC9makeMeter5label10dimensionsAA0fD0_pSS_SaySS_SStGtF
What are these?1B4FZ
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.
protocol MeterHandler : AnyObject, _SwiftMetricsSendableProtocol
A MeterHandler
represents a backend implementation of a Meter
.
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 makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
func makeTimer(label: String, dimensions: [(String, String)]) -> TimerHandler