diff --git a/prometheus/histogram.go b/prometheus/histogram.go index 41b51e365..8d35f2d8a 100644 --- a/prometheus/histogram.go +++ b/prometheus/histogram.go @@ -1373,7 +1373,7 @@ func MustNewConstHistogram( return m } -// NewConstHistogramWithCreatedTimestamp does the same thing as NewConstHistogram but sets the created timestamp +// NewConstHistogramWithCreatedTimestamp does the same thing as NewConstHistogram but sets the created timestamp. func NewConstHistogramWithCreatedTimestamp( desc *Desc, count uint64, diff --git a/prometheus/summary.go b/prometheus/summary.go index 5cda7454c..1ab0e4796 100644 --- a/prometheus/summary.go +++ b/prometheus/summary.go @@ -784,7 +784,7 @@ func MustNewConstSummary( return m } -// NewConstSummaryWithCreatedTimestamp does the same thing as NewConstSummary but sets the created timestamp +// NewConstSummaryWithCreatedTimestamp does the same thing as NewConstSummary but sets the created timestamp. func NewConstSummaryWithCreatedTimestamp( desc *Desc, count uint64,