Skip to content
Platform Telemetry

Platform Telemetry

Bridge can report session activity and cluster health to your Britive tenant. Telemetry is disabled by default in v3.0.1 and later. Keep it disabled until your tenant supports telemetry ingestion. This page lists what an enabled deployment sends and the settings that control it.

What is sent

When telemetry is enabled, Bridge sends three kinds of event, outbound over HTTPS, from the single or orchestrator role only.

EventWhenWhat it carries
bridge.session.startedA recorded session is established.The session ID, protocol, access mode (native or browser), the Bridge username, the target (host and port, HTTP scope, or Kubernetes cluster and namespace), the client IP, and whether recording was requested.
bridge.session.endedThe session ends.The same identity, plus the end reason, the duration, the recording state, and a review link into Bridge.
bridge.cluster.snapshotEvery five minutes, and when state changes.The running Bridge version, the active-session count and totals by protocol, worker counts by role, the license state, and the configuration the deployment runs with: which protocols and login methods are enabled, and the recording and transport settings.

The snapshot describes configuration and excludes secrets, target hostnames, and recording content. Session events carry the username and target so the platform can show who connected where. An HTTP checkout with more than 64 approved patterns reports the first 64 and a flag that the scope was cut short.

Telemetry is separate from Bridge’s own activity index and recordings. Those stay local whether telemetry is on or off. A platform outage never blocks a session: events wait in PostgreSQL and Bridge retries them.

When it is active

Telemetry authenticates to the tenant with the same credential as the bundled Britive Broker. On the single or orchestrator role, set BRITIVE_BROKER_AUTH_TOKEN and the tenant, through server.auth.britive.tenant or BRITIVE_BROKER_TENANT_SUBDOMAIN. Session and proxy workers report through PostgreSQL and need no platform credential.

A broker token alone does not enable telemetry in v3.0.1 and later. Collection and delivery require server.telemetry.disabled: false, or BRIDGE_SERVER_TELEMETRY_DISABLED=false, and a publisher restart. The publisher is the single or orchestrator role. Without a broker token, Bridge collects nothing and sends nothing.

Existing configuration files or environment variables that explicitly set disabled to false continue to enable telemetry after an upgrade. Change them to true and restart the publisher to disable it. Bridge v3.0.0 used false as the default.

If telemetry is enabled before the tenant can accept it, events remain queued and the Admin console shows the delivery error. Disabling telemetry does not resolve platform ingestion errors.

Settings

Both settings live under server.telemetry. As with every setting, the environment variable is the path in upper case with BRIDGE_ in front.

SettingEnvironment variableDefaultDescription
server.telemetry.disabledBRIDGE_SERVER_TELEMETRY_DISABLEDtrue in v3.0.1+true stops collection and delivery and deletes pending telemetry when the publisher starts. Set false and restart the publisher to enable telemetry. Events from the disabled period are not replayed.
server.telemetry.review_base_urlBRIDGE_SERVER_TELEMETRY_REVIEW_BASE_URL""Bridge’s public HTTPS origin, for example https://bridge.example.com, with no path, query, or credentials. Session-end events use it to build the review link. While it is empty or invalid, session-end events wait and the Admin console reports the error. Sessions are unaffected.
bridge.yaml
server:
  telemetry:
    disabled: true
    review_base_url: https://bridge.example.com

Where the settings go, by deployment:

  • Single server. In bridge.yaml, or as environment variables on the bridge service in the Compose file.
  • AWS ECS. The template sets BRIDGE_SERVER_TELEMETRY_REVIEW_BASE_URL from the BridgeUrl parameter on every task. This does not enable telemetry. To opt in after your tenant supports it, set server.telemetry.disabled: false in a config file supplied through BridgeConfigSecretArn.
  • Kubernetes. Under config.extraConfig.server.telemetry in your Helm values. The shared configuration carries it to every role.

The configuration file and environment variables control collection. There is no switch in the Admin console or scheduled re-enable date. A change takes effect when the publisher restarts.

Check delivery

Open Telemetry in the Admin console, or call GET /api/admin/telemetry with an administrator session, to see the pending session-event count, whether a cluster report is waiting, the last acknowledgement from the platform, and the deployment ID. Each error has a plain-language explanation next to it. The two you are most likely to see:

  • Review origin missing or invalid. Set server.telemetry.review_base_url. Session-end events wait until it is valid.
  • Credential or binding rejected. The tenant refused the broker token or its pool assignment. Check the token and its platform assignment. Bridge keeps retrying.

Repair the review origin without a restart

If the public URL changed, or was empty at first start, store it directly:

terminal
britive-bridge --config /etc/britive-bridge/config.yaml --set-review-origin https://bridge.example.com

The command applies migrations, stores the origin, and exits without starting a listener. It also applies the configured server.telemetry.disabled setting, including environment overrides. Keep that setting true while ingestion is unavailable. Applying true disables telemetry and purges pending events. Applying false enables collection and delivery. When enabled, session-end events waiting for an origin can be delivered with the new one. Events already delivered are unchanged.

Last updated on