func NewSummaryExt(name string, window time.Duration, quantiles []float64) *Summary {
	s := newSummary(window, quantiles)
	registerMetric(name, s)
	registerSummary(s)
	registerSummaryQuantiles(name, s)
	return s
}
// NewSummaryExt creates and returns new summary with the given name,
// window and quantiles.
//
// name must be valid Prometheus-compatible metric with possible lables.
// For instance,
//
//     * foo
//     * foo{bar="baz"}
//     * foo{bar="baz",aaa="b"}
//
// The returned summary is safe to use from concurrent goroutines.
NewSummaryExt creates and returns new summary with the given name,
window and quantiles.

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



The returned summary is safe to use from concurrent goroutines.
// NewSummaryExt creates and returns new summary with the given name // window and quantiles . // // name must be valid Prometheus - compatible metric with possible lables . // For instance // // * foo // * foo { bar = " baz " } // * foo { bar = " baz " aaa = " b " } // // The returned summary is safe to use from concurrent goroutines .
func NewSummaryExt(name string, window time.Duration, quantiles []float64) *Summary {
	s := newSummary(window, quantiles)
	registerMetric(name, s)
	registerSummary(s)
	registerSummaryQuantiles(name, s)
	return s
}
func NewSummaryExt ( name string , window time . Duration , quantiles [ ] float64 ) * Summary { s := newSummary ( window , quantiles ) registerMetric ( name , s ) registerSummary ( s ) registerSummaryQuantiles ( name , s ) return s }
NewSummaryExt creates and returns new summary with the given name,
window and quantiles.
NewSummaryExt creates and returns new summary with the given name window and quantiles .