Skip to content

Commit

Permalink
Removed retention policies on metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jamasten committed Sep 20, 2023
1 parent bd934c5 commit 622e11f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ var diagnosticsMetrics = [for metric in diagnosticMetricsToEnable: {
category: metric
timeGrain: null
enabled: true
retentionPolicy: {
enabled: true
days: diagnosticLogsRetentionInDays
}
}]

var identityType = systemAssignedIdentity ? (!empty(userAssignedIdentities) ? 'SystemAssigned,UserAssigned' : 'SystemAssigned') : (!empty(userAssignedIdentities) ? 'UserAssigned' : 'None')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "11389483082819439486"
"templateHash": "14199085282161303395"
}
},
"parameters": {
Expand Down Expand Up @@ -3457,7 +3457,7 @@
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "16666750818278497129"
"templateHash": "3330372472596925837"
}
},
"parameters": {
Expand Down Expand Up @@ -3730,11 +3730,7 @@
"input": {
"category": "[parameters('diagnosticMetricsToEnable')[copyIndex('diagnosticsMetrics')]]",
"timeGrain": null,
"enabled": true,
"retentionPolicy": {
"enabled": true,
"days": "[parameters('diagnosticLogsRetentionInDays')]"
}
"enabled": true
}
}
],
Expand Down

0 comments on commit 622e11f

Please sign in to comment.