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 Move packages out of deprecated pkg directory 3 years ago
interface.go Improve content-type error handling 3 years ago
interface_test.go Improve content-type error handling 3 years ago
openmetricslex.l Move packages out of deprecated pkg directory 3 years ago
openmetricslex.l.go Move packages out of deprecated pkg directory 3 years ago
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 Move packages out of deprecated pkg directory 3 years ago
promlex.l.go Move packages out of deprecated pkg directory 3 years ago
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 Move packages out of deprecated pkg directory 3 years ago
promtestdata.txt Move packages out of deprecated pkg directory 3 years 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