microsoft / microsoft/aspire

Extend provisioning code for Aspire.Hosting.Azure.ApplicationInsights

Open
#13,554 0 comments 1 reaction 0 assignees View on GitHub
needs-area-label
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I try to set the daily quota on an Application Insights instance but the required Bicep code is currently not generated .

### Describe the solution you'd like

Please add a 'Microsoft.Insights/components/pricingPlans@...' resource to the existing Aspire resource and make the properties available by an extension method WithPricingPlan(InsightsPricingPlanProperties properties).

One of these properties is "Cap" that takes the dailyQuota in GB.

### Additional context

The daily volume cap must be set on Log Analytics Workspace and Application Insights separately to prevent unforeseen costs on these Azure resources.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.