05 Mar 2025 06:16 PM
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....
In Dynatrace
05 Mar 2025 06:22 PM - edited 05 Mar 2025 06:24 PM
@runatyr I needed something similar for Event Hubs. Not all metrics are transferred via the integration with Azure.
I use the following DQL to produce "Lag". See code below.
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
07 Mar 2025 12:54 PM
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?
07 Mar 2025 12:57 PM
No. In my use case, I wanted to be able to have a "lag" metrics in Dynatrace. 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.