func NewBusinessMetricCount(name string, labels ...string) CounterVec {
	if name == "" || len(labels) == 0 {
		panic(errors.New("stat:metric business count metric name should not be empty or labels length should be greater than zero"))
	}
	return NewCounterVec(&CounterVecOpts{
		Namespace: _businessNamespace,
		Subsystem: _businessSubsystemCount,
		Name:      name,
		Labels:    labels,
		Help:      fmt.Sprintf("business metric count %s", name),
	})
}
NewBusinessMetricCount business Metric count vec.
name or labels should not be empty.
package metric
import (
	"errors"
	"fmt"
)
type Opts struct {
}
type Metric interface {
	Add(int64)
	Value() int64
}
type Aggregation interface {
	Min() float64
	Max() float64
	Avg() float64
	Sum() float64
}
type VectorOpts struct {
	Namespace string
	Subsystem string
	Name      string
	Help      string
	Labels    []string
}
const (
	_businessNamespace          = "business"
	_businessSubsystemCount     = "count"
	_businessSubSystemGauge     = "gauge"
	_businessSubSystemHistogram = "histogram"
)
var (
	_defaultBuckets = []float64{5, 10, 25, 50, 100, 250, 500}
)