mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update telemetry endpoints (#19841)
* Update telemetry endpoints * Bump sql-assessment package
This commit is contained in:
@@ -29,7 +29,7 @@ async function getClient(aiKey: string): Promise<appInsights.TelemetryClient> {
|
||||
}
|
||||
|
||||
if (aiKey.indexOf('AIF-') === 0) {
|
||||
client.config.endpointUrl = 'https://vortex.data.microsoft.com/collect/v1';
|
||||
client.config.endpointUrl = 'https://mobile.events.data.microsoft.com/collect/v1';
|
||||
}
|
||||
return client;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ class WebAppInsightsAppender implements ITelemetryAppender {
|
||||
private _telemetryCache: { eventName: string, data: any }[] = [];
|
||||
|
||||
constructor(private _eventPrefix: string, aiKey: string) {
|
||||
const endpointUrl = 'https://vortex.data.microsoft.com/collect/v1';
|
||||
const endpointUrl = 'https://mobile.events.data.microsoft.com/collect/v1';
|
||||
import('@microsoft/applicationinsights-web').then(aiLibrary => {
|
||||
this._aiClient = new aiLibrary.ApplicationInsights({
|
||||
config: {
|
||||
|
||||
Reference in New Issue
Block a user