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
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
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 Fix OpenMetrics parser to sort uppercase labels correctly. (#10510) 3 years ago
openmetricsparse_test.go Fix OpenMetrics parser to sort uppercase labels correctly. (#10510) 3 years ago
promlex.l
promlex.l.go
promparse.go Specify type in metadata parser errors (#10269) 3 years ago
promparse_test.go refactor: move from io/ioutil to io and os packages (#10528) 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