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
machine424 50a6efd5ec
fix(model/textparse): Labels(): copy the input to avoid dangling references
1 month ago
..
testdata textparse: Refactor benchmark testdata for all types. (#15998) 5 months ago
README.md Move packages out of deprecated pkg directory 4 years ago
benchmark_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
interface.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
interface_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
nhcbparse.go textparse: Optimize CreatedTimestamp; It returns int64 value now. (#16072) 4 months ago
nhcbparse_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
openmetricslex.l bugfix: allow quoted exemplar keys in openmetrics text format 8 months ago
openmetricslex.l.go bugfix: allow quoted exemplar keys in openmetrics text format 8 months ago
openmetricsparse.go fix(model/textparse): Labels(): copy the input to avoid dangling references 1 month ago
openmetricsparse_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 1 year ago
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 1 year ago
promparse.go fix(model/textparse): Labels(): copy the input to avoid dangling references 1 month ago
promparse_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
protobufparse.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 1 month ago
protobufparse_test.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 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