prometheus/pkg/textparse
cw9 13cd50c52e Return error on NaN and Inf timestamps for OpenMetrics parser
Signed-off-by: cw9 <chaow929@gmail.com>
2021-06-28 20:55:04 -04:00
..
interface.go Refactor test assertions (#8110) 2020-10-27 11:06:53 +01:00
openmetricslex.l Fix golint issues. 2020-03-23 20:38:43 +01:00
openmetricslex.l.go Fix golint issues. 2020-03-23 20:38:43 +01:00
openmetricsparse_test.go Return error on NaN and Inf timestamps for OpenMetrics parser 2021-06-28 20:55:04 -04:00
openmetricsparse.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_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
promparse.go Fix golint issues. 2020-03-23 20:38:43 +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