opensearch-project / sql

Query your data using familiar SQL or intuitive Piped Processing Language (PPL)
https://opensearch.org/docs/latest/search-plugins/sql/index/
Apache License 2.0
120 stars 139 forks source link

[FEATURE] Support PPL getExemplar API #1750

Open YANG-DB opened 1 year ago

YANG-DB commented 1 year ago

Is your feature request related to a problem? I would like to add a ppl function to load exemplar from a metrics

What solution would you like?

Add getExemplar PPL function getting exemplars from a metrics using the next attributes:

This would return all the exemplars within that metrics time bounds.

In the Prometheus datasource this API would delegate to this API for accessing the metrics exemplars

What alternatives have you considered? A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?

vamsi-amazon commented 1 year ago

Will start coding and design Today.