Data Gap Improvements

Selector Logo

Summary

Many data gaps (periods of unknown device reachability) seen in the current version (V1) of the Availability Report are not device outages. They are actually artifacts of “label churn”: a routine inventory update that changes a label, counts the availability time series restarts, and the records any missing coverage.

The new Availability Report (V2) design addresses these gaps in two ways. First, it narrows the availability identity to three fields (device name, device IP address, and site code), so inventory enrichment no longer breaks the series. Second, the new report also accurately reflects the reporting span for devices that are only partly in scope, so time before a device is added to the monitoring scope or after it is removed from it is no longer considered a gap.

Purpose Of This Document

This document has two goals:

  • Explain the data gaps in the current Availability Report version (V1).
  • Explain how the new Availability Report V2 design reduces those gaps.

Table of Contents

What is a Data Gap?

Why Data Gaps Occur in the Availability Report V1

Data Gap Improvements

How Reporting Time Is Measured

The Availability Report V2 Design

V1 vs V2 Column Mapping in the UI

What Is a Data Gap?

A data gap is a period inside the reporting window when the Selector software did not receive device reachability samples. During a data gap, the Selector platform cannot determine whether a device under monitoring is reachable or unreachable — coverage to determine that is simply missing.

A Data Gap Is NOT an Outage

The following table explains the differences between a true outage and a data gap.

EventSample StatusWhat the Interval Means
OutagePresentThe device was measured and found unreachable. Downtime is real and attributable.
Data GapAbsentReachability of devices during that interval is unknown.

Return to Table of Contents

Why Data Gaps Occur in the Availability Report V1

The following table lists six operational causes that account for data gaps in the current (V1) design.

CauseWhat Happens to Create a Data Gap
Device DecommissionedThe device is removed from monitoring - removed from the device / pingmesh inventory - mid period. The remainder of the fixed reporting window is treated as a data gap.
Device Newly AddedThe device starts being monitored mid-period: added to the device / pingmesh inventory. The time before coverage starts in the same reporting window is charged as a data gap.
Label / Identity ChangesEach availability series carries a large set of descriptive labels. When any of those labels change, the series can restart or split, and that transition is frequently recorded as a data gap.
Environmental FactorsShort network path or connectivity glitches between agents and devices. Maintenance or other change activity that may interrupt probing. (Environmental events are largely outside Selector application control.)
Pingmesh Agent(s) DownIf pingmesh agents probing devices stop reporting, corresponding devices show missing coverage—a data gap—until the agents recover. Some pingmesh agent issues could be caused by infrastructure issues outside of Selector control.
Pingmesh VM(s) DownIf virtual machine hosting pingmesh agents become unavailable due to host, power, or platform issues, coverage for corresponding devices drops. (Most VM availability issues are outside Selector control.)

Return to Table of Contents

Data Gap Improvements

Selector is always trying to minimize the impact of or eliminate data gaps altogether. Here are some features of the Availability Report V2. The following figure shows whether the cause is eliminated (Remediated) or had its impact reduced (Improved) with the Availability Report V2.

Data Gap Exmaple Causes

Identity Changes Are the Largest Single Data Gap Cause

In the current V1 design, each monitored series carries many descriptive labels — inventory and classification attributes alike. Common identity-related changes include:

  • Device name (hostname)
  • Management IP address
  • Site or other code
  • Priority, product type, vendor, model, location fields, and similar inventory attributes

Because V1 attaches a large label set to the availability series, routine inventory updates are a frequent source of data gaps.

Return to Table of Contents

How Reporting Time Is Measured

The Selector software follows a 30-minute cadence for reporting availability. Each row of the report covers one device for one 30-minute bucket, and every minute in that bucket resolves to one of four states, as shown in the following table.

FieldThe Minutes the Field Counts
uptimeResponses to probe present, so the device is reachable.
downtimeResponses to probe are not present, so the device is unreachable.
mw_timeThe part of the bucket is overlapped by a declared maintenance window.
data_gapNo probe data, so reachability is unknown.

Two time spans are derived from those states:

SpanDefinition
time_presentSampled coverage — approximately uptime + downtime, after maintenance window handling.
total_timeThe reporting span. In V1 this is always the full bucket. In V2 it can be shorter, when the device is only partly in scope.

available_percentage = uptime / time_present × 100, when time_present > 0.

In-scope window Only the portion of the bucket when the device is expected to be monitored. This is the term that lets V2 report a total_time shorter than 30 minutes.

The following figure shows the relationship between these terms in V1 and V2.

Data Gap Reporting Buckets

Return to Table of Contents

The Availability Report V2 Design

The new device availability design is Availability Report V2. Relative to the current V1 design, V2 focuses on the following features:

  • Fewer identity labels on the availability series.
  • Clearer in-scope handling for devices that are added or removed mid-interval.
  • Stronger separation of customer and operational views, including maintenance-aware ops columns.
  • Cleaner outage accounting across buckets and month boundaries.

Identity Labels in V1 Compared to V2

In both designs, continuous reporting depends on a stable device identity. If identity labels change mid-interval, the series can break and appear as a data gap. The versions are compared in various areas in the following table.

AreaCurrent V1 DesignV2 Design
Identity used for availability continuityBroad set of labels: hostname, IP, site, plus many inventory and classification fields.Narrow set: device name (hostname), device IP, site or other code.
Examples of extra V1 labelsAddress, city, state, country, continent, coordinates, vendor, model, device type, physical type, priority, product type, custom tool, RU flag, in-scope flag, tags, and similar.Not part of the V2 availability identity.
Effect of inventory-only updates (priority, product type, address, vendor)Often restarts the series, producing a data gap.Does not change V2 identity, so no gap arises from that label alone.
Effect of hostname / IP / Site or other code changeCan produce a data gap if the primary keys change.When primary keys for a device change, this is treated as a new device, so it’s not really a data gap.

Why This Matters for Data Gap

Most gaps in the current V1 design come from label churn: an inventory or classification field updates, the series identity changes, and the report records missing coverage. V2 reduces the label set to only the fields required to identify the device for availability, so that day-to-day inventory enrichment no longer breaks the series.

What V2 Remediates

The following table shows what data gap causes are mitigated in V2.

CauseStatus in V2Outcome
Device decommissioned — removed from the device / pingmesh inventoryRemediatedRemoval from inventory is what takes the device out of scope. Time after that point is not charged as a data gap; total_time can be less than 30 minutes.
Device newly added — added to the device / pingmesh inventoryRemediatedAddition to inventory is what brings the device into scope. Time before that point is not charged as a data gap; total_time can be less than 30 minutes.
Inventory / classification label changes — priority, product type, location, vendor, model and similar, but not hostname / IP / siteRemediatedThese are no longer part of the V2 identity, so they no longer create series breaks.
Hostname / IP / site changesImprovedCleaner hand-off handling. Brief holes during an incomplete transition in primary key change can still appear as a data gap. (In any database, primary keys should not change for a good design.)

What V2 Cannot Completely Eliminate, But Improves

V2 does not remove all data gaps. The following can still produce data gaps in V2, but the Selector software accounts for these data gaps in availability calculations.

CategoryExamples
Missing coverage due to environmental factorsPingmesh VM(s) down Agents stop probing due to software upgrades, and high resource consumption (CPU, memory) that can result in the process being killed. Agent hand-offs during partial outages.

Return to Table of Contents

V1 vs V2 Column Mapping in the UI

The reporting cadence for both V1 and V2 designs is typically 30 minutes per row, plus daily views.

Shared and Comparable Fields

The following table shows shared and comparable UI parameters for V1 and V2.

UI ConceptV1V2Notes
Reachable timeuptimeuptimeIn V2, planned maintenance time may be folded into customer uptime, so the percentage is not blank during a maintenance window.
Unreachable timedowntimedowntimeSamples present and device down.
Sampled coveragetime_presenttime_presentApproximately uptime + downtime, after maintenance window handling.
Planned maintenance durationmw_timemw_timeDeclared maintenance overlap with the bucket.
Reporting spantotal_timetotal_timeV1: usually the full bucket. V2: full bucket, or shorter when partially in scope.
Missing samplesdata_gapdata_gapSame meaning in both designs.
Availability % (customer, maintenance-aware)available_percentageavailable_percentageGenerally, uptime / time_present × 100 when time_present > 0.
Outage countoutagesoutagesDown episodes credited in the bucket. A transition from up to down marks the start of an outage.
Outage startoutage_start_timeoutage_start_timeDrilldown.
Outage endoutage_end_timeoutage_end_timeDrilldown. NA if the outage is ongoing.
Outage lengthoutage_durationoutage_durationDrilldown: end − start, when closed.

New V2-only Fields (Operational View)

V2 introduces new fields seen only in V2. These are detailed in the following table.

V2 ColumnMeaning
outages_in_mwOutages whose start falls inside a maintenance window.
ops_outagesUnplanned outages — approximately total outages − outages_in_mw.
ops_uptimeUptime outside a maintenance window.
ops_downtimeDowntime outside a maintenance window.
ops_time_presentops_uptime + ops_downtime.
ops_total_timeOps reporting span, including gap and maintenance sample handling as shown in the report.
ops_available_percentageops_uptime / ops_time_present × 100 when ops_time_present > 0; otherwise, 0.
mw_nameMaintenance window name(s) overlapping the bucket, when applicable.

Return to Table of Contents