SoulLoggerMetrics

class SoulLoggerMetrics(registry: MeterRegistry, metricsPrefix: String = "soullogger")(source)

Constructors

Link copied to clipboard
constructor(registry: MeterRegistry, metricsPrefix: String = "soullogger")

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class MetricsState(val totalWritten: Long = 0, val totalDropped: Long = 0, val totalErrors: Long = 0, val currentQueueSize: Long = 0, val rotationCount: Long = 0)

Properties

Link copied to clipboard
val flushTimer: Timer
Link copied to clipboard
val logsDropped: Counter
Link copied to clipboard
val logsErrors: Counter
Link copied to clipboard
val logSizeSummary: DistributionSummary
Link copied to clipboard
val logsWritten: Counter
Link copied to clipboard
Link copied to clipboard
val writeTimer: Timer

Functions

Link copied to clipboard
Link copied to clipboard
fun recordFlushTime(timeNanos: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun recordQueueSize(size: Int)
Link copied to clipboard
Link copied to clipboard
fun recordWriteTime(timeNanos: Long)