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
Björn Rabenstein 4ffb74dae4
Merge pull request #14810 from bboreham/fix-proto-parse-exemplar
3 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 9 months ago
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
openmetricsparse.go textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356) 4 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 9 months ago
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
promparse.go docs: textparse.Parser return type mismatch 9 months ago
promparse_test.go textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356) 4 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 Merge pull request #14810 from bboreham/fix-proto-parse-exemplar 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