mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Remove deprecated /api/tsdb/query metrics endpoint (#49916)
* remove /api/tsdb/query * revert changes to alert rules * regenerate spec based on 9.0.x
This commit is contained in:
@@ -22,11 +22,7 @@ export function addQuery(queries: DataQuery[], query?: Partial<DataQuery>, datas
|
||||
}
|
||||
|
||||
export function isDataQuery(url: string): boolean {
|
||||
if (
|
||||
url.indexOf('api/datasources/proxy') !== -1 ||
|
||||
url.indexOf('api/tsdb/query') !== -1 ||
|
||||
url.indexOf('api/ds/query') !== -1
|
||||
) {
|
||||
if (url.indexOf('api/datasources/proxy') !== -1 || url.indexOf('api/ds/query') !== -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user