the config should be like this:
# Claude Code OTEL Configuration
set -gx CLAUDE_CODE_ENABLE_TELEMETRY 1
set -gx OTEL_METRICS_EXPORTER otlp
set -gx OTEL_LOGS_EXPORTER otlp
set -gx OTEL_EXPORTER_OTLP_PROTOCOL grpc
set -gx OTEL_EXPORTER_OTLP_ENDPOINT "http://YOUR_SERVER_IP:4317"
set -gx OTEL_METRIC_EXPORT_INTERVAL 10000
set -gx OTEL_LOGS_EXPORT_INTERVAL 5000
set -gx OTEL_LOG_USER_PROMPTS 1
set -gx OTEL_METRICS_INCLUDE_SESSION_ID true
set -gx OTEL_METRICS_INCLUDE_VERSION true
set -gx OTEL_METRICS_INCLUDE_ACCOUNT_UUID true
set -gx OTEL_RESOURCE_ATTRIBUTES "user.name=leo,machine.name=macbook,team.id=shelltime"
with all features enabled. Please add the missing fields @claude
the config should be like this:
with all features enabled. Please add the missing fields @claude