func NewTimestampedMetricVec()

in timestamped_metric.go [91:102]


func NewTimestampedMetricVec(
	valueType prometheus.ValueType, opts prometheus.Opts, variableLabels []string,
) *TimestampedMetricVec {
	fqName := strings.Join(
		[]string{opts.Namespace, opts.Subsystem, opts.Name}, "_",
	)
	return &TimestampedMetricVec{
		desc:      prometheus.NewDesc(fqName, opts.Help, variableLabels, opts.ConstLabels),
		valueType: valueType,
		metrics:   map[string]*TimestampedMetric{},
	}
}