Instance Methodswift-metrics 2.6.1CoreMetrics
makeCounter(label:dimensions:)
Metrics.swift:1099func makeCounter(label: String, dimensions: [(String, String)]) -> CounterHandler
func makeCounter(label: String, dimensions: [(String, String)]) -> CounterHandler
s11CoreMetrics09MultiplexB7HandlerC11makeCounter5label10dimensionsAA0fD0_pSS_SaySS_SStGtF
What are these?44P7L
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 CounterHandler : AnyObject, _SwiftMetricsSendableProtocol
A CounterHandler
represents a backend implementation of a Counter
.
init(factories: [MetricsFactory])
func destroyCounter(_ handler: CounterHandler)
func destroyFloatingPointCounter(_ handler: FloatingPointCounterHandler)
func destroyMeter(_ handler: MeterHandler)
func destroyRecorder(_ handler: RecorderHandler)
func destroyTimer(_ handler: TimerHandler)
func makeFloatingPointCounter(label: String, dimensions: [(String, String)]) -> FloatingPointCounterHandler
func makeMeter(label: String, dimensions: [(String, String)]) -> MeterHandler
func makeRecorder(label: String, dimensions: [(String, String)], aggregate: Bool) -> RecorderHandler
func makeTimer(label: String, dimensions: [(String, String)]) -> TimerHandler