tablesink

package
v0.0.0-...-25676cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TableSinkFlushLagDuration = prometheus.NewHistogramVec(
	prometheus.HistogramOpts{
		Namespace: "ticdc",
		Subsystem: "sink",
		Name:      "flush_lag_histogram",
		Help:      "flush lag histogram of rows that are processed by table sink",
		Buckets:   metrics.LagBucket(),
	}, []string{"namespace", "changefeed"})

TableSinkFlushLagDuration is the per event flush lag calculated by ts_after_event_flushed_to_downstream - commit_ts_of_event

View Source
var TotalRowsCountCounter = prometheus.NewCounterVec(
	prometheus.CounterOpts{
		Namespace: "ticdc",
		Subsystem: "sink",
		Name:      "table_sink_total_rows_count",
		Help:      "The total count of rows that are processed by table sink",
	}, []string{"namespace", "changefeed"})

TotalRowsCountCounter is the total count of rows that are processed by sink.

Functions

func InitMetrics

func InitMetrics(registry *prometheus.Registry)

InitMetrics registers all metrics in this file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL