prometheus/pkg/textparse
Björn Rabenstein 4a85354a2c
Fix protobuf parsing of quantile-less summaries (#9277)
Signed-off-by: beorn7 <beorn@grafana.com>
2021-08-31 10:47:57 +05:30
..
README.md Add a README.md to textparse package about how to update lexers. 2019-10-23 23:55:42 -07:00
interface.go Hacky implementation of protobuf parsing 2021-07-01 01:35:11 +02: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.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 2021-08-05 12:16:08 +05:30
openmetricsparse_test.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 2021-08-05 12:16:08 +05:30
promlex.l Prepare for multiple text formats 2018-10-18 13:58:00 +01:00
promlex.l.go Add exemplar support to the openmetrics parser (#6292) 2019-11-19 09:33:30 +00:00
promparse.go Hacky implementation of protobuf parsing 2021-07-01 01:35:11 +02:00
promparse_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
promtestdata.nometa.txt Add an OpenMetrics parser. 2018-10-18 13:58:00 +01:00
promtestdata.txt Add an OpenMetrics parser. 2018-10-18 13:58:00 +01:00
protobufparse.go Fix protobuf parsing of quantile-less summaries (#9277) 2021-08-31 10:47:57 +05:30
protobufparse_test.go Fix protobuf parsing of quantile-less summaries (#9277) 2021-08-31 10:47:57 +05:30

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