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
Supported Metrics
| Opsramp Metric | Azure Metric | Metric Display Name | Unit | Aggregation Type | Description |
|---|---|---|---|---|---|
| azure_web_staticsites_BytesSent | BytesSent | Data Out | Bytes | Total | The total amount of data sent from the static web app to clients |
| azure_web_staticsites_CdnPercentageOf4XX | CdnPercentageOf4XX | Cdn Percentage Of 4XX | Percent | Total | The percentage of CDN requests that resulted in 4XX client error responses |
| azure_web_staticsites_CdnPercentageOf5XX | CdnPercentageOf5XX | Cdn Percentage Of 5XX | Percent | Total | The percentage of CDN requests that resulted in 5XX server error responses |
| azure_web_staticsites_CdnRequestCount | CdnRequestCount | Cdn Request Count | Count | Total | The total number of requests served by the CDN for the static web app |
| azure_web_staticsites_CdnResponseSize | CdnResponseSize | Cdn Response Size | Bytes | Total | The total size of responses delivered by the CDN |
| azure_web_staticsites_CdnTotalLatency | CdnTotalLatency | Cdn Total Latency | MilliSeconds | Total | The total time taken by the CDN to process and deliver requests |
| azure_web_staticsites_DataApiErrors | DataApiErrors | Data Api Errors | Count | Total | The total number of failed requests to the Data API |
| azure_web_staticsites_DataApiHits | DataApiHits | Data Api Hits | Count | Total | The total number of successful requests to the Data API |
| azure_web_staticsites_FunctionErrors | FunctionErrors | Function Errors | Count | Total | The total number of failed Azure Functions executions |
| azure_web_staticsites_FunctionHits | FunctionHits | Function Hits | Count | Total | The total number of successful Azure Functions executions |
| azure_web_staticsites_SiteErrors | SiteErrors | Site Errors | Count | Total | The total number of failed requests to the static web app |
| azure_web_staticsites_SiteHits | SiteHits | Site Hits | Count | Total | The total number of successful requests to the static web app |