func NewCounter(name string) *Counter {
	c := &Counter{}
	registerMetric(name, c)
	return c
}
// NewCounter registers and returns new counter with the given name.
//
// name must be valid Prometheus-compatible metric with possible lables.
// For instance,
//
//     * foo
//     * foo{bar="baz"}
//     * foo{bar="baz",aaa="b"}
//
// The returned counter is safe to use from concurrent goroutines.
NewCounter registers and returns new counter with the given name.

name must be valid Prometheus-compatible metric with possible lables.
For instance.



The returned counter is safe to use from concurrent goroutines.
// NewCounter registers and returns new counter with the given name . // // name must be valid Prometheus - compatible metric with possible lables . // For instance // // * foo // * foo { bar = " baz " } // * foo { bar = " baz " aaa = " b " } // // The returned counter is safe to use from concurrent goroutines .
func NewCounter(name string) *Counter {
	c := &Counter{}
	registerMetric(name, c)
	return c
}
func NewCounter ( name string ) * Counter { c := & Counter { } registerMetric ( name , c ) return c }
NewCounter registers and returns new counter with the given name.
NewCounter registers and returns new counter with the given name .