prometheus/model/textparse
Bartlomiej Plotka 619e7aaf95
Merge pull request #15453 from prometheus/nhcb-scrape-optimize2
nhcb: scrape optimize string manipulation
2024-11-26 09:02:43 -07:00
..
testdata
README.md
benchmark_test.go
interface.go
interface_test.go
nhcbparse.go nhcb: optimize, do not recalculate suffixes multiple times 2024-11-25 15:37:38 +01:00
nhcbparse_test.go perf(nhcb): optimize away most allocations in convertnhcb 2024-10-28 08:34:54 +01:00
openmetricslex.l bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
openmetricslex.l.go bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
openmetricsparse.go chore: fix some function names in comment 2024-11-19 12:02:10 +08:00
openmetricsparse_test.go bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
promlex.l
promlex.l.go
promparse.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
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