Last active
February 18, 2026 01:38
-
-
Save dsfaccini/635c442def4ced4bf3d5956ce262120f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # you can add this to your ~/.zshrc | |
| alias claude-otel='CLAUDE_CODE_ENABLE_TELEMETRY=1 \ | |
| OTEL_METRICS_EXPORTER=otlp \ | |
| OTEL_LOGS_EXPORTER=otlp \ | |
| OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf \ | |
| OTEL_EXPORTER_OTLP_ENDPOINT=https://logfire-us.pydantic.dev \ | |
| OTEL_EXPORTER_OTLP_HEADERS="Authorization=pylf_v1_us_yourtoken" \ | |
| OTEL_LOG_USER_PROMPTS=1 \ | |
| OTEL_LOG_TOOL_DETAILS=1 \ | |
| claude' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment