etherealengine
etherealengine copied to clipboard
Enabled analytics logging to opensearch
Summary
đ¤ Generated by Copilot at c6cf091
This pull request implements analytics collection for the task server. It adds a new file collect-analytics.ts
that handles the data processing and storage.
References
closes #insert number here
Explanation
đ¤ Generated by Copilot at c6cf091
- Implement analytics collection feature for the task server (
packages/taskserver/src/collect-analytics.ts
) - Declare variables to store timestamp, analytics data, and collected data (link)
- Filter out and log the data that has not been collected yet, and update timestamp (link)
- Collect and push user data from instance and channel to collected data array (link, link)
- Collect and push instance data to collected data array (link)
đ¤ Generated by Copilot at c6cf091
We're sailing on the task server, aye, aye, aye We're logging all the analytics, aye, aye, aye We use
collect-analytics.ts
to store and sort And we pull the data when we reach the port
QA Steps
List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.
Checklist
- If this PR is still a WIP, convert to a draft
- When this PR is ready, mark it as "Ready for review"
- ensure all checks pass
- Changes have been manually QA'd
- Changes reviewed by at least 2 approved reviewers