You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
337 B
16 lines
337 B
6 years ago
|
package fanout
|
||
|
|
||
|
import "github.com/bilibili/kratos/pkg/stat/metric"
|
||
|
|
||
|
const namespace = "sync"
|
||
|
|
||
|
var (
|
||
|
_metricChanSize = metric.NewGaugeVec(&metric.GaugeVecOpts{
|
||
|
Namespace: namespace,
|
||
|
Subsystem: "pipeline_fanout",
|
||
|
Name: "current",
|
||
|
Help: "sync pipeline fanout current channel size.",
|
||
|
Labels: []string{"name"},
|
||
|
})
|
||
|
)
|