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
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425)
2 months ago
..
README.md Move packages out of deprecated pkg directory 3 years ago
interface.go lint: Revamp our linting rules, mostly around doc comments 3 months ago
interface_test.go model/textparse: parsers take a labels SymbolTable 9 months 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 refac: make typeRequiresCT private 2 months ago
openmetricsparse_test.go textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356) 4 months 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 Neater string vs byte-slice conversions (#14425) 2 months ago
promparse_test.go refac: make typeRequiresCT private 2 months ago
promtestdata.nometa.txt Move packages out of deprecated pkg directory 3 years ago
promtestdata.txt Move packages out of deprecated pkg directory 3 years ago
protobufparse.go chore: Fix typos (#14868) 3 months ago
protobufparse_test.go [TESTS] Add second native histogram with exemplars in TestProtobufParse 3 months 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