prometheus/promql/parser
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
..
ast.go Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
functions.go promql: Add sgn, clamp and last_over_time functions (#8457) 2021-02-20 16:34:52 +01:00
generated_parser.y reduce addOffst to 2 parameters 2021-02-23 20:46:52 -05:00
generated_parser.y.go reduce addOffst to 2 parameters 2021-02-23 20:46:52 -05:00
lex.go Prevent lexer from seeking to next rune after lexing escape sequence. (#8517) 2021-02-19 07:38:05 +01:00
lex_test.go Add start() and end() pre-processors for @ modifier (#8425) 2021-02-09 21:33:16 +05:30
parse.go reduce addOffst to 2 parameters 2021-02-23 20:46:52 -05:00
parse_test.go Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
printer.go add negative offset to printer 2021-02-23 21:16:28 -05:00
printer_test.go add negative offset to printer 2021-02-23 21:16:28 -05:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00