code: func NewCounter(opts prometheus.CounterOpts) prometheus.Counter {
  	c := prometheus.NewCounter(opts)
  	prometheus.MustRegister(c)
  	return c
  }
docs: // NewCounter works like the function of the same name in the prometheus package
  // but it automatically registers the Counter with the
  // prometheus.DefaultRegisterer. If the registration fails, NewCounter panics.