App Insights

Overview

The App Insights builder is used to create Application Insights accounts. Use this if you need a standalone AI instance; if you need one for a web app, the web app will create one by default and configure the application settings automatically.

  • Application Insights (Microsoft.Insights/components)

Builder Keywords

KeywordPurpose
nameSets the name of the App Insights instance.
disable_ip_maskingDisable IP masking.
sampling_percentageDefine sampling percentage (0-100)

Configuration Members

MemberPurpose
InstrumentationKeyGets the ARM expression path to the instrumentation key of this App Insights instance.

Example

open Farmer
open Farmer.Builders

let ai = appInsights {
    name "myAI"
}