mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Clarify metric descriptions
This commit is contained in:
@@ -17,7 +17,7 @@ func NewFFmpegCollector(f ffmpeg.FFmpeg) metric.Collector {
|
||||
ffmpeg: f,
|
||||
}
|
||||
|
||||
c.processDescr = metric.NewDesc("ffmpeg_process", "State of the ffmpeg process", []string{"state"})
|
||||
c.processDescr = metric.NewDesc("ffmpeg_process", "Accumulated state changes of all ffmpeg processes", []string{"state"})
|
||||
|
||||
return c
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ func NewRestreamCollector(r restream.Restreamer) metric.Collector {
|
||||
c.restreamProcessDescr = metric.NewDesc("restream_process", "Current process values by name", []string{"processid", "state", "order", "name"})
|
||||
c.restreamProcessStatesDescr = metric.NewDesc("restream_process_states", "Current process state", []string{"processid", "state"})
|
||||
c.restreamProcessIODescr = metric.NewDesc("restream_io", "Current process IO values by name", []string{"processid", "type", "id", "address", "index", "stream", "media", "name"})
|
||||
c.restreamStatesDescr = metric.NewDesc("restream_state", "Summarized process states", []string{"state"})
|
||||
c.restreamStatesDescr = metric.NewDesc("restream_state", "Summarized current process states", []string{"state"})
|
||||
|
||||
return c
|
||||
}
|
||||
|
Reference in New Issue
Block a user