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

instrumentation: add telemetry around failures #207

Merged
merged 1 commit into from
Mar 27, 2021
Merged

Conversation

cyx
Copy link
Contributor

@cyx cyx commented Mar 27, 2021

This will start collecting errors. We can continue tweaking this, but
this will get us to the basics at least.

In scope:

  • Reporting the Go version
  • Reporting the OS type
  • Reproting the architecture (e.g. amd64)

Out of scope:

  • Discerning the different error types we have. For now, any errors will
    get sent -- so long as you're using a build that came from one of our future releases (previous releases wouldn't have this of course).

For developers

  • We should keep using our go install ./cmd/auth0 flow. This would skip error reporting since we're not baking the instrumentation related information when we do this (the github action would be the one doing that).

This will start collecting errors. We can continue tweaking this, but
this will get us to the basics at least.

== In scope:
- Reporting the Go version
- Reporting the OS type
- Reproting the architecture (e.g. amd64)

== Out of scope:
- Discerning the different error types we have. For now, any errors will
  get sent.
Copy link
Contributor

@jfatta jfatta left a comment

Choose a reason for hiding this comment

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

great!

do you know if we need to ask for some kind of user consent to report errors?

@cyx
Copy link
Contributor Author

cyx commented Mar 27, 2021

great!

do you know if we need to ask for some kind of user consent to report errors?

I think the best time to do this is during the install. If we can drop a note such as: "By using the auth0 CLI you agree to <...>" -- e.g. classic legalese language.

Similarly on the non-brew install options.

@cyx cyx merged commit 703b67b into main Mar 27, 2021
@cyx cyx deleted the add-instrumentation branch March 27, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants