pulumi / pulumi-azure-native

Azure Native Provider
Apache License 2.0
125 stars 33 forks source link

Support for enabling alerting on custom metric dimensions #3545

Open automagic opened 1 month ago

automagic commented 1 month ago

Hello!

Issue details

It is currently possible to enable alerting on custom metric dimensions via the GUI and also via ARM templates to an application insights component, but the feature is undocumented in the Azure RM OpenAPI spec.

An example:

"CustomMetricsOptedInType": "WithDimensions"

This is also documented similarly here: https://github.com/hashicorp/terraform-provider-azurerm/issues/6901

And the issues around documenting the fields in the Azure API: https://github.com/Azure/azure-rest-api-specs/issues/16511 https://github.com/MicrosoftDocs/azure-docs/issues/54745

Affected area/feature

https://www.pulumi.com/registry/packages/azure-native/api-docs/insights/component/

thomas11 commented 1 month ago

Thank you for logging this issue, @automagic. I have marked it as awaiting upstream since we can't do much without the API spec being correct.