Claude Code Open Telemetry Direct Setup Integration
This document outlines the configuration required to push settings to all developers via the Claude admin console.
Before You Begin
Prerequisites
- Requires a Claude for Teams or Enterprise plan and an Owner or Primary Owner role. You must get your org key from TargetBoard.
- Go to claude.ai → Admin Settings → Claude Code → Managed settings
- Copy the following code block and edit accordingly:
- Replace <org key> with your organization key provided by TargetBoard
- Replace <org name> with your company name
- Paste the edited code into the managed settings text
- Click on update settings
- The settings are pushed automatically to all developers in your organization
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY":"1",
"OTEL_LOG_TOOL_DETAILS": "1",
"OTEL_EXPORTER_OTLP_ENDPOINT":"https://otel.targetboard.ai/otlp",
"OTEL_EXPORTER_OTLP_HEADERS":"x-tb-otel-key=<org key>",
"OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE":"cumulative",
"OTEL_EXPORTER_OTLP_PROTOCOL":"http/protobuf",
"OTEL_LOGS_EXPORTER":"otlp",
"OTEL_METRICS_EXPORTER":"otlp",
"OTEL_RESOURCE_ATTRIBUTES":"organization.name=<org name>",
"OTEL_TRACES_EXPORTER":"otlp"
}
}