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/pkg/textparse
Bryan Boreham 92a3eeac55
Create less garbage when parsing metrics (#9299)
3 years ago
..
README.md
interface.go
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Create less garbage when parsing metrics (#9299) 3 years ago
openmetricsparse_test.go Return error on NaN and Inf timestamps for OpenMetrics parser 3 years ago
promlex.l
promlex.l.go
promparse.go
promparse_test.go Testify: move to require (#8122) 4 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