diff --git a/client/src/data-sources/plugins/ApplicationInsights/common.ts b/client/src/data-sources/plugins/ApplicationInsights/common.ts index 34cc44d8..38ae41eb 100644 --- a/client/src/data-sources/plugins/ApplicationInsights/common.ts +++ b/client/src/data-sources/plugins/ApplicationInsights/common.ts @@ -1,5 +1,5 @@ -var appInsightsUri = 'https://api.applicationinsights.io/beta/apps'; +var appInsightsUri = 'https://api.applicationinsights.io/v1/apps'; var appId = process.env.REACT_APP_APP_INSIGHTS_APPID; var apiKey = process.env.REACT_APP_APP_INSIGHTS_APIKEY; diff --git a/server/routes/applicationInsights.js b/server/routes/applicationInsights.js index 5de7dd79..bd7eb1dc 100644 --- a/server/routes/applicationInsights.js +++ b/server/routes/applicationInsights.js @@ -7,7 +7,7 @@ const resourceFileProvider = require('../helpers/resourceFileProvider'); const resourceFieldProvider = require('../helpers/resourceFieldProvider'); const router = new express.Router(); -const appInsightsUri = 'https://api.applicationinsights.io/beta/apps'; +const appInsightsUri = 'https://api.applicationinsights.io/v1/apps'; router.post('/query', (req, res) => { const { query, queryTimespan, appId, dashboardId } = req.body;