You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to have the following setup in a rollup.config.js file inside a polka().use() method. I am migrating from that project to a Sveltekit project. I would like to know if there's any idea of where I would place this code in a Sveltekit project:
// rollup.config.jsimportpolkafrom'polka';import*asappInsightsfrom'applicationinsights';appInsights.setup("MY-KEY").setAutoDependencyCorrelation(true).setAutoCollectRequests(true).setAutoCollectExceptions(true).setAutoCollectConsole(true).setDistributedTracingMode(appInsights.DistributedTracingModes.AI).setSendLiveMetrics(true)appInsights.defaultClient.context.tags[appInsights.defaultClient.context.keys.cloudRole]="MY-TAG";polka().use(//Initiate AppInsights to start gathering and sending requests log to AppInsights portalappInsights.start());
The text was updated successfully, but these errors were encountered:
I used to have the following setup in a
rollup.config.js
file inside apolka().use()
method. I am migrating from that project to a Sveltekit project. I would like to know if there's any idea of where I would place this code in a Sveltekit project:The text was updated successfully, but these errors were encountered: