Get Supported Metrics

This operation returns the list of supported metrics (data points) of a target Service Bus messaging entity.


Method Request URI
GET{subscription ID}/ services/servicebus/Namespaces/{Namespace}/<ResourcePath>/Metrics


Parameter Name Description
SubscriptionID The Azure subscription.
Namespace The Azure Service Bus namespace.
ResourcePath Path to the Service Bus entity.

Request Body

  • none


Response Codes

HTTP Code Condition
200 Successfully retrieved metric data.
401 Authorization failure. Returned when user does not have credentials to retrieve metric data. This could be due to suspended subscription.
404 Entity does not exist under this namespace.
500 Internal/unhandled exception.

Response Headers

Response Header Description
Content-Type application/xml; application/json

Response Body

  • If the entity exists

    • Requested Metric list
  • Else

    • None


The following example returns the data points (and units) that are available for MyNamespace/MyQueue: