MicroStrategy dashboards

For dashboard freshness SLOs

MicroStrategy dashboards with a freshness contract, an SLO and a status page analysts bookmark.

Data trust: the followed assets, all clear, and the data weather forecasting which will miss its freshness SLA.Data trust: the followed assets, all clear, and the data weather forecasting which will miss its freshness SLA.

Today

  • An analyst cannot tell whether last night's load reached the dashboard.
  • The data team finds out when someone asks.
  • Nobody wrote down how fresh it should be.

With Nistor

  • Dashboards as monitored assets, with a freshness SLO and an error budget.
  • Health groups that turn red when something upstream breaks.
  • A status page the team can check.

Your first week. One step a day; the quickstart has the commands.

  1. Day 1

    Discover the dashboards

    An image with the MicroStrategy SDK extra, which discovery needs.

  2. Day 2

    Monitor the ones that matter

    Each as a Data Trust asset, with how fresh it must be.

  3. Day 3

    Gather them

    A health group for the team that reads them.

  4. Day 4

    Share the status page

    Under Data Trust, Status, after a freshness contract.

The commands for each day are in the quickstart →

Details. How each part works, in more depth.

The MicroStrategy tool discovers cubes, reports, dashboards and schedules, and links them to the tables they read. A dashboard takes the datasets it uses. A cube takes the BigQuery and SAP HANA tables its SQL view reads. Discovery needs the MicroStrategy SDK, mstrio-py. Its licence is proprietary, so the public image leaves it out: add the sdk extra in an image you build yourself, and keep that image private. A cube's freshness comes from its last update time.

A target for each dashboard

A monitored asset points at a node of the graph and says what you expect of it: how many hours old its data may get (24 by default), an optional delivery deadline with a grace, and an owner. Its health comes from runs and incidents, from the MicroStrategy API, or is set by hand. Every 30 minutes Nistor takes a health snapshot. An asset is critical when an incident is open on its node, its data is staler than the SLA, or its last run failed.

The SLO and its budget

Each asset has a freshness SLO: the share of time it should be fresh, over a rolling window. The default is 0.99 over 30 days. The error budget is the time it may be stale, 1% of the window at that target. At a burn rate of 1 the budget lasts exactly the window; above 1 it runs out early. By default a critical window fires when 2% of the budget burns in an hour, and a warning window when 5% burns in six hours. A burning window opens no incident by itself. With DELIVERY_SLO_INCIDENTS_ENABLED on, a sustained burn or a missed deadline opens one delivery_slo incident per asset. Data Weather fits a trend to 30 days of arrival times, and sends an alert from a 50% chance that the next load misses its deadline.

The page the analysts keep

A health group gathers the dashboards a team reads. Each member is watched alone or with the nodes upstream of it, so the group turns red when a table it depends on breaks. Its status page shows an overall level, the level of each asset, daily uptime, the open incidents and the unresolved breaches, over 90 days. Sharing it means sending its link to a colleague with datatrust:view, which every role template includes. All of this is open source: see Data Trust.

Contracts from the producer

A data contract states what assets promise, dimension by dimension. Freshness and schema are open source. Volume and quality are measured by the Data quality module of Nistor Enterprise. The ODCS tool imports contracts in the Open Data Contract Standard, version 3.1.0. An import creates a Data Trust contract and a monitored asset, and a latency SLA becomes the freshness target in hours. Contracts kept in a repository are pushed from CI and locked. Data Trust checks them every 30 minutes: a failing dimension opens a breach and an incident, and a recovery resolves them.

One dimension of a data contract as written: freshness, with its target, window and six-hour SLA.One dimension of a data contract as written: freshness, with its target, window and six-hour SLA.

See your platform as one graph, on your laptop. Explore the demo estate, or book a walkthrough on one like yours.