mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
Prometheus: Change exemplars endpoint (#30378)
This commit is contained in:
parent
c95928a1d9
commit
32c51215c4
@ -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() },
|
||||
|
Loading…
Reference in New Issue
Block a user