You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/model/textparse
György Krajcsovits 25ef4d3483
benchmark, rename parser omtext_with_nhcb
1 month ago
..
testdata Remove omcounterdata.txt as redundant 1 month ago
README.md Move packages out of deprecated pkg directory 3 years ago
benchmark_test.go benchmark, rename parser omtext_with_nhcb 1 month ago
interface.go Merge pull request #15164 from machine424/quantile 1 month ago
interface_test.go scrape: provide a fallback format (#15136) 1 month ago
nhcbparse.go Merge branch 'main' into nhcb-scrape-impl 1 month ago
nhcbparse_test.go goimports run 1 month ago
openmetricslex.l UTF-8: Add support for parsing UTF8 metric and label names 10 months ago
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 10 months ago
openmetricsparse.go Merge pull request #15164 from machine424/quantile 1 month ago
openmetricsparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 10 months ago
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 10 months ago
promparse.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
promparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
protobufparse.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 1 month ago
protobufparse_test.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 1 month ago

README.md

Making changes to textparse lexers

In the rare case that you need to update the textparse lexers, edit promlex.l or openmetricslex.l and then run the following command: golex -o=promlex.l.go promlex.l

Note that you need golex installed: go get -u modernc.org/golex