streamsink total bytes metric counter.

This commit is contained in:
Miroslav Šedivý 2023-03-17 20:20:23 +01:00
parent 362bcd3852
commit fa69ddd984

View File

@ -81,7 +81,7 @@ func streamSinkNew(c codec.RTPCodec, pipelineFn func() (string, error), id strin
"codec_type": c.Type.String(),
},
}),
totalBytes: promauto.NewGauge(prometheus.GaugeOpts{
totalBytes: promauto.NewCounter(prometheus.CounterOpts{
Name: "streamsink_bytes",
Namespace: "neko",
Subsystem: "capture",