v0.5.0
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