Limit node-exporter scope, deprecated collectors
This commit is contained in:
parent
269ee7a7b4
commit
3db2f442ae
6 changed files with 44 additions and 12 deletions
|
|
@ -48,6 +48,7 @@ var illegalCharsRE = regexp.MustCompile(`[^a-zA-Z0-9_]`)
|
|||
|
||||
// Takes a prometheus registry and returns a new Collector scraping ganglia.
|
||||
func NewGmondCollector() (Collector, error) {
|
||||
warnDeprecated("gmond")
|
||||
c := gmondCollector{
|
||||
metrics: map[string]*prometheus.GaugeVec{},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue