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
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
..
README.md
interface.go
openmetricslex.l Fix golint issues. 5 years ago
openmetricslex.l.go Fix golint issues. 5 years ago
openmetricsparse.go Fix golint issues. 5 years ago
openmetricsparse_test.go
promlex.l
promlex.l.go
promparse.go Fix golint issues. 5 years ago
promparse_test.go
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