Claude Code and Cowork
Auditing of Claude Code and Cowork activity can be performed by the native Claude OpenTelemetry interface as well as Turngate's custom client side hook.
Last updated
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/json",
"OTEL_EXPORTER_OTLP_ENDPOINT": "https://collector.turngate.io",
"OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer tg_otel_<YOUR TOKEN HERE>",
"OTEL_METRIC_EXPORT_INTERVAL": "100000",
"OTEL_LOGS_EXPORT_INTERVAL": "30000",
"OTEL_LOG_USER_PROMPTS": "1",
"OTEL_LOG_TOOL_DETAILS": "1"
}
}