Data Observability

ML Over Profiling

Learn how Blindata forecasts profiling metrics and computes the expected range used for anomaly detection.

For every metric with anomaly detection enabled, Blindata keeps an expected range: a lower and an upper bound for the metric’s next records. A record inside the range is normal; a record outside is an anomaly, and the anomalies of one upload are grouped into an incident.

The range is not a fixed threshold. It is learned from that metric’s own history, by the forecasting service that runs next to Blindata: no data from other metrics or other customers is used, and the values never leave your installation. A row count that drops every weekend gets a range that drops every weekend; a metric that never changes gets a range that flags any change.

Figure 1

Figure 1. The six steps that turn a metric’s history into its expected range.

The steps are explained in How Anomaly Detection Works .

When a Forecast Is Computed

Each new record is first checked against the range computed before it arrived, and then a new forecast is computed that already includes it, so the next record is checked against a range that knows about this one:

Figure 2

Figure 2. Blindata checks each record against the stored range, then asks the forecasting service for a new one. The service keeps nothing between requests: every range is rebuilt from the latest 1,000 records it receives.

A new forecast of a metric is requested:

  • after each upload of records (by the Blindata Agent or a CSV import), once per metric, after all the uploaded records have been checked;
  • when you refresh the forecast manually (see Refresh a Forecast ).

Nothing else triggers a forecast: changing the settings or classifying an anomaly takes effect at the next upload or manual refresh.

A record is checked against the range at its exact time, or, when it falls between two forecast points, against a straight-line blend of the two. A record after the last forecast point is not checked (see Forecast Length ).

Records classified as Anomaly are left out of the history used for forecasting. Records classified as False Positive are kept and widen the range on their side (see Classify Incidents and Anomalies ).

What the Forecasting Service Receives

What Blindata sends to the forecasting service, for each metric:

  • the latest 1,000 records (records you classified as Anomaly are left out);
  • the metric’s settings and its type (row count, null percentage, …);
  • the times of the records you classified as False Positive in the last 90 days.

Two settings matter most:

  • Sensitivity decides how many normal records may fall outside the range: at Medium (the default), about 3 in 1,000.
  • Frequency decides the time grid (hourly, daily, …). On Automatic (the default) it follows the records.

In This Chapter

In this section