Allow more granular auto installation
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 https://github.com/getsentry/sentry-java/issues/2468
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").
Could make sense to tackle this for Instrumentation Features as well
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
}
}
}