package metrics

import "github.com/prometheus/client_golang/prometheus"

const (
	statisticSubSystem = "statistic"
	statusLabel        = "status"
)

var (
	ChangefeedCounter = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Namespace: DataflowNamespace,
			Subsystem: statisticSubSystem,
			Name:      "changefeed_counter",
			Help:      "count of changefeed status statistic.",
		}, []string{statusLabel})

	GoroutineCounter = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Namespace: DataflowNamespace,
			Subsystem: statisticSubSystem,
			Name:      "goroutine_counter",
			Help:      "count of goroutine statistic.",
		}, []string{})
)
