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
huochexizhan 4f48e76086
chore: fix some function names in comment
1 week ago
..
testdata Remove omcounterdata.txt as redundant 1 month ago
README.md
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 feat(nhcb): implement created timestamp handling (#15198) 1 month ago
nhcbparse.go perf(nhcb): optimize away most allocations in convertnhcb 1 month ago
nhcbparse_test.go perf(nhcb): optimize away most allocations in convertnhcb 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 chore: fix some function names in comment 1 week 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 enable errorf rule from perfsprint linter 3 weeks 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