Skip to content
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

feat: improve telemetry and use a more suitable tool than google-analytics #147

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

warlof
Copy link
Member

@warlof warlof commented Dec 30, 2020

telemetry is still an optional thing and can be disabled into settings
the list of collected data is the following :

  • instance unique ID
  • amount of valid refresh tokens
  • amount of character sheet
  • amount of corporation sheet
  • used php version
  • used operating system
  • installed SeAT packages and related versions
  • called endpoint mask and http response status

Used in scheduled commands, those information can help to determine :

  • ESI load on behalf on SeAT instances
  • SeAT instances average load
  • Updates distributions

image
image
image

@warlof warlof self-assigned this Dec 30, 2020

// Generate a V4 random UUID
// https://gist.github.com/dahnielson/508447#file-uuid-php-L74
$id = sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid concern 😋

…tics

telemetry is still an optional thing and can be disabled into settings
the list of collected data is the following :
- instance unique ID
- amount of valid refresh tokens
- amount of character sheet
- amount of corporation sheet
- used php version
- used operating system
- installed SeAT packages and related versions
- called endpoint mask and http response status
as per @eugenebednik, use Laravel Str facade to compute a valid instance ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants