Plugins: Remove deprecated /api/tsdb/query metrics endpoint (#49916) (#49996)

* remove /api/tsdb/query

* revert changes to alert rules

* regenerate spec based on 9.0.x

(cherry picked from commit abfc711c53)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-06-01 13:22:53 +02:00
committed by GitHub
co-authored by Will Browne
parent e58aac1b77
commit d344b69fbb
13 changed files with 869 additions and 546 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export default (data) => {
requests.push({ method: 'GET', url: '/api/annotations?dashboardId=2074&from=1548078832772&to=1548082432772' });
for (let n = 0; n < batchCount; n++) {
requests.push({ method: 'POST', url: '/api/tsdb/query', body: payload });
requests.push({ method: 'POST', url: '/api/ds/query', body: payload });
}
let responses = client.batch(requests);