mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-07 22:57:13 +02:00
..instead of *int64. This is as an optimization and ease of use. We already accepted in many places (proto histograms, PRW) that CT (or any timestamp really) 0 means not set. Signed-off-by: bwplotka <bwplotka@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
benchmark_test.go | ||
interface_test.go | ||
interface.go | ||
nhcbparse_test.go | ||
nhcbparse.go | ||
openmetricslex.l | ||
openmetricslex.l.go | ||
openmetricsparse_test.go | ||
openmetricsparse.go | ||
promlex.l | ||
promlex.l.go | ||
promparse_test.go | ||
promparse.go | ||
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