prometheus/model/textparse
György Krajcsovits a9ed61e91f Fix goftm linter error
How was this not inherited from upstream???

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2023-01-08 16:39:27 +01:00
..
interface.go
interface_test.go
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Update package model/textparse for new labels.Labels type 2022-12-19 15:22:09 +00:00
openmetricsparse_test.go Fix goftm linter error 2023-01-08 16:39:27 +01:00
promlex.l
promlex.l.go
promparse.go model/textparse: associate correct token to errors 2023-01-02 13:57:27 +01:00
promparse_test.go Fix goftm linter error 2023-01-08 16:39:27 +01:00
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Update package model/textparse for new labels.Labels type 2022-12-19 15:22:09 +00:00
protobufparse_test.go Update package model/textparse tests for new labels.Labels type 2022-12-19 15:22:09 +00:00
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