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

improvement(analytics): improve the data collection #1438

Merged
merged 3 commits into from
Dec 19, 2019
Merged

Conversation

10ko
Copy link
Member

@10ko 10ko commented Dec 16, 2019

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@eysi09 eysi09 added this to the 0.11.0 milestone Dec 17, 2019
@10ko 10ko force-pushed the analytics-v2 branch 2 times, most recently from 6f0377c to 922fd1a Compare December 17, 2019 21:34
@10ko 10ko changed the title Analytics v2 improvement(analytics): improve the data collection Dec 17, 2019
@10ko 10ko marked this pull request as ready for review December 17, 2019 23:39
garden-service/src/analytics/analytics.ts Outdated Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Outdated Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Outdated Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Outdated Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Outdated Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Show resolved Hide resolved
garden-service/src/analytics/analytics.ts Show resolved Hide resolved
garden-service/src/task-graph.ts Outdated Show resolved Hide resolved
garden-service/src/task-graph.ts Outdated Show resolved Hide resolved
garden-service/src/vcs/git.ts Outdated Show resolved Hide resolved
@10ko
Copy link
Member Author

10ko commented Dec 18, 2019

@edvald Added the changes you requested.

}
// getBatchId() {
// return this.batchId
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

To be deleted?

@@ -7,6 +7,7 @@ environments:
providers:
- name: local-kubernetes
environments: [local]
buildMode: cluster-docker
Copy link
Collaborator

Choose a reason for hiding this comment

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

Forgot this

10ko added 2 commits December 19, 2019 13:58
These changes bring some improvement what kind of data we track,
how we track these events and the opt-in mechanism.

Major changes:

- Change analytics from optional to automatic opt-in
- Add batchId to Task events
- Rename taskName to taskType and added taskStatus
- Add sessionId to events
- Change projectId from uuid to hash of git origin
- Turn on analytics for CI
- Add project configuration aggregates
@10ko
Copy link
Member Author

10ko commented Dec 19, 2019

oops sorry about that, I removed those.

@edvald edvald merged commit 04ffbbe into master Dec 19, 2019
@edvald edvald deleted the analytics-v2 branch December 19, 2019 16:37
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.

4 participants