Introduction

Azure Static Web Apps integrates seamlessly with your development workflow by automatically building and deploying apps based on code changes. When a static web app is created, Azure connects to GitHub or Azure DevOps to track a specified branch, triggering an automated build and deployment whenever commits or pull requests are pushed to that branch.

Setup

To set up the Azure integration and discover the Azure service, go to Azure Integration Discovery Profile and select Static Web Apps.

External Reference

Azure Static Web Apps

Supported Metrics

Opsramp MetricAzure MetricMetric Display NameUnitAggregation TypeDescription
azure_web_staticsites_BytesSentBytesSentData OutBytesTotalThe total amount of data sent from the static web app to clients
azure_web_staticsites_CdnPercentageOf4XXCdnPercentageOf4XXCdn Percentage Of 4XXPercentTotalThe percentage of CDN requests that resulted in 4XX client error responses
azure_web_staticsites_CdnPercentageOf5XXCdnPercentageOf5XXCdn Percentage Of 5XXPercentTotalThe percentage of CDN requests that resulted in 5XX server error responses
azure_web_staticsites_CdnRequestCountCdnRequestCountCdn Request CountCountTotalThe total number of requests served by the CDN for the static web app
azure_web_staticsites_CdnResponseSizeCdnResponseSizeCdn Response SizeBytesTotalThe total size of responses delivered by the CDN
azure_web_staticsites_CdnTotalLatencyCdnTotalLatencyCdn Total LatencyMilliSecondsTotalThe total time taken by the CDN to process and deliver requests
azure_web_staticsites_DataApiErrorsDataApiErrorsData Api ErrorsCountTotalThe total number of failed requests to the Data API
azure_web_staticsites_DataApiHitsDataApiHitsData Api HitsCountTotalThe total number of successful requests to the Data API
azure_web_staticsites_FunctionErrorsFunctionErrorsFunction ErrorsCountTotalThe total number of failed Azure Functions executions
azure_web_staticsites_FunctionHitsFunctionHitsFunction HitsCountTotalThe total number of successful Azure Functions executions
azure_web_staticsites_SiteErrorsSiteErrorsSite ErrorsCountTotalThe total number of failed requests to the static web app
azure_web_staticsites_SiteHitsSiteHitsSite HitsCountTotalThe total number of successful requests to the static web app