Database Fleet Triage on ADX Without Grafana Enterprise or Fabric F64

Grafana's Azure Data Explorer plugin requires an Enterprise license, and Fabric gates free viewers below F64. We built a driver-free web binary that renders fleet triage dashboards and .sqlplan diffs directly over read-only ADX and Blob Storage.

Azure Data Explorer (ADX) is one of my favorite bargains in cloud infrastructure for database telemetry. A small cluster ingests millions of wait, session, and query-interval rows without breaking a sweat, and KQL makes ad-hoc slicing fast.

The catch hits when you want 30 backend engineers to view dashboards without writing KQL.

Teams usually walk into one of two licensing walls:

  • The Grafana ADX tax. Open-source Grafana ships in Kubernetes everywhere, right up until you install the Azure Data Explorer datasource plugin and discover it is gated behind Grafana Enterprise or paid Grafana Cloud seats.
  • The Fabric viewer cliff. As I broke down in Microsoft Database Hub vs. Culprit + ADX, sharing custom Fabric dashboards across an org without an F64 capacity (~$8,400/month PAYG) requires a Power BI Pro license for every developer who opens a link.

Even if you pay for either one, neither Grafana nor Power BI knows how to render a 2 MB .sqlplan operator tree or diff two execution plans side by side.

What an estate triage screen actually needs to answer

When someone opens a fleet view during a slowdown, they are not looking for forty sparklines of buffer cache hit ratio. They want four answers in ten seconds:

  1. Which databases have an active incident right now? (blocking chain, deadlock loop, memory-grant queue, worker starvation, log-rate governance)
  2. Did a recent deploy or statistics refresh flip an execution plan? (CulpritChangesV1 regressions)
  3. Is an Elastic Pool or Managed Instance suffering from a noisy neighbor? (shared-compute grouping attested by native metadata)
  4. Are any collectors stale or missing permissions? (collector_failing / partial vs genuinely quiet)

We built WarehouseFleetReader over <Prefix>FleetSummary in both ADX and ClickHouse, and surfaced it as the top-level Estate Triage grid inside Culprit’s Archives view. Filter chips (Needs attention, Incidents, Changes & regressions, High findings, Collector health, By Elastic Pool / Instance) and / + j/k keyboard navigation work identically in the desktop app and in the browser:

culprit-archive-web Estate Triage · Grouped by Elastic Pool / Instance (read-only ADX)
0 DB drivers compiled
Culprit Web Archive Estate Triage dashboard grouped by Elastic Pool, Standalone databases, and Managed Instance over read-only Azure Data Explorer Culprit Web Archive Estate Triage dashboard grouped by Elastic Pool, Standalone databases, and Managed Instance over read-only Azure Data Explorer
culprit-archive-web rendering <Prefix>FleetSummary from Azure Data Explorer: toggling By Elastic Pool / Instance isolates tenant-analytics and billing-prod inside pool-saas-prod alongside PostgreSQL RDS, Aurora MySQL, and SQL Managed Instance targets.

Drilling from an Elastic Pool spike into the exact plan flip

Suppose an Elastic Pool starts throttling writes and CPU climbs across six tenant databases. Grouping by By Elastic Pool / Instance immediately shows sibling databases waiting on RESOURCE_GOVERNOR inside pool-saas-prod while tenant-analytics accounts for the vCore jump.

Clicking into tenant-analytics in Archives pulls the sealed .sqlplan blobs from Azure Storage, verifies their SHA-256 digests against CulpritPublishedRangesV1, and opens the synchronized plan diff right in the browser:

Live .sqlplan diffClick any operator or switch Diagram / Tree
Open in Culprit Explain ↗
A DOP=4 pool scanvsB Covering index seek

57× fasterCovering index seek took 57× less time because it seeks ix_daily_api_events_billable_bucket where DOP=4 pool scan scans daily_api_events (93% of DOP=4 pool scan's cost).

  • Covering index seek uses Stream Aggregate where DOP=4 pool scan uses Hash Match.
  • Covering index seek has no Parallelism (DOP=4 pool scan has).
94.6
cost · DOP=4 pool scan
0.068
cost · Covering index seek
342 ms
time · DOP=4 pool scan
6 ms
time · Covering index seek
3 → 2
operators
0
identical regions
ADOP=4 pool scanSQL Server · actual
Actual plan3 operators · cost 94.680%
Measured run342 ms1.2 sCPU148Kreads · 2.4K from disk312rows
Where the 342 ms went
result
BCovering index seekSQL Server · actual
Actual plan2 operators · cost 0.06880%
Measured run6 ms6 msCPU38reads312rows
Where the 6 ms went
result
Live @culpritsql/plan-viewer diff: an unindexed usage rollup on usage.daily_api_events fanned out to DOP=4 (342 ms elapsed, 1,180 ms CPU across 4 threads, 148,200 logical reads), starving sibling databases in pool-saas-prod. Adding ix_daily_api_events_billable_bucket switches to a single-threaded Stream Aggregate + Index Seek (6 ms CPU, 38 logical reads).

Instead of pasting KQL query hashes into SSMS on a jumpbox, every engineer on the incident call can click the operator tree and see that an unindexed rollup on usage.daily_api_events fanned out to DOP = 4 (1,180 ms CPU across four workers and 148,200 logical reads), whereas a composite covering index drops it to a single-threaded Stream Aggregate + Index Seek (6 ms CPU, 38 reads).

Running culprit-archive-web behind Entra EasyAuth or OIDC

To share that exact UI across an engineering org with zero per-seat cost, we ship a tiny standalone binary: culprit-archive-web.

0 DB drivers dev/check-boundaries.py forbids TDS, Postgres, MySQL, and collector write crates
<= 100 rows/page Bounded warehouse pagination and per-request cancellation on navigation
OIDC header gate Refuses non-loopback binds unless an auth proxy header is enforced

Run it in Azure Container Apps, App Service (with Entra ID EasyAuth enabled), or Kubernetes behind oauth2-proxy:

culprit-archive-web \
  --config /etc/culprit/evidence-readonly.json \
  --name "Production Fleet" \
  --bind 0.0.0.0:8080 \
  --ui-dist /usr/share/culprit/ui \
  --require-auth-header X-MS-CLIENT-PRINCIPAL-ID

evidence-readonly.json holds only read-only ADX viewer and Blob reader profiles (Workload Identity or IAM role). It has no connections.toml and no credentials to any SQL Server, PostgreSQL, or MySQL instance.

If a user switches time windows mid-query or closes the browser tab, the HTTP handler cancels the underlying Kusto or S3 stream immediately via CollectionCancellation so stray tab clicks cannot pile up expensive warehouse scans.

Pair this viewer with AKS Helm auto-discovery for ingestion and culprit-notify for Slack/PagerDuty links that drop responders straight onto the affected resource window.