feat(cli): replace HashiCorp telemetry with Sentry analytics#62
Draft
feat(cli): replace HashiCorp telemetry with Sentry analytics#62
Conversation
Define feature specification and research for GitHub Issue #48. Migrate usage telemetry from HashiCorp's checkpoint-api to Sentry custom metrics, with independent consent flags and CHECKPOINT_DISABLE backward compatibility. Closes task tracking for 001-cdktn-package-rename (rename complete). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BREAKING: Major restructuring of project principles. - Remove "Community Alignment" (process gate in specledger.io, not artifact principle) - Merge "API Consistency" + "Cross-Language Parity" into "IV. Cross-Language Consistency" - Add "VIII. Quickstart-Driven Testing" principle - Renumber remaining principles (VI→V, VII→VI, IX→VII) - Update amendment procedure to gate through specledger.io spec approval Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2390a28 to
3d67163
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
checkpoint-api.hashicorp.comsendUsageTelemetryconfig flag alongside existingsendCrashReports, withCHECKPOINT_DISABLEenv var preserved as backward-compatible overrideKey decisions
@sentry/node@7.120.4already supportsSentry.metrics.increment()etc.sendCrashReports(crashes) +sendUsageTelemetry(analytics) incdktf.jsonCHECKPOINT_DISABLEpreserved: Overrides usage telemetry, no CI workflow changes needed (14 locations)Test plan
/specledger.planfor implementation planningResolves #48
🤖 Generated with Claude Code