The Prometheus monitoring system and time series database.
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
2 years ago
..
README.md Move packages out of deprecated pkg directory 4 years ago
interface.go textparse: remove MetricType alias 2 years ago
interface_test.go textparse/scrape: Add option to scrape both classic and native histograms 3 years ago
openmetricslex.l Move packages out of deprecated pkg directory 4 years ago
openmetricslex.l.go refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 4 years ago
openmetricsparse.go Merge pull request #13299 from vesari/add-unit-parser 2 years ago
openmetricsparse_test.go Move metric type definitions to common/model 2 years ago
promlex.l refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 4 years ago
promlex.l.go refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 4 years ago
promparse.go textparse: remove MetricType alias 2 years ago
promparse_test.go Move metric type definitions to common/model 2 years ago
promtestdata.nometa.txt Move packages out of deprecated pkg directory 4 years ago
promtestdata.txt Move packages out of deprecated pkg directory 4 years ago
protobufparse.go Merge pull request #13299 from vesari/add-unit-parser 2 years ago
protobufparse_test.go Merge pull request #13299 from vesari/add-unit-parser 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