Skip to content

Commit 2a46e4a

Browse files
chboudrykraigb
authored andcommitted
Cherry pick chboudry's contributions
1 parent b54e2b3 commit 2a46e4a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/azure-functions/functions-host-json.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ The following sample *host.json* file has all possible options specified (exclud
105105
"thresholdForSnapshotting": 1,
106106
"uploaderProxy": null
107107
}
108+
"SamplingExcludedTypes": "",
109+
"SamplingIncludedTypes": "Dependency, Event, Exception, PageView, Request, Trace"
108110
}
109111
},
110112
"managedDependency": {
@@ -143,7 +145,19 @@ Controls options for Application Insights, including [sampling options](./functi
143145
"samplingSettings": {
144146
"isEnabled": true,
145147
"maxTelemetryItemsPerSecond" : 20
148+
"EvaluationInterval": "00:00:15",
149+
"InitialSamplingPercentage": 0,
150+
"MaxSamplingPercentage": 100,
151+
"MinSamplingPercentage": 0.1,
152+
"MovingAverageRatio":0.25,
153+
"SamplingPercentageDecreaseTimeout": "00:02:00",
154+
"SamplingPercentageIncreaseTimeout": "00:15:00"
146155
}
156+
"SamplingExcludedTypes": "",
157+
"SamplingIncludedTypes": "Dependency, Event, Exception, PageView, Request, Trace",
158+
"EnableLiveMetrics": true,
159+
"EnableDependencyTracing":true,
160+
"EnablePerformanceCountersCollection":true
147161
}
148162
}
149163
```

0 commit comments

Comments
 (0)