MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.24k stars 21.41k forks source link

Microsoft.Network/applicationGateways metric names are different in documentation #101001

Closed pguan-ntap closed 1 year ago

pguan-ntap commented 1 year ago

I was exploring the metrics REST API for Microsoft.Network/applicationGateways and the documentation metric names have some differences from the api. I am using the api version 2018-01-01 for metrics. GET https://management.azure.com/{resourceUri}/providers/Microsoft.Insights/metricDefinitions?api-version=2018-01-01

For example In the documentation this metric exists, metric name: BlockedCount and display name: Web Application Firewall Blocked Requests Rule Distribution, but it doesnt show up in the API,

Also these metrics show up in the api but not in the documentation,

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

RamanathanChinnappan-MSFT commented 1 year ago

@pguan-ntap

Thanks for your feedback! We will investigate and update as appropriate.

rboucher commented 1 year ago

I believe these have all been fixed now. The tool producing the documentation wasn't working properly. We rewrote it and refreshed the list end of Jan 2023. I spot checked, and I believe all these metrics are now in the doc.

rboucher commented 1 year ago

please-close

mtrin commented 7 months ago

They are not still not in the docs and BlockedCount is not in the api

please-reopen