prometheus/model/textparse
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
* refactor: move from io/ioutil to io and os packages
* use fs.DirEntry instead of os.FileInfo after os.ReadDir

Signed-off-by: MOREL Matthieu <matthieu.morel@cnp.fr>
2022-04-27 11:24:36 +02:00
..
README.md
interface.go Improve content-type error handling 2022-02-08 11:02:51 +01:00
interface_test.go Improve content-type error handling 2022-02-08 11:02:51 +01:00
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Fix OpenMetrics parser to sort uppercase labels correctly. (#10510) 2022-03-31 20:18:53 +02:00
openmetricsparse_test.go Fix OpenMetrics parser to sort uppercase labels correctly. (#10510) 2022-03-31 20:18:53 +02:00
promlex.l
promlex.l.go
promparse.go Specify type in metadata parser errors (#10269) 2022-03-08 08:04:11 -05:00
promparse_test.go refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00
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