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
beorn7 7a8bb8222c
Style cleanup of all the changes in sparsehistogram so far
3 years ago
..
README.md Add a README.md to textparse package about how to update lexers. 5 years ago
interface.go Style cleanup of all the changes in sparsehistogram so far 3 years ago
openmetricslex.l Fix golint issues. 5 years ago
openmetricslex.l.go Fix golint issues. 5 years ago
openmetricsparse.go Style cleanup of all the changes in sparsehistogram so far 3 years ago
openmetricsparse_test.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 3 years ago
promlex.l
promlex.l.go Add exemplar support to the openmetrics parser (#6292) 5 years ago
promparse.go Style cleanup of all the changes in sparsehistogram so far 3 years ago
promparse_test.go Testify: move to require (#8122) 4 years ago
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Style cleanup of all the changes in sparsehistogram so far 3 years ago
protobufparse_test.go Style cleanup of all the changes in sparsehistogram so far 3 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