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

Research on telemetry #304

Open
fvictorio opened this issue Feb 27, 2024 · 1 comment
Open

Research on telemetry #304

fvictorio opened this issue Feb 27, 2024 · 1 comment
Milestone

Comments

@fvictorio
Copy link
Member

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.
@Wodann
Copy link
Member

Wodann commented Mar 25, 2024

If we want, we could experiment with a custom panic handler on the EDR side which converts the panic into an error and returns it.

@fvictorio fvictorio added this to EDR Apr 24, 2024
@github-project-automation github-project-automation bot moved this to Unconfirmed in EDR Apr 24, 2024
@fvictorio fvictorio moved this from Unconfirmed to Todo in EDR Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants