Clarify metric descriptions

This commit is contained in:
Ingo Oppermann
2023-04-11 14:52:27 +02:00
parent 7e9e6fce8d
commit 0e73a0fdf3
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}