未验证 提交 2d1a80aa 编写于 作者: M Muhammad Falak R Wani 提交者: GitHub

rules: manager: clarify doc string for NewGroupMetrics (#7084)

* rules: manager: clarify doc string for NewGroupMetrics
Signed-off-by: NMuhammad Falak R Wani <falakreyaz@gmail.com>
上级 cd73b3d3
......@@ -65,7 +65,7 @@ type Metrics struct {
groupRules *prometheus.GaugeVec
}
// NewGroupMetrics makes a new Metrics and registers them with the provided registerer,
// NewGroupMetrics creates a new instance of Metrics and registers it with the provided registerer,
// if not nil.
func NewGroupMetrics(reg prometheus.Registerer) *Metrics {
m := &Metrics{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册