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
6 days 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 4 weeks ago
nhcbparse_test.go perf(nhcb): optimize away most allocations in convertnhcb 4 weeks ago
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go chore: fix some function names in comment 6 days ago
openmetricsparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
promlex.l
promlex.l.go
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