Commit 32c51215 by Zoltán Bedi Committed by GitHub

Prometheus: Change exemplars endpoint (#30378)

parent c95928a1
......@@ -663,7 +663,7 @@ export class PrometheusDatasource extends DataSourceApi<PromQuery, PromOptions>
}
getExemplars(query: PromQueryRequest) {
const url = '/api/v1/query_exemplar';
const url = '/api/v1/query_exemplars';
return this._request<PromDataSuccessResponse<PromExemplarData>>(
url,
{ query: query.expr, start: query.start.toString(), end: query.end.toString() },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment