mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
textparse: Minor doc comment improvement
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
6948fb1eb6
commit
3e5ad99c33
|
@ -113,8 +113,8 @@ func (p *OpenMetricsParser) Series() ([]byte, *int64, float64) {
|
||||||
return p.series, nil, p.val
|
return p.series, nil, p.val
|
||||||
}
|
}
|
||||||
|
|
||||||
// Histogram always returns (nil, nil, nil, nil) because OpenMetrics does not support
|
// Histogram returns (nil, nil, nil, nil) for now because OpenMetrics does not
|
||||||
// sparse histograms.
|
// support sparse histograms yet.
|
||||||
func (p *OpenMetricsParser) Histogram() ([]byte, *int64, *histogram.Histogram, *histogram.FloatHistogram) {
|
func (p *OpenMetricsParser) Histogram() ([]byte, *int64, *histogram.Histogram, *histogram.FloatHistogram) {
|
||||||
return nil, nil, nil, nil
|
return nil, nil, nil, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,8 +168,8 @@ func (p *PromParser) Series() ([]byte, *int64, float64) {
|
||||||
return p.series, nil, p.val
|
return p.series, nil, p.val
|
||||||
}
|
}
|
||||||
|
|
||||||
// Histogram always returns (nil, nil, nil, nil) because the Prometheus text format
|
// Histogram returns (nil, nil, nil, nil) for now because the Prometheus text
|
||||||
// does not support sparse histograms.
|
// format does not support sparse histograms yet.
|
||||||
func (p *PromParser) Histogram() ([]byte, *int64, *histogram.Histogram, *histogram.FloatHistogram) {
|
func (p *PromParser) Histogram() ([]byte, *int64, *histogram.Histogram, *histogram.FloatHistogram) {
|
||||||
return nil, nil, nil, nil
|
return nil, nil, nil, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue