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.
 
 
 
 
 
Bartlomiej Plotka 76432aaf4e
Merge pull request #15220 from prometheus/nhcb-scrape-optimize
2 weeks ago
..
testdata Remove omcounterdata.txt as redundant 1 month ago
README.md
benchmark_test.go benchmark, rename parser omtext_with_nhcb 1 month ago
interface.go Merge pull request #15164 from machine424/quantile 1 month ago
interface_test.go feat(nhcb): implement created timestamp handling (#15198) 4 weeks ago
nhcbparse.go perf(nhcb): optimize away most allocations in convertnhcb 4 weeks ago
nhcbparse_test.go perf(nhcb): optimize away most allocations in convertnhcb 4 weeks ago
openmetricslex.l UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
openmetricsparse.go feat(nhcb): implement created timestamp handling (#15198) 4 weeks ago
openmetricsparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 9 months ago
promparse.go enable errorf rule from perfsprint linter 2 weeks ago
promparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 1 month ago
protobufparse.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 1 month ago
protobufparse_test.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 1 month 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