Limit node-exporter scope, deprecated collectors

This commit is contained in:
Johannes 'fish' Ziemke 2016-12-22 17:38:25 +01:00
commit 3db2f442ae
6 changed files with 44 additions and 12 deletions

View file

@ -50,6 +50,7 @@ func init() {
// Takes a prometheus registry and returns a new Collector exposing
// RAID status through megacli.
func NewMegaCliCollector() (Collector, error) {
warnDeprecated("megacli")
return &megaCliCollector{
cli: *megacliCommand,
driveTemperature: prometheus.NewGaugeVec(prometheus.GaugeOpts{