On 28 Apr 11:55, Ben Ye wrote:
> Hi Prometheus developers & maintainers,
>
> I am looking at the Exemplar API
> I have one question about the query parameter.
>
> Here query supports any promql expression. But from the code
> what we need is just label matchers to select series. Then why do we use
> query as the parameter instead of using match[]?
>
> Best regards,
> Ben Ye
It seems that it was chosen so that it was easy to get the exemplars of
a promql query without requiring the requester to analyze the query to
extract the series from the query.
>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/027851f8-93e6-47c0-9ca0-f1923508d837n%40googlegroups.com.
--
Julien Pivotto
@roidelapluie
query=<string>: Prometheus expression query string.To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAAYGSaxW9GoRw0vt5X5k2TUsh%3DwZp%3D2N8-eZR%3DHL%3DAhJcAGX5g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAMssQwZGp1U9m3rK%3DmZ%3DvQw2c3ow7NQ3my5FsNwF0_0yc81iMw%40mail.gmail.com.