No traces after adding the SDK
No traces after adding the SDK
Confirm that your application initializes Braintrust during startup and uses the tracer provider you registered with OpenTelemetry:Also confirm that
BRAINTRUST_API_KEY is set in the environment used to run the application.Provider calls are not auto-instrumented
Provider calls are not auto-instrumented
Auto-instrumentation only works when your app is built or run through Orchestrion. Use the same command path your team uses in development, CI, or production:If the app is run with plain
go run or go build, Orchestrion will not inject provider instrumentation.An integration package is missing
An integration package is missing
Make sure See SDK integrations for supported import paths.
orchestrion.tool.go imports the contrib package for the provider library your app uses, then run go mod tidy:#skip-compile
Traces are written to the wrong project
Traces are written to the wrong project
Pass the target project when creating the Braintrust client:
No traces from a short-lived program
No traces from a short-lived program
Short-lived programs can exit before spans are exported. Shut down the tracer provider before the process exits: