You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/pkg/textparse
shreyassrivatsan e825282dd1
Add exemplar support to the openmetrics parser (#6292)
5 years ago
..
README.md Add a README.md to textparse package about how to update lexers. 5 years ago
interface.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
openmetricslex.l Add exemplar support to the openmetrics parser (#6292) 5 years ago
openmetricslex.l.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
openmetricsparse.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
openmetricsparse_test.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
promlex.l Prepare for multiple text formats 6 years ago
promlex.l.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
promparse.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
promparse_test.go Update to disallow new Go 1.13 float formats. (#5984) 5 years ago
promtestdata.nometa.txt Add an OpenMetrics parser. 6 years ago
promtestdata.txt Add an OpenMetrics parser. 6 years ago

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