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

Collect events for analytics #77

Merged
merged 3 commits into from
May 31, 2021
Merged

Collect events for analytics #77

merged 3 commits into from
May 31, 2021

Conversation

PrasadG193
Copy link
Member

  • Add new command kbrew analytics to check status and turn on/off the analytics collection
  • Collect following events: install-success, install-fail, install-timeout and k8s-events
  • Collect and report k8s-events in case of install-fail and install-timeout.
  • k8s-events are the Warning level events for involved Pods

Signed-off-by: Prasad Ghangal <[email protected]>
@PrasadG193 PrasadG193 requested review from sahil-lakhwani and vishal-biyani and removed request for sahil-lakhwani and vishal-biyani May 27, 2021 06:02
Copy link
Contributor

@sahil-lakhwani sahil-lakhwani left a comment

Choose a reason for hiding this comment

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

I think there are now many kube clients being created. We should follow up with a PR to have a global client if possible.

pkg/kube/kube.go Show resolved Hide resolved
pkg/events/events.go Show resolved Hide resolved
pkg/config/config.go Show resolved Hide resolved
Signed-off-by: Prasad Ghangal <[email protected]>
Signed-off-by: Prasad Ghangal <[email protected]>
@PrasadG193 PrasadG193 requested a review from sahil-lakhwani May 30, 2021 11:47
@PrasadG193 PrasadG193 merged commit 7edf4a8 into main May 31, 2021
@PrasadG193 PrasadG193 deleted the collect-events branch May 31, 2021 11:19
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.

2 participants