mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
rules: manager: clarify doc string for NewGroupMetrics (#7084)
* rules: manager: clarify doc string for NewGroupMetrics Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
parent
cd73b3d33e
commit
2d1a80aa82
|
@ -65,7 +65,7 @@ type Metrics struct {
|
||||||
groupRules *prometheus.GaugeVec
|
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.
|
// if not nil.
|
||||||
func NewGroupMetrics(reg prometheus.Registerer) *Metrics {
|
func NewGroupMetrics(reg prometheus.Registerer) *Metrics {
|
||||||
m := &Metrics{
|
m := &Metrics{
|
||||||
|
|
Loading…
Reference in a new issue