mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
streamsink total bytes metric counter.
This commit is contained in:
parent
362bcd3852
commit
fa69ddd984
@ -81,7 +81,7 @@ func streamSinkNew(c codec.RTPCodec, pipelineFn func() (string, error), id strin
|
|||||||
"codec_type": c.Type.String(),
|
"codec_type": c.Type.String(),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
totalBytes: promauto.NewGauge(prometheus.GaugeOpts{
|
totalBytes: promauto.NewCounter(prometheus.CounterOpts{
|
||||||
Name: "streamsink_bytes",
|
Name: "streamsink_bytes",
|
||||||
Namespace: "neko",
|
Namespace: "neko",
|
||||||
Subsystem: "capture",
|
Subsystem: "capture",
|
||||||
|
Loading…
Reference in New Issue
Block a user