Skip to content

Commit 9d1e3d1

Browse files
Host.json: Added application insights option enableMetricsCustomDimensionOptimization. (SchemaStore#4770)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ed88199 commit 9d1e3d1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/schemas/json/host.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,11 @@
781781
"type": "boolean",
782782
"default": true
783783
},
784+
"enableMetricsCustomDimensionOptimization": {
785+
"description": "Enables optimization that bypasses custom dimensions in Metrics telemetry.",
786+
"type": "boolean",
787+
"default": false
788+
},
784789
"httpAutoCollectionOptions": {
785790
"type": "object",
786791
"properties": {

src/test/host/host.v2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"applicationInsights": {
135135
"enableDependencyTracking": true,
136136
"enableLiveMetrics": true,
137+
"enableMetricsCustomDimensionOptimization": true,
137138
"enablePerformanceCountersCollection": true,
138139
"httpAutoCollectionOptions": {
139140
"enableHttpTriggerExtendedInfoCollection": true,

0 commit comments

Comments
 (0)