join pipelines_total.

This commit is contained in:
Miroslav Šedivý 2022-06-19 00:51:17 +02:00
parent ef7e9b1a53
commit 5ab4848580
4 changed files with 47 additions and 21 deletions

View file

@ -44,8 +44,14 @@ func broadcastNew(pipelineStr string) *BroacastManagerCtx {
pipelinesCounter: promauto.NewCounter(prometheus.CounterOpts{
Name: "pipelines_total",
Namespace: "neko",
Subsystem: "capture_broadcast",
Subsystem: "capture",
Help: "Total number of created pipelines.",
ConstLabels: map[string]string{
"submodule": "broadcast",
"video_id": "main",
"codec_name": "-",
"codec_type": "-",
},
}),
}
}