prometheus/pkg/textparse
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
* Add circular in-memory exemplars storage

Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Signed-off-by: Martin Disibio <mdisibio@gmail.com>

Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
Co-authored-by: Martin Disibio <mdisibio@gmail.com>

* Fix some comments, clean up exemplar metrics struct and exemplar tests.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Fix exemplar query api null vs empty array issue.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
Co-authored-by: Martin Disibio <mdisibio@gmail.com>
2021-03-16 15:17:45 +05:30
..
README.md
interface.go Refactor test assertions (#8110) 2020-10-27 11:06:53 +01:00
openmetricslex.l Fix golint issues. 2020-03-23 20:38:43 +01:00
openmetricslex.l.go Fix golint issues. 2020-03-23 20:38:43 +01:00
openmetricsparse.go Fix golint issues. 2020-03-23 20:38:43 +01:00
openmetricsparse_test.go Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
promlex.l
promlex.l.go
promparse.go Fix golint issues. 2020-03-23 20:38:43 +01:00
promparse_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
promtestdata.nometa.txt
promtestdata.txt

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