Skip to content

[EPIC] Document how to remotely/dynamically configure SDKs #211

@kahest

Description

@kahest

Rationale

Many of our users utilize remote configuration and feature flagging solutions to remotely control how their apps and the SDKs therein behave. The most prominent use cases are activating/deactivating features and settings sampling rates.

We will soon support reporting of feature flag configurations in Sentry events: [EPIC] Mobile Feature Flags #206

Solution

With the above in mind, it's time we provide documentation on the following use case:

How to configure the Sentry SDK with values coming in via remote config?

  • On app start - delay SDK init with the drawback of losing events?
  • During runtime - what ways are there to dynamically apply new options - how to do it, possibly without restarting the SDK?
  • SDK specific: what kind of caveats/limitations are there? can we provide code snippets?

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Needs Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions