mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 12:22:28 +08:00
Add /v3/metrics (get) endpoint to list all known metrics
This commit is contained in:
@@ -17,7 +17,7 @@ func NewFFmpegCollector(f ffmpeg.FFmpeg) metric.Collector {
|
||||
ffmpeg: f,
|
||||
}
|
||||
|
||||
c.processDescr = metric.NewDesc("ffmpeg_process", "", []string{"state"})
|
||||
c.processDescr = metric.NewDesc("ffmpeg_process", "State of the ffmpeg process", []string{"state"})
|
||||
|
||||
return c
|
||||
}
|
||||
|
Reference in New Issue
Block a user