Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WriteMetrics ¶
type WriteMetrics struct { Attempts metrics.Counter `metric:"attempts"` Inserts metrics.Counter `metric:"inserts"` Errors metrics.Counter `metric:"errors"` LatencyOk metrics.Timer `metric:"latency-ok"` LatencyErr metrics.Timer `metric:"latency-err"` RecordsOk metrics.Counter `metric:"records-ok"` RecordsErr metrics.Counter `metric:"records-err"` }
func NewWriteMetrics ¶
func NewWriteMetrics(factory metrics.Factory, tableName string) *WriteMetrics
Click to show internal directories.
Click to hide internal directories.