# Question about differences in Azure Service Bus (What is shows) and What Dynatrace see.

**URL:** <https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569>\
**Category:** Cloud platforms\
**Tags:** dynatrace-managed, azure\
**Created:** [March 5, 2025, 6:16pm UTC](https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569 "2025-03-05T18:16:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![runatyr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/runatyr/32/11396_2.png) [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Post date:** [March 5, 2025, 6:16pm UTC](https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569/1 "2025-03-05T18:16:22Z")

</div>

Hello:

We have recently started using Azure Service Busses.

When I look at the options for metrics in Azure directly. I have a larger list than is presented in Dynatrace?

**So for example… “Replication Lag Count”** shows up in Azure and not in Dynatrace Azure for Service Buss.

**How do I have Dynatrace display the same options?**

In Azure…

 ![Azure_List.PNG](https://global.discourse-cdn.com/dynatrace/original/3X/0/1/012083e4595b7e756eba264b75c43924581c5617.png)

**In Dynatrace**

 ![Dyantrace_list.PNG](https://global.discourse-cdn.com/dynatrace/original/3X/3/b/3b9b48abd00807a25e1c9fde763a9f0c464b4173.png)

---

<div class="post-metadata">

**Author:** ![kayjayeff1](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kayjayeff1](https://community.dynatrace.com/u/kayjayeff1)\
**Post date:** [March 5, 2025, 6:22pm UTC](https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569/2 "2025-03-05T18:22:09Z")

</div>

[@runatyr](https://community.dynatrace.com/user/29954)&nbsp;I needed something similar for Event Hubs.&nbsp; Not all metrics are transferred via the integration with Azure.

I use the following DQL to produce “Lag”.&nbsp; See code below.

```markup
timeseries { 
      sumOutMsgs=sum(dt.cloud.azure.event_hub.traffic.msg_out),
      sumInMsgs=sum(dt.cloud.azure.event_hub.traffic.msg_in) },
  by: { azure.location , azure.event_hub_namespace.name, azure.resource.name}
| fieldsAdd TotMsgsOut = arraysum(sumOutMsgs)
| fieldsAdd TotMsgsIn = arraySum(sumInMsgs)
| fieldsAdd TotMsgsDiff = TotMsgsIn - TotMsgsOut
| fields Location=azure.location, Namespace=azure.event_hub_namespace.name, EventHubs = azure.resource.name, TotMsgsDiff
| filter TotMsgsDiff > 0
| sort TotMsgsDiff desc

```

---

<div class="post-metadata">

**Author:** ![runatyr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/runatyr/32/11396_2.png) [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Post date:** [March 7, 2025, 12:54pm UTC](https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569/3 "2025-03-07T12:54:29Z")

</div>

Thank you kayjayeff1.

So..help me understand… will DQL be able to pull any of the metrics not automatically transferred via the integration with Azure?

---

<div class="post-metadata">

**Author:** ![kayjayeff1](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kayjayeff1](https://community.dynatrace.com/u/kayjayeff1)\
**Post date:** [March 7, 2025, 12:57pm UTC](https://community.dynatrace.com/t/question-about-differences-in-azure-service-bus-what-is-shows-and-what-dynatrace-see/50569/4 "2025-03-07T12:57:09Z")

</div>

No.&nbsp; In my use case, I wanted to be able to have a “lag” metrics in Dynatrace.&nbsp; This was not coming from the integration for Event Hubs, so I created my own version of “lag” with DQL.

I believe there are ways you could poll Azure Monitor to bring additional metrics into Dynatrace, but I have not explored that at all.
