cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

runatyr
Organizer

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

 

 

 

 

In Dynatrace

Dyantrace_list.PNG

 

3 REPLIES 3

kayjayeff1
Participant

@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

 

 

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?

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.

Featured Posts