mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Better docstring on test
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
a6947e1e6d
commit
555bd6292a
|
@ -593,10 +593,10 @@ func TestNHCBParserProtoBufParser_NoNHCBWhenExponential(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TODO(krajorama): optimize: this should not be here. In case there's
|
// TODO(krajorama): optimize: this should not be here. In case there's
|
||||||
// an exponential histogram we should not scrape the classic histogram.
|
// an exponential histogram we should not convert the classic histogram
|
||||||
// TSDB will throw this away with storage.errDuplicateSampleForTimestamp
|
// to NHCB. In the end TSDB will throw this away with
|
||||||
// at Commit(), but it needs to be parsed here after the exponential
|
// storage.errDuplicateSampleForTimestamp error at Commit(), but it
|
||||||
// histogram.
|
// is better to avoid this conversion in the first place.
|
||||||
m: "test_histogram{}",
|
m: "test_histogram{}",
|
||||||
shs: &histogram.Histogram{
|
shs: &histogram.Histogram{
|
||||||
Schema: histogram.CustomBucketsSchema,
|
Schema: histogram.CustomBucketsSchema,
|
||||||
|
|
Loading…
Reference in a new issue