prometheus/pkg/textparse
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
Part of #9557

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-02 19:52:34 +01:00
..
interface.go Refactor test assertions (#8110) 2020-10-27 11:06:53 +01:00
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Create less garbage when parsing metrics (#9299) 2021-09-08 13:39:21 +05:30
openmetricsparse_test.go Return error on NaN and Inf timestamps for OpenMetrics parser 2021-06-28 20:55:04 -04:00
promlex.l
promlex.l.go
promparse.go
promparse_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
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