prometheus/model/textparse
Bryan Boreham ba6aa95222 refactor: metrics parsing: extract common checking code
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-26 16:37:41 +00:00
..
README.md Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00
interface_test.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00
openmetricslex.l UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
openmetricsparse.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00
openmetricsparse_test.go refactor: metrics parsing: extract common checking code 2024-02-26 16:37:41 +00:00
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promparse.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00
promparse_test.go refactor: metrics parsing: extract common checking code 2024-02-26 16:37:41 +00:00
promtestdata.nometa.txt Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promtestdata.txt Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
protobufparse.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00
protobufparse_test.go model/textparse: parsers take a labels SymbolTable 2024-02-26 11:45:25 +00:00

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