THR1029 · Theater

Monitoring without polling: Real-time, change-driven monitoring

  • Thursday 19 November
  • 26 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 300
  • Worth watching: 1/3

Speakers: Allen Jones

Watch on Microsoft’s site from 02:12

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Allen Jones from Azure Incubations presents Drasi, an open-source CNCF Sandbox project for change-driven applications, applied to observability. He explains its architecture: sources, continuous queries in openCypher/GQL over a virtual graph that emit diffs only when results change, and reactions that push those diffs to tools such as Prometheus or Mattermost. A live demo joins OpenTelemetry metrics with configuration data for AI workloads under EU compliance limits, detects SLO violations through a non-event query extension, and uses experimental continuous policy (Rego) and continuous optimization to plan failover. The session ends with a simulated regional failure and a human-approved failover in a chat channel, plus deployment options (Rust library, Drasi Server, Kubernetes). It has no connection to Microsoft 365 Copilot.

Best for: SRE, platform and observability engineers who want event-driven alerting and self-healing built on open-source tooling, not Copilot specialists.

Session timeline by chapter

New material starts at 02:12. After a short speaker and dashboard intro, the architecture deep dive on sources, continuous queries, reactions and continuous models starts at 02:12.

Where to skip: Start at 02:12 for the architecture, skip the pain-points recap at 07:14, then watch the demo from 09:08. The non-event SLO detection at 13:53 and the continuous policy and planner demo at 16:25 are the core. Watch the failover at 18:49 if you want to see the end-to-end flow. Skip the recap at 22:11, though the deployment options at 23:33 are useful.

Chapters (10)

  1. 00:00 Recap Depth 100 · Novelty 0/3

    Speaker intro: Drasi, a CNCF Sandbox project, and the live Grafana demo dashboard

    Allen Jones from the Azure Incubations team introduces Drasi, an open-source platform for building change-driven applications. It was open sourced in October 2024 and became a CNCF Sandbox project in January 2025. The talk focuses on observability, and he shows the live, locally running Grafana dashboard used throughout the session: standard OpenTelemetry/Prometheus metrics at the top and higher-level, context-rich guidance at the bottom.

  2. 02:12 Deep dive Depth 300 · Novelty 2/3

    Drasi architecture: sources, continuous queries, reactions and experimental continuous models

    Jones contrasts polling and stream processing with Drasi's declarative approach: you state a question as a continuous query and Drasi keeps the answer current on every change, notifying only when the result changes. The three core concepts are sources, continuous queries written in openCypher or GQL across one virtual graph (Drasi handles joins, indexing, storage and diffing, and emits added/removed/updated results), and reactions that push those diffs to systems such as Slack, Teams or a database. Everything is configuration-based, with no code needed if the sources and reactions exist. He also describes an experiment that extends the idea to continuous models, such as continuous policy and continuous optimization, which sits in a 'coming soon' branch.

  3. 07:14 Recap Depth 100 · Novelty 0/3

    Observability pain points and where Drasi fits: rich context over raw telemetry

    Jones lists common observability complaints: too much data, too many tools, too much noise and cost. Teams see symptoms rather than causes, and incidents often start with a customer call while an on-call engineer pieces data together manually. What people want is telemetry, policy, change management and application data combined to show who is affected, what changed and what to do. Drasi is not unique here but can help integrate disparate sources quickly.

  4. 09:08 Demo Depth 300 · Novelty 1/3

    Demo: deployment health and workload status queries joining OpenTelemetry with config data

    The demo scenario: a customer-support AI workload with a 15-second response SLO and a document-summarization workload, both restricted to Europe by compliance, with no spare EU capacity and new capacity coming online in the US. The stack uses OpenTelemetry, Prometheus, Grafana, Langfuse, Mattermost and Postgres. Two Drasi sources (OpenTelemetry and the service configuration database) feed a Cypher deployment-health query that joins the two through a synthetic join, and that query feeds a richer workload-status query that also uses route and policy data. A Prometheus reaction exposes the results as metrics; when a record for the new US deployment is written to the config database, it appears in the Grafana panel immediately.

  5. 13:53 Deep dive Depth 300 · Novelty 1/3

    SLO violation detection with Drasi's non-event (delayed re-evaluation) query extension

    The 15-second SLO tile is backed by a source that captures incoming calls written to a database, plus a continuous query that finds calls not resolved within 15 seconds. Results go to both the Prometheus reaction and an incident-channel reaction that posts to Mattermost. The query uses a Drasi extension to the query language that re-evaluates a result later and includes it only if the condition is still true, so Drasi can react when something does not happen. Jones presents this out-of-the-box non-event detection as a differentiator that needs no extra configuration.

  6. 16:25 Demo Depth 300 · Novelty 2/3

    Demo: continuous policy (Rego) and continuous planner for failover readiness

    Two dashboard tiles provide guidance from a continuous policy component, which uses the Rego language and an evaluator, and a planner that performs continuous optimization with a Rust crate, taking source inputs and the policy output. At first they show there is no plan if EUA is lost, because policy forbids running in the US. When compliance allows summarization (but not customer calls) to run in the US, the change is written to a database, picked up by Drasi, and the recommendations and failover readiness update immediately to show the system would survive losing any one deployment.

  7. 18:49 Demo Depth 200 · Novelty 1/3

    Demo: EUA region failure, Mattermost approval card with human in the loop, recovery

    Jones simulates a failure of the EUA deployment that hosts customer-call processing. Standard telemetry shows error rates and queues rising, and Drasi recommends moving summaries to USC and support to EUB. Because on-call engineers work in chat channels, the incident-channel reaction creates a Mattermost card asking for approval, which keeps a human in the loop; the card and the scripts it launches are Mattermost, not Drasi. After approval the workloads move and the dashboard warns that EUA has failed. When EUA is restored, errors drop and Drasi recommends moving the workloads back.

  8. 22:11 Recap Depth 100 · Novelty 0/3

    Recap: rich-context integration, non-event detection and domain-agnostic use

    Jones sums up the demo: Drasi integrates telemetry and configuration data and makes results available the moment changes happen, in tools teams already use instead of adding new interfaces. It detects what did not happen, blends policy and optimization with compliance data, and proposes timely actions. He notes that Drasi is domain-agnostic and has been used in automotive, healthcare and retail.

  9. 23:33 Deep dive Depth 200 · Novelty 1/3

    Drasi deployment options (library, Drasi Server, Kubernetes) and plugin extensibility

    Drasi can run as a library written in Rust, with Node.js, Python and .NET wrappers for embedding in applications. It can also run as a service through Drasi Server, which hosts the library as a container or a process and is configured entirely through configuration, or on Kubernetes for scale. Almost everything, including sources, reactions, continuous queries and continuous models, is an open-source plugin, with tutorials and AI tooling that can generate sources and reactions. The speaker says he has not handwritten a source or reaction for many months.

  10. 25:00 Closing Depth 100 · Novelty 0/3

    Closing: drasi.io documentation, GitHub, demo code and session survey

    Jones points to drasi.io for documentation and to the project on GitHub. The demo code will be published at a better location so attendees can run it themselves, and he asks for feedback through the session survey.

Announcements (3)

  • 06:18 not stated Drasi

    Drasi continuous models

    Extends the continuous query concept to general models whose state is kept up to date on every change, with state changes emitted as diffs to reactions.

    Speaker’s quote (at 06:18)
    „something that we're now moving into for an experiment is can we take that idea of a continuous query and think more about just models in general“
  • 06:45 roadmap Drasi

    Drasi continuous policy

    A continuous model component that evaluates policy continuously within Drasi as data changes.

    Speaker’s quote (at 06:45)
    „continuous policy or continuous optimization happening within these components within Drassy. So we're going to show some of that today. And this is in a sort of coming soon branch“
  • 06:45 roadmap Drasi

    Drasi continuous optimization

    A continuous model component that performs ongoing optimization (planning) inside Drasi as the inputs change.

    Speaker’s quote (at 06:45)
    „continuous policy or continuous optimization happening within these components within Drassy. So we're going to show some of that today. And this is in a sort of coming soon branch“

Demos (3)

  • 09:08 Not stated Drasi

    Show live deployment and workload health in Grafana by joining OpenTelemetry metrics with service configuration records, for SRE/operations teams running AI workloads.

    Steps (7)
    1. Run the OpenTelemetry, Prometheus and Grafana stack with the simulated AI workloads locally.
    2. Configure a Drasi source for OpenTelemetry data and a source for the service configuration database.
    3. Define the 'deployment health' continuous query in Cypher, whose MATCH clause joins service records with metrics through a Drasi synthetic join.
    4. Define the 'workload status' continuous query that combines deployment health with workload route data and policy data.
    5. Attach a Prometheus reaction to both queries so that result changes are exposed as metrics for Prometheus to scrape.
    6. Display the metrics in Grafana tiles for deployment status and workload status.
    7. Insert and activate a record for the new US deployment in the configuration database and observe it appear in the panel immediately.

    Prerequisites: Drasi with OpenTelemetry and database sources and the Prometheus reaction; Prometheus and Grafana; a service configuration database (Postgres). The demo code is to be published for self-run.

  • 16:25 Not easy to reproduce Drasi

    Continuously evaluate compliance policy and capacity to produce recommended actions and what-if failover readiness for operations teams.

    Steps (6)
    1. Feed the policy component and the planner from multiple Drasi sources (telemetry and database data).
    2. Configure the continuous policy model in Rego with an evaluator (for example, nothing may run in the US).
    3. Configure the planning engine (a Rust crate) to take the source inputs and the policy output and compute possible and impossible placements.
    4. Expose the current recommendation and the what-if failover readiness as metrics via Prometheus and show them in Grafana.
    5. Update the compliance policy record in the database to allow summarization, but not customer calls, in the US.
    6. Observe the recommended action and failover readiness tiles update immediately.

    Prerequisites: Drasi build from the 'coming soon' branch with continuous models (policy and planner); Rego policy; Prometheus and Grafana; a policy database.

  • 18:49 Not stated Drasi

    Detect a regional AI workload failure, propose a compliant failover plan and let an on-call engineer approve it in a chat channel.

    Steps (7)
    1. In the simulator, mark the EUA deployment as failed so that it stops producing data.
    2. Observe the top dashboard telemetry: support error rate and support queue length rise.
    3. Observe the Drasi recommendation tile: move summaries to USC and support to EUB.
    4. Open the Mattermost incident channel, where the incident-channel reaction has posted a card with the recommended action and an approval request.
    5. Approve the action on the card; Mattermost runs the scripts and confirms the approval.
    6. Verify in the dashboard that summaries now run on USC and that a warning says EUA has failed.
    7. Restore EUA in the simulator and observe errors drop and a recommendation to move the workloads back.

    Prerequisites: Drasi with the incident-channel reaction and continuous models from the 'coming soon' branch; Mattermost with cards and scripts; a workload simulator; Prometheus and Grafana.

Watch on Microsoft’s site: THR1029