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
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
..
README.md
interface.go Refactor test assertions (#8110) 4 years ago
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go
openmetricsparse_test.go Add circular in-memory exemplars storage (#6635) 4 years ago
promlex.l
promlex.l.go
promparse.go
promparse_test.go Testify: move to require (#8122) 4 years ago
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