mirror of
https://github.com/prometheus/prometheus
synced 2024-12-30 19:03:03 +00:00
c40b105efd
This is an incompatible protobuf change. Instrumented targets must include https://github.com/prometheus/client_golang/pull/1092 to make this work. Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
interface_test.go | ||
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 | ||
protobufparse_test.go | ||
protobufparse.go | ||
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