Monitoring metrics and logs
As with most services in Azure, IoT Hub uses Azure Monitor. Azure Monitor is a monitoring service provided by Microsoft Azure that enables you to collect and analyze telemetry data from your Azure resources and applications. It allows you to monitor the performance and availability of your applications, infrastructure, and network resources in real time and provides insights and alerts to help you troubleshoot issues and optimize performance.
Most services have a set of metrics used for monitoring and alerting that are tailored to them. For IoT Hub, these include:
- Cloud-to-device command metrics
- Cloud-to-device direct method metrics
- Cloud-to-device twin operations metrics
- Configurations metrics
- Daily quota metrics
- Device metrics
- Device telemetry metrics
- Device-to-cloud twin operations metrics
- Event Grid metrics
- Jobs metrics
- Routing metrics
- Twin query metrics
As you can see, there are quite a lot...