I need to enable correlation for Azure Insights, a...
# azure
b
I need to enable correlation for Azure Insights, azure.appinsights.Insights does not seem to have those properties. How do I do the following using pulumi?
Copy code
// excerpt of the config section of the JavaScript SDK snippet with correlation
// between client-side AJAX and server requests enabled.
cfg: { // Application Insights Configuration
    instrumentationKey: "YOUR_INSTRUMENTATION_KEY_GOES_HERE"
    disableFetchTracking: false,
    enableCorsCorrelation: true,
    enableRequestHeaderTracking: true,
    enableResponseHeaderTracking: true,
    correlationHeaderExcludedDomains: ['<http://myapp.azurewebsites.net|myapp.azurewebsites.net>', '*.<http://queue.core.windows.net|queue.core.windows.net>']
    /* ...Other Configuration Options... */
}});
Basically I want distributed tracing where one pulumi projects calls another using http and I want to see that call as a line between them in the application map in insights.