It would be nice to have some sort of telemetry in EDR, the way we do in Hardhat. For now the main thing we want to track is EDR panics. For this, the open questions are:
Can we detect an EDR panic from Hardhat and report it? This would be ideal because we can re-use Hardhat's code, and there are no consent questions, but AFAIK it's not possible. We should double check though.
If we can't detect a panic from Hardhat, it means we need to send a Sentry hit from EDR, which raises some legal questions:
Can we assume that if a user consented to Hardhat's telemetry, then we can send Sentry hits from EDR? If that's the case, then we just need to pass that consent value down to EDR.
If we can't do that, we have to either show another prompt, or update our privacy policy.
As part of this effort, we should implement a throwaway version of this, that just assumes telemetry is enabled. This would let us have a better idea of how it works, what we can do with it, and what's the effort needed.
It would be nice to have some sort of telemetry in EDR, the way we do in Hardhat. For now the main thing we want to track is EDR panics. For this, the open questions are: