Skip to content

v0.5.0

Choose a tag to compare

@robert-northmind robert-northmind released this 31 Oct 10:10
· 4 commits to main since this release
379f3f3

What's Changed

Custom Session Attributes

Add custom labels to all your telemetry data with the new optional sessionAttributes parameter in FaroConfig.

Use cases:

  • Team/department segmentation
  • Access control labels
  • Environment-specific metadata
  • Custom business context

Example:

await Faro().runApp(
  optionsConfiguration: FaroConfig(
    appName: "MyApp",
    // ... other config
    sessionAttributes: {
      'team': 'mobile-platform',
      'department': 'engineering',
      'region': 'us-west',
    },
  ),
  appRunner: () => runApp(MyApp()),
);

Custom attributes are automatically included in all telemetry types (logs, events, exceptions, traces, measurements) and merged with default SDK attributes.

Full Changelog: v0.4.2...v0.5.0