Skip to content

Remaining telemetry instrumentation#412

Merged
robinaugh merged 9 commits intomainfrom
jason/rwx-46-remaining-telemetry
Mar 11, 2026
Merged

Remaining telemetry instrumentation#412
robinaugh merged 9 commits intomainfrom
jason/rwx-46-remaining-telemetry

Conversation

@robinaugh
Copy link
Contributor

Summary

  • Adds telemetry events for authentication, image operations, artifact/log downloads, package operations, and linting
  • Refactors lint command to go through the service layer (first commit) to enable telemetry instrumentation

Events added

Event Props
auth.login success, duration_ms
image.push compression, duration_ms, success
image.build duration_ms, success
image.pull duration_ms, success
artifacts.download count, total_bytes, duration_ms, auto_extract
logs.download duration_ms, auto_extract
packages.resolve package_count
packages.update package_count
lint.run file_count, error_count, warning_count, fix

Deviations from spec

  • logs.download: Skipped total_bytes — size not available from the API response
  • packages.update: Skipped major_allowed — already captured at command level via cli.command flags

Test plan

  • Unit tests for all new telemetry events
  • Verify events appear in telemetry payload during manual CLI usage

@robinaugh robinaugh self-assigned this Mar 11, 2026
@robinaugh robinaugh marked this pull request as ready for review March 11, 2026 13:56
@robinaugh robinaugh merged commit 1608852 into main Mar 11, 2026
1 check passed
@robinaugh robinaugh deleted the jason/rwx-46-remaining-telemetry branch March 11, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants