prometheus/model/textparse
Bryan Boreham c83e1fc574 textparse: remove MetricType alias
No backwards-compatibility; make a clean break.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-12-19 18:56:54 +00:00
..
README.md
interface.go textparse: remove MetricType alias 2023-12-19 18:56:54 +00:00
interface_test.go textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
openmetricslex.l
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 textparse: remove MetricType alias 2023-12-19 18:56:54 +00:00
openmetricsparse_test.go Move metric type definitions to common/model 2023-12-19 18:56:54 +00: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 textparse: remove MetricType alias 2023-12-19 18:56:54 +00:00
promparse_test.go Move metric type definitions to common/model 2023-12-19 18:56:54 +00:00
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Move metric type definitions to common/model 2023-12-19 18:56:54 +00:00
protobufparse_test.go textparse: remove MetricType alias 2023-12-19 18:56:54 +00: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