Telemetry · selected records and controls

Telemetry records and controls

Review what a selected Gostly deployment reports, which identity accompanies it and what turning off usage reporting changes before you install.

Updated 29 October 2026

Follow each record to its control and destination

Usage snapshots, dashboard totals, installation receipts and connected licensing are separate streams. Effective configuration determines the agent's reporting scope; a commercial plan name alone does not describe each emitted field.

Selected records, principal/direction, effective control and destination reference
StreamReported recordPrincipal / directionControlDestination / detail
Agent usage snapshotOperational fields, filtered numeric counters, permitted observations/settings, hashes and applicable installation/process IDs.Agent → configured usage ingest; keyed reports authenticate with the license key.Usage opt-out stops this shipper. Contents depend on effective telemetry configuration.Default: gostly.ai/v1/telemetry/ingestRead the field boundary
API dashboard usageCumulative counts of service creation, LEARN starts, transition starts and drift views; OS, architecture, tier, time and license hash.API → configured platform usage ingest; keyed reports use license-key authentication.Usage opt-out stops sending. Local counters remain. Daily by default, plus best-effort shutdown flush.API platform origin + /v1/telemetry/ingestRead the API field boundary
Usage aggregate lookupLicense hash in the query; returned count of distinct machine IDs seen in the past seven days.Selected agent scope → aggregate endpoint → snapshot. This GET has no raw-license-key header.Part of the usage shipper; usage opt-out stops the lookup.Default: gostly.ai/v1/telemetry/aggregateRead the identity boundary
Install-outcome receiptInstallation ID, build/version, stage, result, bounded reason, time and provenance; a separate receipt schema.Agent using online key validation → configured license-service base; raw-license-key header.Its producer skips opted-out or keyless reporting. A recognized Enterprise signed license file also suppresses this key-based receipt.Configured license serviceRead network requirements
Connected licensingOnline key validation uses the license credential, installation or API-instance identity, entitlement and seat checks. Validation records connecting IP and supplied machine ID.Agent/API using online key validation → configured license/platform services. Validation/features use the key in the body; seat checks use a header.Usage opt-out does not disable online licensing. A recognized Enterprise signed file suppresses license-validation, JWKS, seat and AI-proof requests.License / platform endpointsRead connected contacts

This map covers selected reporting and licensing paths. Application forwarding, chosen model providers, identity integrations and webhook delivery have separate controls; use the selected connection map for that review.

With an accepted Enterprise signed file on supported standard images, licensing is checked locally until the signed deadline. Preserve the existing license key unless the tenant is explicitly pinned. First installation requires a proxy restart; renewal is checked after traffic locks at the old expiry, with retries over a nominal 30 seconds. Traffic stays locked until a valid later-expiring, unexpired file is adopted. See Enterprise license-file setup for identity, first installation, renewal, expiry and invalid-file handling. This is separate from a no-Gostly-egress build; usage telemetry, upstream and integration calls, and initial download/registry contacts have separate controls.

Read the usage payload separately from its transport

Agent metadata and service milestones
Common fields are license_key_hash, agent_version, os, arch, tier, ts, counters, observations, per_service and settings. The wire tier is the resolved license label, not a separate scope field. Configuration selects an allowed field set. The legacy wire set and the Pro set have separate allowlists; Team, Enterprise and commercial self-host (self_host_commercial) use the Team set while retaining their license labels, unless narrowed to Minimal. License fallback can change the resolved label. These are technical reporting sets, not additional product offers. gostly_first_mock_recorded_total counts each service with a recordable LEARN exchange once per process, not every exchange. First-proxied and first-served counters are also service milestones. Agent counters restart with the process; they are not lifetime adoption counts.
API dashboard totals
The API report uses agent_version: api, common metadata and the resolved tier. It sends four durable cumulative counters: gostly_dashboard_service_created_total, gostly_dashboard_learn_started_total, gostly_dashboard_transition_started_total and gostly_dashboard_drift_viewed_total. Its observations, per-service and settings maps are empty; it has no installation or boot IDs. Reporting is daily by default, with configurable cadence and a best-effort shutdown flush. Every accepted license tier is eligible, but all-zero totals, an unknown tier or Minimal scope suppress the report. Starts and views do not establish completion.
License, installation and service identifiers
Periodic usage JSON carries a license hash; keyed POSTs separately authenticate with the raw key in X-License-Key. Keyed agent snapshots add boot_id and, when available, persisted instance_id; keyless reports omit both. Per-service keys use HMAC-SHA256(install secret, service_id). The random 32-byte secret stays at DATA_DIR/telemetry_service_secret with mode 0600 and is not sent; without a usable secret, no per-service map is sent. Keys remain linkable within the installation and are not anonymous under host or secret access. Moving from the prior hashing scheme changes the keys; replacing the secret changes them again. Per-service counts cover first-proxied/first-served milestones, not current mock inventory. The aggregate count measures installations seen within seven days, not verified people.
Traffic fields, IP and other local records
Periodic usage JSON has no captured request/response-body, full-URL, hostname, raw-service-name, captured-credential-header or IP-address field. Online key validation separately records the connecting IP and supplied machine ID; a recognized Enterprise signed file suppresses that validation request. The onboarding event to the configured local API can carry a raw service ID; local capture and replay copies have their own handling rules.
Activation attribution
Selected usage counters can produce organization-attributed activation events. Online key validation can also produce an activation event for a newly admitted installation, separately from the usage setting and optional install receipt. A recognized Enterprise signed file suppresses that online-validation path; usage-derived events remain separately controlled. A hash in the usage body does not prevent organization attribution.

Allowed agent field sets

The table lists allowed additions, not a promise that every name is present or nonzero. Each set includes the preceding set. Minimal can override any license label without changing that label.

Periodic agent usage JSON: allowed counters, observations and maps
Field setAllowed fields and limits
MinimalCounters: gostly_license_validate_success_total, gostly_license_validate_fail_total, ghost_io_errors_total, gostly_agent_boots_total, gostly_first_request_proxied_total, gostly_first_mock_served_total. Observations, per-service and settings maps are empty.
Legacy wire setMinimal plus counters gostly_first_mock_recorded_total, gostly_generation_success_total, gostly_generation_failure_total and ghost_inference_validate_repair_fallback_total; observation gostly_mock_fidelity_ms; boolean settings ENABLE_GENERATION, ENABLE_RAG and SMART_SWAP_ENABLED.
ProLegacy wire set plus allowed gostly_feature_gate_hit_total, gostly_per_service_mock_count and the per_service map. The feature-gate counter is currently not incremented. The per-service metric name does not imply a scalar is always present.
Team / Enterprise / commercial self-hostPro plus gostly_distinct_user_count, fetched through the aggregate endpoint: distinct installations seen over seven days, not verified people.

gostly_mock_fidelity_ms measures upstream latency, not response correctness. An approximately 60-second interval with retained recordable LEARN observations emits p50, p95 and max using nearest rank and lower-edge buckets: 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000 milliseconds. The 1 bucket includes values below 2; 5000 means at least 5000. No raw samples or sample count ship. The collector retains at most 1024 samples per interval, so the summary is not exhaustive at higher volume. Presence reveals LEARN activity and coarse timing.

Turn off usage reporting with its own setting

Set the exact value below in your .env, ensure the selected Compose file passes it into both ghost-proxy and ghost-web, then recreate both containers with the updated environment. Turning off reporting does not erase earlier records.

Usage reporting

Disable the usage shippers

The setting stops the agent and API usage shippers, the agent's aggregate lookup and its install-receipt producer. It does not erase local dashboard counters or stop their local collection.

Separate connections

Review what remains connected

Usage opt-out does not disable online key validation, entitlement or seat contacts and their records. A recognized Enterprise signed file independently replaces that licensing path with local verification; usage telemetry remains separately controlled. Neither setting governs the application's upstream calls, selected providers or integrations. API platform configuration and the agent's destination configuration are separate.

Narrow the field set

Keep only Minimal usage fields

Set GOSTLY_TELEMETRY_TIER=enterprise or GOSTLY_TELEMETRY_TIER=self_host_commercial in .env to narrow any installation to Minimal. This setting never widens reporting or renames the license tier. It also stops API dashboard uploads.

The dashboard and public download templates do not forward this setting; .env alone is insufficient. Add this environment mapping under both ghost-proxy and ghost-web, then recreate both. The quickstart Compose already forwards it; inspect the file you actually use.

GOSTLY_TELEMETRY_TIER: ${GOSTLY_TELEMETRY_TIER:-}
Local inspection

Inspect the last attempted payload

Open Settings → Status → Telemetry, use the installation guide's Full/Lite doctor command, or read telemetry_last_sent_agent.json and telemetry_last_sent_api.json under DATA_DIR.

These mode-0600 records are best-effort. They contain the payload, timestamp, destination without userinfo/query, and outcome: accepted or rejected with HTTP status, or not_delivered. Missing or stale records mean unknown, not proof nothing was sent. Doctor reads its own environment and local records, not each producer's live configuration or hosted retention.

Keep retention categories separate

Received usage snapshots
The usage-event cleanup targets received reports older than 90 days, with a daily cleanup task. This window applies to the usage-event records.
Other retained records
Install receipts, license/seat ledgers, local dashboard counters and organization-first milestones are separate records outside that cleanup. A seat no longer counting as active does not mean its ledger row was deleted.
Copies and hosted analytics
Deleted usage rows can remain in backups: automated backups expire separately, and pre-migration snapshots are kept until deleted. Hosted analytics records have separate retention. Deleting usage rows does not erase those copies or make remaining identifiers anonymous.

Telemetry is never sold or used for ad targeting; activation milestones are also sent to our product-analytics provider.

Stripe billing data, account data, and telemetry are stored in separate tables with separate access policies.

Read the Privacy Policy alongside your deployment's data and network requirements.

Resources

Match reporting controls to your deployment

Review network requirements

Match the installation's selected destinations to your deployment policy.

Read installation requirements

Review traffic and stored copies

Keep usage reports separate from capture, replay, imported files and chosen outputs.

Inspect the data flow

Follow the technical boundary

Read how usage reporting differs from local metrics and configured connections.

Read the telemetry boundary

Choose the settings before installation

Keep the selected records, authentication and destinations with your deployment review. Continue when those requirements fit the environment you operate.