Documentation
¶
Overview ¶
Package metrics contains a sink interface to be used by clients to implement sink. It also provides a default NoopSink for convenience.
Index ¶
Constants ¶
View Source
const ( UNKNOWN byte = iota COUNTER GAUGE )
Metric types.
View Source
const ( SinkTimeout = 1 * time.Second ChunkProcessingTimeMetricName = "chunk_processing_time" ChunkLogicalRowsCountMetricName = "chunk_num_logical_rows" ChunkAffectedRowsCountMetricName = "chunk_num_affected_rows" // WriteThreadsMetricName reports the live write-thread (apply-worker) count // chosen by the autoscaler. ThrottlerUtilizationMetricName reports the // continuous load signal (0..>1) the autoscaler controls on. WriteThreadsMetricName = "write_threads" ThrottlerUtilizationMetricName = "throttler_utilization" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricValue ¶
Click to show internal directories.
Click to hide internal directories.