config {AzureAppInsights} | R Documentation |
Configure Azure Application Insights
Description
Ensures an instrumentationKey/connectionString and appId is provided.
Usage
config(
appId,
instrumentationKey,
connectionString,
autoTrackPageVisitTime = TRUE,
...
)
Arguments
appId |
String for identifying your app, if you use same Application Insights for multiple apps. |
instrumentationKey , connectionString |
Credentials for sending to Application Insights.
|
autoTrackPageVisitTime |
Submits how long time a user spent on the *previous* page (see website for more information). |
... |
Additional options, as given in https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript#configuration. No checks performed here. |
Details
See https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript#configuration for explanation of options.
If jsonlite is playing tricks on the arguments given, wrap the value with I
.
E.g. if you want to force an atomic vector of length 1 to be parsed as an array, use
I(3.14)
.
Value
List.