livepeer / go-livepeer

Official Go implementation of the Livepeer protocol
http://livepeer.org
MIT License
538 stars 168 forks source link

Implement anonymous usage statistics and hardware specs collection #2142

Closed cyberj0g closed 1 year ago

cyberj0g commented 2 years ago

Abstract

We need more info on how and on what hardware Livepeer is used. Currently, we only can make assumptions using discord and network statistics.

Implementation Tasks and Considerations

  1. Implement data collection in go-livepeer, add a command line argument to opt out of it. As a minimum, we need to collect following info:

    • go-livepeer version
    • OS
    • number and models of GPUs
    • CPU model and RAM amount
    • node type
    • node uptime
  2. Implement analytics web service

    Known Unknowns

  3. We don't know if users will start opting out of data collection en masse, or will react negatively on this feature

  4. How to prevent spam or DDoS of data collection service, since we don't have authentication?

Alternatives

Polls in Discord and on website.

cyberj0g commented 1 year ago

Solved by implementing monitoring metrics (Prometheus + Grafana).