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
..
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 Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
openmetricslex.l.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
openmetricsparse.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
openmetricsparse_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promlex.l Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promlex.l.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promparse.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promparse_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promtestdata.nometa.txt Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promtestdata.txt Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
README.md Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00

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