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

Allow more granular auto installation #426

Open
romtsn opened this issue Jan 12, 2023 · 3 comments
Open

Allow more granular auto installation #426

romtsn opened this issue Jan 12, 2023 · 3 comments
Labels
enhancement New feature or request Platform: Android

Comments

@romtsn
Copy link
Member

romtsn commented Jan 12, 2023

Description

We could expose more granular options for setting up auto-installation, specifically, we could provide a list of integrations to install, for example:

sentry {
  autoInstallation {
    enabled = true
    features = [AutoInstallationFeature.TIMBER, AutoInstallationFeature.OKHTTP]
  }
}

By default all of them should be in the list (enabled).

For reference getsentry/sentry-java#2468

@markushi
Copy link
Member

Maybe it makes sense to have a property to "deactivate" certain features, as it matches the typical workflow better (E.g. "I don't want to have timber integration, but everthing else").

@markushi
Copy link
Member

Could make sense to tackle this for Instrumentation Features as well

@denis-bezrukov
Copy link

denis-bezrukov commented Jan 23, 2023

I would go even further, in our case we would like to track timber logs as breadcrumbs but not as an individual events. That means we can't use auto install even with the proposed solution. In our case smth like this would be useful:

sentry {
  autoInstallation {
    enabled = true
    features = [AutoInstallationFeature.TIMBER, AutoInstallationFeature.OKHTTP]
    timber {
       minEventLevel = FATAL
       minBreadcrumbLevel = INFO
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Platform: Android
Projects
Status: Backlog
Development

No branches or pull requests

4 participants