prometheus/model/textparse
Arianna Vespri 5d5acf5744 Add unit protobuf parser
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-12-12 12:40:08 +01:00
..
interface_test.go textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
interface.go Parse created timestamps from Prometheus Protobuf (#12973) 2023-10-18 19:04:02 +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_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
openmetricsparse.go Add unit protobuf parser 2023-12-12 12:40:08 +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_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
promparse.go Parse created timestamps from Prometheus Protobuf (#12973) 2023-10-18 19:04:02 +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_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
protobufparse.go Add unit protobuf parser 2023-12-12 12:40:08 +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