prometheus/model/textparse
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
..
README.md
interface.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
openmetricsparse_test.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
promlex.l
promlex.l.go
promparse.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
promparse_test.go
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00
protobufparse_test.go Merge branch 'main' into sparsehistogram 2021-11-17 19:57:31 +01:00

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