# Azure Service Bus, Event hub, event grid metrics not collected

**URL:** <https://discuss.elastic.co/t/azure-service-bus-event-hub-event-grid-metrics-not-collected/311836>\
**Category:** Elastic Observability\
**Created:** [August 10, 2022, 1:32pm UTC](https://discuss.elastic.co/t/azure-service-bus-event-hub-event-grid-metrics-not-collected/311836 "2022-08-10T13:32:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vithal\_wadje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vithal_wadje/32/109459_2.png) [@vithal\_wadje](https://discuss.elastic.co/u/vithal_wadje)\
**Post date:** [August 10, 2022, 1:32pm UTC](https://discuss.elastic.co/t/azure-service-bus-event-hub-event-grid-metrics-not-collected/311836/1 "2022-08-10T13:32:01Z")

</div>

Hi ,

We are using the Azure Resource Metrics collector integration and we were expecting to get the integration services metrics such as service bus, event hub, and event grid, but it seems it is not collecting.

Are service bus, event hub, and event grid metrics supported?

---

<div class="post-metadata">

**Author:** ![hemantmalik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hemantmalik/32/110320_2.png) [@hemantmalik](https://discuss.elastic.co/u/hemantmalik)\
**Post date:** [August 31, 2022, 10:04pm UTC](https://discuss.elastic.co/t/azure-service-bus-event-hub-event-grid-metrics-not-collected/311836/2 "2022-08-31T22:04:00Z")

</div>

Hi @vithal_wadje you can leverage resource\_query with monitor metricset to capture metrics for the Azure Services.

Below example from the documentation can be changed to target specific service and associated metrics. I have found Azure Resource Explorer helpful when working with these queries: [Resource Explorer (azure.com)](https://resources.azure.com/)

```
- resource_query: "resourceType eq 'Microsoft.DocumentDb/databaseAccounts'"
  metrics:
  - name: ["DataUsage", "DocumentCount", "DocumentQuota"]
    namespace: "Microsoft.DocumentDb/databaseAccounts"
    ignore_unsupported: true
    dimensions:
    - name: "DatabaseName"
      value: "*"

```

[Azure Monitor Metrics | Elastic docs](https://docs.elastic.co/integrations/azure_metrics/monitor)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:36am UTC](https://discuss.elastic.co/t/azure-service-bus-event-hub-event-grid-metrics-not-collected/311836/3 "2022-11-04T08:36:35Z")

</div>


