Skip to content

MA-157 Move context back into properties. - #6172

Merged
nasthagiri merged 1 commit into
masterfrom
mobile/update-analytics
Dec 10, 2014
Merged

MA-157 Move context back into properties.#6172
nasthagiri merged 1 commit into
masterfrom
mobile/update-analytics

Conversation

@nasthagiri

Copy link
Copy Markdown
Contributor

https://openedx.atlassian.net/browse/MA-157

Here's the updated gist from android-generated video events:
https://gist.github.com/nasthagiri/58ec88c1a92e6641dd0e

Here's the updated gist from ios-generated video events:
https://gist.github.com/nasthagiri/d2ee58d93c90faae1b65

ARCHIVE (before BI blacklist and before android-app updates):
Here's a gist of the events in the event log: https://gist.github.com/nasthagiri/8d9e83734791cfc4950e

@mulby

mulby commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

👍

@nasthagiri

Copy link
Copy Markdown
Contributor Author

Thanks @mulby
I need to make another update so it doesn't store the BI events in the event logs.

@mulby

mulby commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

K, I'll re-review then

@nasthagiri
nasthagiri force-pushed the mobile/update-analytics branch from d89f9ca to f012f3d Compare December 9, 2014 04:18
@nasthagiri

Copy link
Copy Markdown
Contributor Author

@mulby I have updated this PR with the changes we discussed yesterday. Please re-review.

@nasthagiri

Copy link
Copy Markdown
Contributor Author

@aleffert please take a look as well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would prefer we had a different error message for this since I see the wrong type and a filtered name as two very different problems.

In fact, we may not want to log any warnings for an ignored name since that will likely cause a lot of log noise.

We don't expect to receive events with an unhandled type very often.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mulby There will also be many events with types other than "track". In particular, all "screen" and "identity" event types are ignored and are listed in the logs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So should we not raise an error for disallowed Types as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mulby As discussed, we'll keep this as an error message for now, in case it will be helpful to debug any webhook issues on prod. We will remove this error message a few weeks after enabling on prod.

@mulby

mulby commented Dec 9, 2014

Copy link
Copy Markdown
Contributor

Once my one comment is addressed this looks good.

👍

@aleffert

aleffert commented Dec 9, 2014

Copy link
Copy Markdown
Contributor

👍

@mulby

mulby commented Dec 9, 2014

Copy link
Copy Markdown
Contributor

+1
On Dec 9, 2014 4:33 PM, "Akiva Leffert" notifications@github.com wrote:

[image: 👍]


Reply to this email directly or view it on GitHub
https://github.com/edx/edx-platform/pull/6172#issuecomment-66361754.

@nasthagiri

Copy link
Copy Markdown
Contributor Author

@stroilova FYI.

Move app-generated context back into properties.
Ignore BI events through segment's webhook.
Ignore events without Data in Properties.
@nasthagiri
nasthagiri force-pushed the mobile/update-analytics branch from 4b4c542 to a600399 Compare December 9, 2014 23:45
@nasthagiri

Copy link
Copy Markdown
Contributor Author

The sole LMS acceptance failure is a known flaky test. Merging.

nasthagiri added a commit that referenced this pull request Dec 10, 2014
MA-157 Move context back into properties.
@nasthagiri
nasthagiri merged commit c6f991f into master Dec 10, 2014
@nasthagiri
nasthagiri deleted the mobile/update-analytics branch December 10, 2014 01:25
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.

3 participants