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
Matthieu MOREL c7d4b53ec1 chore: enable unused-parameter from revive 11 months ago
..
testdata textparse: Refactor benchmark testdata for all types. (#15998) 11 months ago
README.md Move packages out of deprecated pkg directory 4 years ago
benchmark_test.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 11 months ago
interface.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 11 months ago
interface_test.go textparse: Optimized protobuf parser with custom streaming unmarshal. (#15731) 11 months ago
nhcbparse.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 11 months ago
nhcbparse_test.go chore: enable unused-parameter from revive 11 months ago
openmetricslex.l bugfix: allow quoted exemplar keys in openmetrics text format 1 year ago
openmetricslex.l.go bugfix: allow quoted exemplar keys in openmetrics text format 1 year ago
openmetricsparse.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 11 months ago
openmetricsparse_test.go bugfix: allow quoted exemplar keys in openmetrics text format 1 year ago
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
promparse.go textparse: Optimized protobuf parser with custom streaming unmarshal. (#15731) 11 months ago
promparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 year ago
protobufparse.go textparse: Optimized protobuf parser with custom streaming unmarshal. (#15731) 11 months ago
protobufparse_test.go textparse: Optimized protobuf parser with custom streaming unmarshal. (#15731) 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