Skip to content
GitHubLog inStart free
cetra is not released yet. These docs describe the development version.

Augment Code

Auggie, the command-line agent of Augment Code, has a bundled OpenTelemetry extension. This page shows the environment variables that turn it on and send its traces to cetra. It is setup only: it was not run, because Auggie needs an Augment login.

Auggie starts the extension only when telemetry is on and an OTLP endpoint is set. Set these variables in the shell where you start Auggie. Replace <CETRA_URL> with your server, and <SK_CETRA_KEY> with a key that has the ingest scope, from the project’s API keys page. The header value is percent-encoded, so the space after Bearer is %20:

Terminal window
export AUGGIE_ENABLE_TELEMETRY=1
export OTEL_EXPORTER_OTLP_ENDPOINT=<CETRA_URL>
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20<SK_CETRA_KEY>"

Run Auggie as usual. Its traces then go to cetra.

Message content is off by default. To send the prompts and the model’s messages on the spans, also set:

Terminal window
export OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true

OTEL_LOG_USER_PROMPTS is a separate switch. This page does not use it.

  • Not run. The variable names and the span attributes come from the extension’s bundled code, not from a trace recorded from Auggie.
  • The extension’s resource carries your email when AUGGIE_USER_EMAIL or AUGMENT_USER_EMAIL is set. Leave both unset if your email must not reach cetra.
  • The extension also sends logs and metrics. cetra accepts them and drops them.
  • Traces: read a trace as a tree and a timeline.
  • API keys: create the ingest key that Auggie sends.