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 e1a7008b6c Add unit test nhcbparse_test.go 2 years ago
..
testdata textparse: Refactored benchmark (#15083) 2 years ago
README.md Move packages out of deprecated pkg directory 5 years ago
benchmark_test.go textparse: Refactored benchmark (#15083) 2 years ago
interface.go change: No longer ingest OM _created as timeseries if feature-flag 'enable-ct-zero-ingestion' is enabled; fixed OM text CT conversion bug (#14738) 2 years ago
interface_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2 years ago
nhcbparse.go Add unit test nhcbparse_test.go 2 years ago
nhcbparse_test.go Add unit test nhcbparse_test.go 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 feat: naive fixes and optimzations for `CreatedTimestamp` function (#14965) 2 years ago
openmetricsparse_test.go textparse: Refactored benchmark (#15083) 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 Neater string vs byte-slice conversions (#14425) 2 years ago
promparse_test.go textparse: Refactored benchmark (#15083) 2 years ago
protobufparse.go chore: Fix typos (#14868) 2 years ago
protobufparse_test.go textparse: Refactored benchmark (#15083) 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