Protocolswift-metrics 2.6.1CoreMetrics
_SwiftMetricsSendableProtocol
Metrics.swift:1292@preconcurrency protocol _SwiftMetricsSendableProtocol : Sendable
Browse conforming types@preconcurrency protocol _SwiftMetricsSendableProtocol : Sendable
import CoreMetrics
A Metrics API package for Swift.
protocol Sendable
protocol CounterHandler : AnyObject, _SwiftMetricsSendableProtocol
A CounterHandler
represents a backend implementation of a Counter
.
protocol FloatingPointCounterHandler : AnyObject, _SwiftMetricsSendableProtocol
A FloatingPointCounterHandler
represents a backend implementation of a FloatingPointCounter
.
protocol MeterHandler : AnyObject, _SwiftMetricsSendableProtocol
A MeterHandler
represents a backend implementation of a Meter
.
protocol MetricsFactory : _SwiftMetricsSendableProtocol
The MetricsFactory
is the bridge between the MetricsSystem
and the metrics backend implementation. MetricsFactory
’s role is to initialize concrete implementations of the various metric types:
protocol RecorderHandler : AnyObject, _SwiftMetricsSendableProtocol
A RecorderHandler
represents a backend implementation of a Recorder
.
protocol TimerHandler : AnyObject, _SwiftMetricsSendableProtocol
A TimerHandler
represents a backend implementation of a Timer
.