Service Bus Entity Metrics REST APIs
Windows Azure Service Bus collects usage telemetry for queues, topics, subscriptions, and notification hubs. You can access this data either through the Windows Azure Management Portal or by using the Service Bus RDFE APIs.
Service Bus collects data for messaging entities every 5 minutes. However, you can retrieve your metrics data within hourly and daily precision time windows.
Before using the Service Bus entity metrics REST APIs, you must obtain a management certificate and upload this certificate to your Windows Azure subscription. For more information, see How to Add a Management Certificate to a Windows Azure Subscription.
The Service Bus entity metrics APIs enable you to discover the data points supported for each messaging entity, and their rollup policy (aggregation as well as data retention), before you make a call to return the actual data. While each call returns a single data point in a given time granularity, you can use batching to bundle multiple queries into a single REST call.