I've been tasked at work with developing some operations scripts for monitoring service bus performance in a similar fashion to how we used to monitor RabbitMQ. I have after much searching, reached a point where I cannot find the answers to the following questions.
1. What does the AccessedAt property that exists withing the TopicDescription SubscriptionDescription and QueueDescription classes actually represent. The documentation simply states the obvious "The time at which the entity was last accessed" but in my own internal testing I've found that even when nothing is published to a Topic for a length of time, the accessed at property is still being updated, so I'd like to know more specifically what counts as "accessing" a topic. At this point I'm guessing even connecting via a TopicClient would count as accessing the topic even if nothing is published.
2. Is there some way, other than creating a duplicate subscription and measuring the message flow coming through a topic, to get the number of messages/minute going through a topic/subscription similar to the rate of flow metrics shown on the azure dashboard.
Thanks!