Open olegsych opened 3 years ago
Hi @brettsam, Could you please suggest the repo to transfer this issue
@v-bbalaiagar -- this is the correct repo.
Hi @brettsam, Can you suggest how to further proceed to triage this issue. Do we require more information for further investigation
Hi @olegsych, Can you please give us more information regarding the scenario to reproduce the issue.
@v-bbalaiagar I have provided this information in the issue. Do you have specific questions?
Hi @brettsam, Could you please look into this issue.
Any progress on this issue?
Default instrumentation of Azure Functions produces metrics with unbounded cardinality, which leads to throttling of custom metrics in Azure Monitor.
Repro steps
Enable integration with Application Insights and add the following code to your function.
Expected behavior
MyMetric is tracked without high-cardinality custom dimensions.
Actual behavior
MyMetric is tracked with the
InvocationId
dimension, an unbounded cardinality value, which at high enough volume get's the custom metrics throttled for the entire subscription.Known workarounds
Override default functions configuration?
Related information
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-custom-overview#quotas-and-limits