-
Notifications
You must be signed in to change notification settings - Fork 9
Add Anonymous Telemetry #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…e telemetry tracking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces anonymous telemetry tracking to Orra, allowing minimal usage data to be collected (in a privacy‐preserving way) with an opt-out option. Key changes include:
- Adding telemetry tracking events in various orchestration, service, and server lifecycle methods.
- Creating a new TelemetryService with methods to track events based on hashed IDs.
- Updating documentation, changelogs, and configuration to reflect telemetry data collection.
Reviewed Changes
Copilot reviewed 19 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
releases/... | Version and changelog updates for SDK, Plan Engine, and CLI |
planengine/types.go | Added TelemetrySvc field to PlanEngine structure |
planengine/telemetry.go | New TelemetryService implementation for event tracking |
planengine/orchestrate.go | Tracking telemetry events for orchestration failures and attempts |
planengine/main.go | Initialization of TelemetryService and client integration |
planengine/events.go | Definition of telemetry event constants |
planengine/engine.go | Added telemetry tracking in service registration, grounding, etc. |
planengine/compworker.go | Tracking telemetry events for compensation workers |
planengine/app_test.go | Updated tests to include telemetry service dependency |
docs/telemetry.md | Documentation describing telemetry functionality and opt-out |
README.md | README updates with telemetry information |
Files not reviewed (2)
- planengine/_env: Language not supported
- planengine/go.mod: Language not supported
Comments suppressed due to low confidence (1)
planengine/config.go:44
- [nitpick] Consider renaming 'AnonymouseIDFilename' to 'AnonymousIDFilename' to avoid potential confusion.
AnonymouseIDFilename = "orra.telemetry.uuid"
Updates
Orra now collects minimal, anonymous usage data to help improve the project.
Only hashed project and execution plan IDs are tracked-no personal data or IP addresses.
Telemetry is opt-out: set ANONYMIZED_TELEMETRY=false in your environment or .env file.
Added documentation that explains how telemetry works with links to the actual code.
General project README updates.