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.
 
 
 
 
 
huochexizhan 4f48e76086 chore: fix some function names in comment 3 days ago
..
testdata
README.md
benchmark_test.go
interface.go
interface_test.go
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
openmetricslex.l.go
openmetricsparse.go chore: fix some function names in comment 3 days ago
openmetricsparse_test.go
promlex.l
promlex.l.go
promparse.go enable errorf rule from perfsprint linter 2 weeks ago
promparse_test.go
protobufparse.go
protobufparse_test.go

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