How to get Metrics on each event hub topic level

Manas 20 Reputation points
2023-06-09T07:06:44.2933333+00:00

Hi,

We are using azure event hub and we need metrics on each topic level.

I saw that through monitor --> metric, its possible in whole name space level.

But couldn't find anything on topic level. Could you please help me finding metric in topic level ?

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
719 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
454 questions
0 comments No comments
{count} votes

Accepted answer
  1. navba-MSFT 27,540 Reputation points Microsoft Employee Moderator
    2023-06-10T05:35:37.5166667+00:00

    @Manas Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I see that your requirement is to fetch the metrics at the Topic level.

    Please note that, by default, there is no built-in metric at the Topic level. The same has been mentioned in the above comment too. Instead you can leverage the Splitting dimensions available at the metric to group and view the metrics at the Entity Level (EventHub level) as shown below:

    User's image

    More Info here.

    The EventHub metrics which have the dimensions of Operation Result and EntityName are explained here. If you don't add dimensions, metrics are specified at the namespace level.

    Entity NameName of the event hub. With the 'Incoming Requests' metric, the Entity Name dimension will see a value of '-NamespaceOnlyMetric-' in addition to all your Event Hubs. This represents request which were made at the namespace level. Examples include a request to list all Event Hubs under the namespace or requests to entities which failed authentication or authorization.Alternatively, You can enable either runtime audit logs or application metrics logs by selecting Diagnostic settings from the Monitoring section on the Event Hubs namespace page in Azure portal.

    User's image

    You can analyze the collected application metrics logs using the sample query shown here.

    If you have any follow-up questions on this, please let us know we would be happy to help.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 28,186 Reputation points MVP Volunteer Moderator
    2023-06-09T12:01:44.5833333+00:00

    Hi,

    Event Hub metrics does not offer data per topic. Some of the metrics available can be split by event hub instead of only looking at them at namespace by using EntityName dimension.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    3 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.