Collect telemetry for air gap instances
This topic describes how to collect telemetry for instances in air gap environments.
Overview
Air gap instances run in environments without outbound internet access. This limitation prevents these instances from periodically sending telemetry to the Replicated Vendor Portal through the Replicated SDK or Replicated KOTS. For more information about how the Vendor Portal collects telemetry from online (internet-connected) instances, see About Instance and Event Data.
For air gap instances, Replicated KOTS and the Replicated SDK collect and store instance telemetry in a Kubernetes Secret in the customer environment. The Replicated SDK also stores any custom metrics within its Secret.
The telemetry and custom metrics stored in the Secret are collected when a support bundle is generated in the environment. When the support bundle is uploaded to the Vendor Portal, the telemetry and custom metrics are associated with the correct customer and instance ID, and the Vendor Portal updates the instance insights and event data accordingly.
The following diagram demonstrates how air gap telemetry is collected and stored by the Replicated SDK in a customer environment, and then shared to the Vendor Portal in a support bundle:
View a larger version of this image
All support bundles uploaded to the Vendor Portal from air gap customers contributes to a comprehensive dataset, providing parity in the telemetry for air gap and online instances. Replicated recommends collecting support bundles from air gap customers regularly to improve the completeness of the dataset. The appropriate frequency depends on how quickly telemetry reaches its storage limit, as described in Limitation. The Vendor Portal handles any overlapping event archives idempotently, ensuring data integrity.
Requirement
Air gap telemetry has the following requirements:
-
To collect telemetry from air gap instances, one of the following must be installed in the cluster where the instance is running:
-
The Replicated SDK installed in air gap mode. See Install the SDK in Air Gap Environments.
-
KOTS v1.92.1 or later
noteWhen both the Replicated SDK and KOTS v1.92.1 or later are installed in the cluster (such as when a Helm chart that includes the SDK is installed by KOTS), both collect and store instance telemetry in their own dedicated secret, subject to the size limitation noted below. In the case of any overlapping data points, the Vendor Portal will report these data points chronologically based on their timestamp.
-
-
To collect custom metrics from air gap instances, the Replicated SDK must installed in the cluster in air gap mode. See Install the SDK in Air Gap Environments.
For more information about custom metrics, see Configure Custom Metrics.
Replicated strongly recommends that all applications include the Replicated SDK because it enables access to both standard instance telemetry and custom metrics for air gap instances.
Limitation
Air gap telemetry is stored in Kubernetes Secrets in the customer environment. The Replicated SDK stores instance telemetry and custom metrics in separate Secrets. Retention limits depend on the component collecting the data:
- Replicated SDK versions earlier than 1.20.0: Each Secret is limited to 4,000 events or 1 MiB, whichever is reached first.
- Replicated SDK 1.20.0 and later: There is no event count limit. Each Secret is limited to 1 MiB.
- KOTS: Telemetry collected by KOTS is limited to 4,000 events or 1 MiB per Secret, whichever is reached first. In KOTS installations that include the SDK, data collected by the SDK, including all custom metrics, follows the SDK limits.
When a limit is reached, the oldest events are purged to make room for new data. With SDK versions earlier than 1.20.0 and with KOTS, the 4,000 event limit is typically reached first. With SDK 1.20.0 and later, retention depends on how much compressed data fits in 1 MiB, which varies with event size and reporting frequency. Data purged before an SDK upgrade cannot be recovered.
Collect support bundles often enough to capture telemetry before it is purged. Monthly or quarterly collection can be a starting point, but applications with larger or more frequent events might require more frequent collection. Even with SDK 1.20.0 or later, a year of history is retained only if the data fits within the size limit for that period.
Collect and view air gap telemetry
To collect telemetry from air gap instances:
-
Ask your customer to collect a support bundle. See Generate Support Bundles.
-
After receiving the support bundle from your customer, go to the Vendor Portal Customers, Customer Reporting, or Instance Details page and upload the support bundle:

The telemetry collected from the support bundle appears in the instance data shortly. Allow a few minutes for all data to be processed.