mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 04:34:23 -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) {
|
getExemplars(query: PromQueryRequest) {
|
||||||
const url = '/api/v1/query_exemplar';
|
const url = '/api/v1/query_exemplars';
|
||||||
return this._request<PromDataSuccessResponse<PromExemplarData>>(
|
return this._request<PromDataSuccessResponse<PromExemplarData>>(
|
||||||
url,
|
url,
|
||||||
{ query: query.expr, start: query.start.toString(), end: query.end.toString() },
|
{ query: query.expr, start: query.start.toString(), end: query.end.toString() },
|
||||||
|
Loading…
Reference in New Issue
Block a user