func RegisterMetrics(registry *prometheus.Registry) {
	registry.MustRegister(totalResolverErrors)
}
RegisterMetrics registers our metris with a registry
package register
import (
	"github.com/prometheus/client_golang/prometheus"
)
const MetricNamespace string = "iotics_identity"
const MetricSubsystem string = "resolver"
const MetricResolverErrors string = "errors_total"
const MetricErrorTypeConnection string = "connection"
const MetricErrorTypeServer string = "server"
const MetricErrorTypeTimeout string = "timeout"
const MetricErrorTypeApplication string = "application"
const MetricErrorTypeNotFound string = "notfound"
var (
	totalResolverErrors *prometheus.CounterVec
)
func init() {
	ResetMetrics()
}