1 ファイル変更+4-2
この更新の概要
テレメトリデータにおけるservice.name属性にclaude-code-desktopという新しい識別子が導入されました。これにより、ターミナルセッションとClaude DesktopアプリのCodeタブ経由のセッションを区別して監視することが可能になります。service.version属性についても、Desktopアプリ経由の場合はアプリ自体のバージョンが記録されるよう変更されています。コレクターパイプラインやダッシュボードを利用している場合は、フィルタ条件に新しいサービス名を追加する必要があります。
テレメトリのservice.nameおよびservice.versionに、デスクトップアプリのCodeタブ経由で実行された際の識別ルールが追加されました。監視用フィルタにclaude-code-desktopを追加することを推奨する注意書きが追記されています。
@@ -1180,14 +1180,16 @@ For organizations requiring Daily/Weekly/Monthly Active User (DAU/WAU/MAU) metri
All metrics and events are exported with the following resource attributes:
- `service.name`: `claude-code`
- `service.version`: Current Claude Code version
- `service.name`: `claude-code` for terminal sessions, `claude-code-desktop` for sessions started from the Code tab in the [Claude Desktop app](/en/desktop)
- `service.version`: Current Claude Code version, or the Desktop app version for Code tab sessions
- `os.type`: Operating system type (for example, `linux`, `darwin`, `windows`)
- `os.version`: Operating system version string
- `host.arch`: Host architecture (for example, `amd64`, `arm64`)
- `wsl.version`: WSL version number (only present when running on Windows Subsystem for Linux)
- Meter Name: `com.anthropic.claude_code`
If your collector pipelines or dashboards filter on `service.name = claude-code`, add `claude-code-desktop` to the filter to also capture telemetry from Code tab sessions.
## ROI measurement resources
For a comprehensive guide on measuring return on investment for Claude Code, including telemetry setup, cost analysis, productivity metrics, and automated reporting, see the [Claude Code ROI Measurement Guide](https://github.com/anthropics/claude-code-monitoring-guide). This repository provides ready-to-use Docker Compose configurations, Prometheus and OpenTelemetry setups, and templates for generating productivity reports integrated with tools like Linear.