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

Send more data to segment #1817

Merged
merged 4 commits into from
Jan 6, 2021
Merged

Conversation

guillaumerose
Copy link
Contributor

  • Use track and identify calls
  • Track all commands (success = true|false)
  • Track the duration of each command

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guillaumerose

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

}
return err
startTime := time.Now()
err := input(cmd, args)
Copy link
Member

Choose a reason for hiding this comment

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

The initial agreement which we had with PM about tracking only the errors not all the commands, did we get an ack for this implementation?

Copy link
Contributor Author

@guillaumerose guillaumerose Jan 6, 2021

Choose a reason for hiding this comment

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

I didn't ask (yet). I am more worried that we will have 0 data with the current implementation.

Can we add this new data @sspeiche ?

  • If the user consent to it, we track all commands: duration, success and eventual error.

Copy link
Contributor

Choose a reason for hiding this comment

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

There wasn't a limitation on tracking just errors, so this is fine. We just have limitations on tracking personally identifiable information like IP address.

@praveenkumar
Copy link
Member

/lgtm

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.

4 participants