0
votes

How do I calculate the incoming bytes per second for an event hub namespace?
I do not control the data producer and so cannot predict the incoming bytes upfront.
I am interested in adjusting the maximum throughput units I need, without using the auto-inflate feature.
1 TU provides 1 MB/s ingress & 2 MB/s egress, but the metrics are reported per minute, not per second.

Can I make a decision based on the sum/avg/max incoming bytes reported in the Azure portal?

2

2 Answers

1
votes

I believe you'll need to use Stream Analytics to query your stream and based on the query output change your TU on Event Hub.

You can also try to use Azure Monitor, but I believe it won't group per second as you need, so you'd better try the first option.

1
votes

Per second metrics cannot be reliable due to very nature of potential intermittent spikes at the traffic in and out. 1 minute averages are good to monitor and you can easily take action via a Logic App.

Check messaging metrics to monitor here - https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-metrics-azure-monitor#message-metrics