mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
Fix failing benchmarks
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
5ee0980cd1
commit
eaee6bacc7
|
@ -40,7 +40,7 @@ var newTestParserFns = map[string]newParser{
|
||||||
"omtext": func(b []byte, st *labels.SymbolTable) Parser {
|
"omtext": func(b []byte, st *labels.SymbolTable) Parser {
|
||||||
return NewOpenMetricsParser(b, st, WithOMParserCTSeriesSkipped())
|
return NewOpenMetricsParser(b, st, WithOMParserCTSeriesSkipped())
|
||||||
},
|
},
|
||||||
"omtext_with_nhcb": func(b []byte, st *labels.SymbolTable) Parser {
|
"nhcb_over_omtext": func(b []byte, st *labels.SymbolTable) Parser {
|
||||||
p := NewOpenMetricsParser(b, st, WithOMParserCTSeriesSkipped())
|
p := NewOpenMetricsParser(b, st, WithOMParserCTSeriesSkipped())
|
||||||
return NewNHCBParser(p, st, false)
|
return NewNHCBParser(p, st, false)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue