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
beorn7 9e500345f3
textparse/scrape: Add option to scrape both classic and native histograms
2 years ago
..
README.md
interface.go textparse/scrape: Add option to scrape both classic and native histograms 2 years ago
interface_test.go textparse/scrape: Add option to scrape both classic and native histograms 2 years ago
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go Add Exemplars support for all time series 2 years ago
openmetricsparse_test.go Add Exemplars support for all time series 2 years ago
promlex.l
promlex.l.go
promparse.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2 years ago
promparse_test.go enable gocritic, unconvert and unused linters 2 years ago
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go textparse/scrape: Add option to scrape both classic and native histograms 2 years ago
protobufparse_test.go textparse/scrape: Add option to scrape both classic and native histograms 2 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