prometheus/model/textparse
Damien Grisonnet 0fee615719 model/textparse: improve openmetrics error outputs
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-02-22 17:19:01 +01:00
..
README.md Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go histograms: parse float histograms from proto definition (#11149) 2022-08-25 20:37:41 +05:30
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 refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 2022-06-27 21:29:19 +02:00
openmetricsparse.go model/textparse: improve openmetrics error outputs 2023-02-22 17:19:01 +01:00
openmetricsparse_test.go model/textparse: improve openmetrics error outputs 2023-02-22 17:19:01 +01:00
promlex.l refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 2022-06-27 21:29:19 +02:00
promlex.l.go refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 2022-06-27 21:29:19 +02:00
promparse.go model/textparse: improve openmetrics error outputs 2023-02-22 17:19:01 +01:00
promparse_test.go model/textparse: improve error outputs 2023-02-03 16:54:57 +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
protobufparse.go textparse: Set CounterResetHint 2023-01-10 16:25:23 +01:00
protobufparse_test.go textparse: Add tests for float and gauge histograms 2023-01-10 18:42:05 +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