prometheus/model/textparse
Ziqi Zhao a93859a52f
Prometheus support parse exemplars from native histogram (#13488)
scrape: support parsing exemplars from native histogram

---------

Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Björn Rabenstein <github@rabenste.in>
Co-authored-by: Björn Rabenstein <github@rabenste.in>
2024-02-14 17:24:40 +01: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 Merge pull request #13299 from vesari/add-unit-parser 2024-01-09 14:47:50 +01:00
openmetricsparse_test.go Tests: use replacement DeepEquals in more places 2024-02-08 19:32:33 +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 Tests: use replacement DeepEquals in more places 2024-02-08 19:32:33 +00:00
promtestdata.nometa.txt
promtestdata.txt
protobufparse.go Prometheus support parse exemplars from native histogram (#13488) 2024-02-14 17:24:40 +01:00
protobufparse_test.go Prometheus support parse exemplars from native histogram (#13488) 2024-02-14 17:24:40 +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