prometheus/model/textparse
György Krajcsovits 9b5d7287bb Use labels hash to determine change in metric like CT
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-10-09 15:16:46 +02:00
..
testdata Add basic benchmark cases for NHCB over OM 2024-10-09 15:16:27 +02:00
README.md
benchmark_test.go Add basic benchmark cases for NHCB over OM 2024-10-09 15:16:27 +02: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 Use labels hash to determine change in metric like CT 2024-10-09 15:16:46 +02:00
nhcbparse_test.go Fix labels handling with dedupelabels tag 2024-10-09 12:29:59 +02:00
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go
openmetricsparse_test.go textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 2024-10-07 12:17:44 +01:00
promlex.l
promlex.l.go
promparse.go
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