prometheus/model/textparse
Julien Pivotto f695df843f Improve content-type error handling
- Call err everywhere
- Change log message to underscore-separated field

Followup on #10186

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2022-02-08 11:02:51 +01:00
..
README.md
interface.go Improve content-type error handling 2022-02-08 11:02:51 +01:00
interface_test.go Improve content-type error handling 2022-02-08 11:02:51 +01:00
openmetricslex.l
openmetricslex.l.go
openmetricsparse.go
openmetricsparse_test.go
promlex.l
promlex.l.go
promparse.go
promparse_test.go
promtestdata.nometa.txt
promtestdata.txt

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