diff --git a/counter.go b/counter.go index e683729..a7d9549 100644 --- a/counter.go +++ b/counter.go @@ -8,7 +8,7 @@ import ( // NewCounter registers and returns new counter with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -62,7 +62,7 @@ func (c *Counter) marshalTo(prefix string, w io.Writer) { // or creates new counter if the registry doesn't contain counter with // the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo diff --git a/gauge.go b/gauge.go index ff2bda5..adc1f21 100644 --- a/gauge.go +++ b/gauge.go @@ -48,7 +48,7 @@ func (g *Gauge) marshalTo(prefix string, w io.Writer) { // or creates new gauge if the registry doesn't contain gauge with // the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo diff --git a/set.go b/set.go index 33a39a0..e520656 100644 --- a/set.go +++ b/set.go @@ -47,7 +47,7 @@ func (s *Set) WritePrometheus(w io.Writer) { // NewCounter registers and returns new counter with the given name in the s. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -64,7 +64,7 @@ func (s *Set) NewCounter(name string) *Counter { // GetOrCreateCounter returns registered counter in s with the given name // or creates new counter if s doesn't contain counter with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -130,7 +130,7 @@ func (s *Set) NewGauge(name string, f func() float64) *Gauge { // GetOrCreateGauge returns registered gauge with the given name in s // or creates new gauge if s doesn't contain gauge with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -176,7 +176,7 @@ func (s *Set) GetOrCreateGauge(name string, f func() float64) *Gauge { // NewSummary creates and returns new summary with the given name in s. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -191,7 +191,7 @@ func (s *Set) NewSummary(name string) *Summary { // NewSummaryExt creates and returns new summary in s with the given name, // window and quantiles. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -213,7 +213,7 @@ func (s *Set) NewSummaryExt(name string, window time.Duration, quantiles []float // GetOrCreateSummary returns registered summary with the given name in s // or creates new summary if s doesn't contain summary with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -231,7 +231,7 @@ func (s *Set) GetOrCreateSummary(name string) *Summary { // window and quantiles in s or creates new summary if s doesn't // contain summary with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo diff --git a/summary.go b/summary.go index 509ce4a..2c14bea 100644 --- a/summary.go +++ b/summary.go @@ -33,7 +33,7 @@ type Summary struct { // NewSummary creates and returns new summary with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -48,7 +48,7 @@ func NewSummary(name string) *Summary { // NewSummaryExt creates and returns new summary with the given name, // window and quantiles. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -137,7 +137,7 @@ func (sm *Summary) updateQuantiles() { // or creates new summary if the registry doesn't contain summary with // the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo @@ -155,7 +155,7 @@ func GetOrCreateSummary(name string) *Summary { // window and quantiles or creates new summary if the registry doesn't // contain summary with the given name. // -// name must be valid Prometheus-compatible metric with possible lables. +// name must be valid Prometheus-compatible metric with possible labels. // For instance, // // * foo