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

Pluggable analytics #59

Open
nbrooke opened this issue Jun 12, 2020 · 0 comments
Open

Pluggable analytics #59

nbrooke opened this issue Jun 12, 2020 · 0 comments

Comments

@nbrooke
Copy link
Member

nbrooke commented Jun 12, 2020

It's useful to keep a basic analytics endpoint in SteamcLog so that we have one place to go to to make analytics calls, but unlike logging and crash reporting we can't really pick a fixed default (though we may pick a soft default, that can be overridden, eventually). We want some way to be able to plug in particular analytics tools depending on the project.

Basic design is to add an AnalyticsDestination protocol that basically provides the same endpoint as the main analytics call, have the ability to register AnalyticsDestination with the system, and basically just make the analytics call a pass through to the AnalyticsDestination object(s) that have been registered.

If it isn't merged by the time this is worked on, it probably makes sense to just do this on the sentry branch, since that branch has already disabled the old fixed default of Fabric Answers.

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

No branches or pull requests

1 participant