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
Levi Harrison a9e2ffb717
Specify type in metadata parser errors (#10269)
3 years ago
..
README.md
interface.go Improve content-type error handling 3 years ago
interface_test.go Improve content-type error handling 3 years ago
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Specify type in metadata parser errors (#10269) 3 years ago
openmetricsparse_test.go Specify type in metadata parser errors (#10269) 3 years ago
promlex.l
promlex.l.go
promparse.go Specify type in metadata parser errors (#10269) 3 years ago
promparse_test.go Specify type in metadata parser errors (#10269) 3 years ago
promtestdata.nometa.txt
promtestdata.txt

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