- Installation
- Initialise RUM
Add the following dependencies to your pubspec.yaml
rum_sdk:
git:
url: <git_url>
path: packages/rum_sdk
ref: main
Add the following snippet to initialize RUM Monitoring with the default configurations
HttpOverrides.global = RumHttpOverrides(HttpOverrides.current); // enable http tracking
RumFlutter().runApp(
optionsConfiguration: RumConfig(
appName: "<App_Name>",
appVersion: "1.0.0",
appEnv: "Test",
apiKey: "<API_KEY>",
),
appRunner: () => runApp(
RumUserInteractionWidget(child: MyApp())
),
);
See all configuration options for RUM Flutter