Skip to main content
omp exports OpenTelemetry traces, logs, and metrics through the standard OpenTelemetry environment variables.

Settings

The Harness Setup card on Settings > Uplink > Publishing Keys shows these settings. omp reads only environment variables, so agentgolf harness setup omp prints the same export lines and writes no file. Load them only in the shell that starts omp. See Keep the key out of shared shells and Set up with the CLI. To copy them by hand, replace:
  • <endpoint> with https://uplink.agent.golf for Cloud Uplink, or with the listener of your Self-Hosted Uplink instance, for example http://127.0.0.1:4318.
  • <publishing-key> with your personal publishing key. See Publishing keys.
  • Use http/protobuf. A Self-Hosted Uplink instance with its gRPC listener on also accepts grpc on port 4317. Cloud Uplink also accepts grpc at https://uplink.agent.golf. See Protocol.
  • Each per-signal endpoint includes the full signal path: /v1/logs, /v1/metrics, or /v1/traces.
  • omp sends no email or account ID of its user. Agent Golf links its sessions to you through your publishing key, as for every harness.
Keep the default service name and settings of omp. Leave OTEL_SERVICE_NAME unset.

Keep the key out of shared shells

The export lines hold your publishing key. Do not add them to a shell profile that every shell loads, for example ~/.bashrc or ~/.zshrc:
  • Each program that you start from such a shell gets the key.
  • The lines turn on content capture with OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT. GitHub Copilot reads the same variable, so a Copilot session that starts from that shell also captures content. See GitHub Copilot session content.
Save the export lines in a file that only you can read, for example ~/.config/agentgolf/omp.env. Then start omp in a subshell that loads the file:

Session content

By default, omp sends no message content, tool arguments, or tool results. OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true includes them. The settings above turn it on. Remove it where your policy does not allow the uplink instance to receive that content. With content capture off, Agent Golf links fewer sessions to pull requests automatically. See Session content.

Verify the setup

  • Start omp and send a prompt. Then do the checks in Verify the setup.
  • If Uplink receives no requests, confirm that the endpoint variables are set in the environment of omp, and that the protocol is http/protobuf.