Skip to main content
Uplink reports its health in three places: the Uplink section of the dashboard, the admin port on its host, and its logs.

Before you begin

  • View Uplink Instances to see the Uplink section of the dashboard.
  • Manage Uplink Instances to remove an instance.
See Default roles for the roles that include them.

In the dashboard

Uplink sends a health report to Agent Golf every 60 seconds by default. The Uplink section of the sidebar lists each uplink instance of your workspace. Each instance page shows its Health, Last Report, version, Capacity, and Raw Metrics. Agent Golf sees Uplink only through these reports and never connects to it. The reports carry health metrics, the host name, and the version of the instance. They never carry credentials, tokens, keys, or session content. With UPLINK_METRICS_PUSH=false, Uplink sends no reports, and the Uplink section shows no data for the instance.

On the host

The admin listener serves these paths. It binds 127.0.0.1:4319 by default. For its binds in Docker and Kubernetes, see Network. The admin listener has no authentication. See Secure the admin listener. Uplink opens it only after Agent Golf accepts its Uplink key, so it does not answer while Uplink waits for a key. Useful metrics on /metrics:

Alerts

Uplink deletes each raw batch after it processes it. Uplink also deletes a raw batch that it did not process in 48 hours. At the byte limit of the backlog, it deletes the oldest raw batches. Agent Golf cannot make session data from a deleted batch, so set an alert. Alert when Uplink is more than 6 hours behind on raw data. For example, in Prometheus:
Uplink counts the raw batches that it deleted before it processed them. It does not serve this count on /metrics. It sends the count with its health reports, and the instance page shows it under Raw Metrics: the counter whose name ends in consumer_limit_skipped_messages_total, with the labels stream="otlp_raw" and consumer="agent_session_normalization". Any increase means lost raw data. For the limits, see Storage.

Logs

Uplink writes JSON log lines to standard error. Read them with journalctl -u uplink, docker logs uplink, or kubectl --namespace uplink logs uplink-0 -c uplink. Uplink never logs tokens, keys, or session content. Set the level with UPLINK_LOG_LEVEL and RUST_LOG. See Health reports, logs, and traces. For the log messages that need action, see Troubleshoot Uplink.

Send logs and traces to your collector

Uplink can export its own logs and traces to your OTLP collector with the standard OpenTelemetry variables. Uplink supports only http/protobuf.
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT and OTEL_EXPORTER_OTLP_TRACES_ENDPOINT set one signal each. OTEL_LOGS_EXPORTER=none turns off the log export. For a collector that needs authentication or a private CA, Uplink also reads the standard exporter variables: Each variable also has a _LOGS_ and a _TRACES_ form, for example OTEL_EXPORTER_OTLP_LOGS_HEADERS, that sets one signal.
Never point the endpoint variables at the OTLP listener of the same uplink instance. Uplink does not start, because it would ingest its own telemetry.

Remove an instance

Remove an instance that you retired, so that the dashboard stops showing it.
  1. Open the instance page in the Uplink section of the dashboard.
  2. Select Remove.
  3. Read the confirmation, and select Remove again.
After the removal:
  • The dashboard no longer shows the instance and can no longer show session content through it.
  • Agent Golf refuses the sessions and health reports of the instance, but not all of its data, so also stop Uplink on its host.
  • The sessions that the instance sent stay in Agent Golf.
  • The Uplink key stays valid for other uplink instances that use it. When no uplink instance uses the key, revoke it in Settings > Uplink > Self-Hosted.
You cannot undo a removal. To use the host again, install Uplink with a new state directory. It then shows as a new instance. You cannot remove the Cloud Uplink instance. To stop it, turn off Cloud Uplink.