mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
13cd50c52e
Signed-off-by: cw9 <chaow929@gmail.com> |
||
---|---|---|
.. | ||
interface.go | ||
openmetricslex.l | ||
openmetricslex.l.go | ||
openmetricsparse_test.go | ||
openmetricsparse.go | ||
promlex.l | ||
promlex.l.go | ||
promparse_test.go | ||
promparse.go | ||
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