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
György Krajcsovits eaee6bacc7 Fix failing benchmarks 2 years ago
..
testdata Add basic benchmark cases for NHCB over OM 2 years ago
README.md Move packages out of deprecated pkg directory 5 years ago
benchmark_test.go Fix failing benchmarks 2 years ago
interface.go Merge pull request #15164 from machine424/quantile 2 years ago
interface_test.go scrape: provide a fallback format (#15136) 2 years ago
nhcbparse.go Merge branch 'main' into nhcb-scrape-impl 2 years ago
nhcbparse_test.go Add unit test to show that current wrapper is sub-optimal 2 years ago
openmetricslex.l UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
openmetricsparse.go Merge pull request #15164 from machine424/quantile 2 years ago
openmetricsparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 2 years 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 feat: normalize "le" and "quantile" labels values upon ingestion 2 years ago
promparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 2 years ago
protobufparse.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 2 years ago
protobufparse_test.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 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