Skip to content

Inferred metrics

Kamil Mrzygłód edited this page Jan 4, 2023 · 14 revisions

Azure Cost Estimator will automatically infer some metrics based on the provided resources configuration. Those additional calculation may be related to expected usage, free tiers for resources or implicit metrics which are not directly defined. See below for detailed information.

Log Analytics

While Log Analytics supports Microsoft_OperationalInsights_workspaces_Paug_Data_Ingestion usage pattern in ACE, you can achieve more granular usage calculation if you leverage dailyQuotaGb parameter:

resource la 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
  name: 'infer-la-cost'
  location: rgLocation
  properties: {
    sku: {
      name: 'PerGB2018'
    }
    workspaceCapping: {
      dailyQuotaGb: 5
    }
  }
}

If dailyQuotaGb is defined, it overrides any value defined by Microsoft_OperationalInsights_workspaces_Paug_Data_Ingestion pattern.

Azure Container Registry

As Microsoft_ContainerRegistry_registries_Task_vCPU_Duration first 100 minutes are free, when usage pattern for this metric is used, it'll incorporate the free tier. Thus anytime you define custom value for Microsoft_ContainerRegistry_registries_Task_vCPU_Duration, ACE will report no cost for it until you define more than 100 minutes of its use.

Clone this wiki locally