prometheus/model/textparse
György Krajcsovits e0444d9384 Merge branch 'main' into nhcb-scrape-impl 2024-10-07 14:02:46 +02:00
..
testdata textparse: Refactored benchmark (#15083) 2024-10-07 09:55:26 +01:00
README.md
benchmark_test.go textparse: Refactored benchmark (#15083) 2024-10-07 09:55:26 +01:00
interface.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
interface_test.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
nhcbparse.go Add unit test nhcbparse_test.go 2024-10-07 14:02:10 +02:00
nhcbparse_test.go Add unit test nhcbparse_test.go 2024-10-07 14:02:10 +02:00
openmetricslex.l UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
openmetricslex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
openmetricsparse.go feat: naive fixes and optimzations for `CreatedTimestamp` function (#14965) 2024-10-04 13:11:02 +01:00
openmetricsparse_test.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promparse.go Neater string vs byte-slice conversions (#14425) 2024-09-21 12:19:21 +02:00
promparse_test.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
protobufparse.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
protobufparse_test.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00

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