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
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
..
README.md
interface.go Hacky implementation of protobuf parsing 3 years ago
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 3 years ago
openmetricsparse_test.go Merge remote-tracking branch 'upstream/main' into sparse-refactor 3 years ago
promlex.l
promlex.l.go
promparse.go Hacky implementation of protobuf parsing 3 years ago
promparse_test.go
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Be more specific when identifying a sparse histogram 3 years ago
protobufparse_test.go protobufparse: Add support for remaining types 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