Browse Source

Remove omcounterdata.txt as redundant

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
pull/14978/head
György Krajcsovits 1 month ago
parent
commit
a6947e1e6d
  1. 2
      model/textparse/benchmark_test.go
  2. 9
      model/textparse/testdata/omcounterdata.txt

2
model/textparse/benchmark_test.go

@ -86,8 +86,6 @@ func BenchmarkParse(b *testing.B) {
// NHCB. // NHCB.
{dataFile: "omhistogramdata.txt", parser: "omtext"}, // Measure OM parser baseline for histograms. {dataFile: "omhistogramdata.txt", parser: "omtext"}, // Measure OM parser baseline for histograms.
{dataFile: "omhistogramdata.txt", parser: "nhcb_over_omtext"}, // Measure NHCB over OM parser. {dataFile: "omhistogramdata.txt", parser: "nhcb_over_omtext"}, // Measure NHCB over OM parser.
{dataFile: "omcounterdata.txt", parser: "omtext"}, // Measure OM parser baseline for counters.
{dataFile: "omcounterdata.txt", parser: "nhcb_over_omtext"}, // Measure NHCB over OM parser.
} { } {
var buf []byte var buf []byte
dataCase := bcase.dataFile dataCase := bcase.dataFile

9
model/textparse/testdata/omcounterdata.txt vendored

@ -1,9 +0,0 @@
# HELP rpc_requests Total number of RPC requests received.
# TYPE rpc_requests counter
rpc_requests_total{service="exponential"} 22.0
rpc_requests_created{service="exponential"} 1.726839813016893e+09
rpc_requests_total{service="normal"} 15.0
rpc_requests_created{service="normal"} 1.726839813016717e+09
rpc_requests_total{service="uniform"} 11.0
rpc_requests_created{service="uniform"} 1.7268398130168471e+09
# EOF
Loading…
Cancel
Save