Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

pankar

Fabric Capacity Events in Real-Time Hub (Preview)

This highly requested feature is designed to give organizations real-time visibility and control over their Microsoft Fabric capacity resources to take the actions necessary to keep their capacities running.

Capacity overview events include two event types:

  • Capacity Summary: These events provide a high-level understanding of capacity, including helping administrators monitor overall health and utilization. These events are smoothed and emitted every 30 seconds.
  • Capacity State: These focus on the current state of the capacity (e.g., is it paused or is it overloaded due to throttling) and are emitted as events occur.

As part of this, there has been a community effort to build an accelerator that has out of the box templates, configurations, and other goodness to reduce time-to-value and maximize the impact of these features.

To learn more, refer to the following GitHub repo.

A_screenshot_from_a_real-time_dashboard_from_the_accelerator_showing_the_currentA_screenshot_from_a_real-time_dashboard_from_the_accelerator_showing_the_current

A real-time dashboard using the accelerator and capacity overview events

Example scenarios

With access to real-time capacity information through capacity overview events in Real-Time Hub, customers can monitor capacities and respond appropriately to events. This can be accomplished by utilizing Activator to take action or by leveraging Eventstream and Eventhouse to consume and process the data.

Architecture_diagram_illustrating_options_on_how_to_consume_Capacity_EventsArchitecture_diagram_illustrating_options_on_how_to_consume_Capacity_Events

Architecture options on how to consume Capacity Event

For instance, consider the following scenario:

'As a Capacity Administrator, I would like to receive a notification in Teams if the interactive delay capacity percentage approaches 95%'.

To implement this, users can simply navigate to the Real-Time Hub and configure an Activator to listen for events where the property 'interactiveDelayThresholdPercentage' exceeds 95. When this threshold is reached, the system will automatically send a message to the designated team.

Screenshot_of_the_add_rule_panel_for_Activator_to_add_an_event-based_ruleScreenshot_of_the_add_rule_panel_for_Activator_to_add_an_event-based_rule

Adding a rule with Activator

Let’s consider another scenario:

'As a Capacity Administrator, I want to extract, perform complex operations on, and store all events occurring within my capacity, while maintaining a comprehensive history of these events'.

In this case, an Eventstream would be configured to receive data from one or more capacities, subsequently storing the information in an Eventhouse for advanced analysis or long-term retention.

Flow_chart_style_visual_of_consuming_capacity_events_with_Eventstream_with_EventFlow_chart_style_visual_of_consuming_capacity_events_with_Eventstream_with_Event

Consuming events with Eventstream, with Eventhouse and custom endpoint as destinations

Getting Started

Follow this Introduction to Azure and Fabric events tutorial to get started. For complete details on the schema and event details, refer to Explore Fabric capacity overview events in Fabric Real-Time Hub documentation.

What's Next

Stay tuned for further improvements we are working on to provide you with more granular, transactional-level visibility into your capacity usage. We encourage you to share your suggestions and feedback at Fabric Ideas for the Real-Time Hub category and join the conversation on the Fabric Community.