Ensures an instrumentationKey/connectionString and appId is provided.
config(
appId,
instrumentationKey,
connectionString,
autoTrackPageVisitTime = TRUE,
...
)
List.
String for identifying your app, if you use same Application Insights for multiple apps.
Credentials for sending to Application Insights.
connectionString
is preferred for newer accounts and must contain both InstrumentationKey
and IngestionEndpoint
.
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.
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)
.