Skip to content

Setup telemetry#34

Merged
adi-wan-askui merged 18 commits intomainfrom
setup-telemetry
Apr 8, 2025
Merged

Setup telemetry#34
adi-wan-askui merged 18 commits intomainfrom
setup-telemetry

Conversation

@adi-wan-askui
Copy link
Contributor

No description provided.

- track all types of function calls (fn, staticmethod, classmethod, method)
- make it testable and test it
- decouple processors (e.g., segment) from telemetry
- add in-memory processor
… VisionAgent

- exclude sensitive information
- Updated all instances of @telemetry.track_call to @telemetry.record_call across VisionAgent, AskUiControllerClient, and ModelRouter.
- Enhanced type hints for methods to ensure consistency and clarity.
- Removed unused analytics.py file and added context.py for better organization of telemetry context classes.
- Adjusted telemetry settings to include new parameters for response and exception handling in recorded calls.
- Updated tests to reflect changes in telemetry function tracking.
- machine id must be a valid uuid4
- user id necessary for proper user_identification
- context only takes predefined fields
  --> move custom context to properties
- use batch api by not setting queue size to 1
- remove commented out tests
- improve internal documentation
- add missing exports
- rm cursorrules
- fix too long lines
- temporary until we have more time to setup ci
@adi-wan-askui adi-wan-askui merged commit 47750e8 into main Apr 8, 2025
1 check passed
@adi-wan-askui adi-wan-askui deleted the setup-telemetry branch April 8, 2025 13:53
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