func NewEcsMeteringCollector(emcecs *ecsclient.EcsClient, namespace string) (*EcsMeteringCollector, error) {
	log.WithFields(log.Fields{"package": "metering-collector"}).Debug("Init Metering exporter")
	return &EcsMeteringCollector{
		ecsClient: emcecs,
		namespace: namespace,
	}, nil
}
NewEcsMeteringCollector returns an initialized Metering Collector.
package collector
import (
	"math"
	"time"
	"github.com/paychex/prometheus-emcecs-exporter/pkg/ecsclient"
	"github.com/prometheus/client_golang/prometheus"
	log "github.com/sirupsen/logrus"
	"github.com/tidwall/gjson"
)
type EcsMeteringCollector struct {
	ecsClient *ecsclient.EcsClient
	namespace string
}
var (
	nameSpaceQuota = prometheus.NewDesc(
		prometheus.BuildFQName("emcecs", "metering", "namespacequota"),
		"quota information for namespace in KB",
		[]string{"ecsnamespace", "type"}, nil,
	)
	nameSpaceObjectTotal = prometheus.NewDesc(
		prometheus.BuildFQName("emcecs", "metering", "namespace_object_count"),
		"total count of objects in namespace",
		[]string{"ecsnamespace"}, nil,
	)
)