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/model/textparse
Björn Rabenstein 3db4596965
Merge pull request #13299 from vesari/add-unit-parser
11 months ago
..
README.md
interface.go textparse: remove MetricType alias 11 months ago
interface_test.go
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Merge pull request #13299 from vesari/add-unit-parser 11 months ago
openmetricsparse_test.go Move metric type definitions to common/model 11 months ago
promlex.l
promlex.l.go
promparse.go textparse: remove MetricType alias 11 months ago
promparse_test.go Move metric type definitions to common/model 11 months ago
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Merge pull request #13299 from vesari/add-unit-parser 11 months ago
protobufparse_test.go Merge pull request #13299 from vesari/add-unit-parser 11 months 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