func (c *FloatingIPCollector) Describe(ch chan<- *prometheus.Desc) {
	ch <- c.Active
}
Describe sends the super-set of all possible descriptors of metrics
collected by this Collector.
package collector
import (
	"context"
	"fmt"
	"time"
	"github.com/digitalocean/godo"
	"github.com/go-kit/kit/log"
	"github.com/go-kit/kit/log/level"
	"github.com/prometheus/client_golang/prometheus"
)
type FloatingIPCollector struct {
	logger  log.Logger
	errors  *prometheus.CounterVec
	client  *godo.Client
	timeout time.Duration
	Active *prometheus.Desc
}
func NewFloatingIPCollector(logger log.Logger, errors *prometheus.CounterVec, client *godo.Client, timeout time.Duration) *FloatingIPCollector {
	errors.WithLabelValues("floating_ip").Add(0)
	labels := []string{"droplet_id", "droplet_name", "region", "ipv4"}
	return &FloatingIPCollector{
		logger:  logger,
		errors:  errors,
		client:  client,
		timeout: timeout,
		Active: prometheus.NewDesc(
			"digitalocean_floating_ipv4_active",
			"If 1 the floating ip used by a droplet, 0 otherwise",
			labels, nil,
		),
	}
}