func (*isisCollector) Name() string {
	return "ISIS"
}
Name returns the name of the collector
package isis
import (
	"github.com/czerwonk/junos_exporter/collector"
	"github.com/czerwonk/junos_exporter/rpc"
	"github.com/prometheus/client_golang/prometheus"
)
const prefix string = "junos_isis_"
var (
	upCount    *prometheus.Desc
	totalCount *prometheus.Desc
)
func init() {
	l := []string{"target"}
	upCount = prometheus.NewDesc(prefix+"up_count", "Number of ISIS Adjacencies in state up", l, nil)
	totalCount = prometheus.NewDesc(prefix+"total_count", "Number of ISIS Adjacencies", l, nil)
}
type isisCollector struct {
}
func NewCollector() collector.RPCCollector {
	return &isisCollector{}
}