Littlefish Observability Manager
A Dart/Flutter package for managing observability and monitoring within Littlefish applications. This package provides a unified interface and implementation for tracking, logging, and reporting application metrics and events.
Features
- Centralized observability management
- Extensible implementation for custom monitoring solutions
- Integration-ready for analytics, logging, and error reporting
Getting Started
Add the package to your pubspec.yaml:
dependencies:
littlefish_observability_manager:
path: packages/monitoring/littlefish_observability_manager
Run:
flutter pub get
Usage
Import the package:
import 'package:littlefish_observability_manager/littlefish_observability_manager.dart';
Create and use the observability manager:
final observabilityManager = LittlefishObservabilityManagerImpl();
observabilityManager.logEvent('user_login', {'userId': '123'});
API Reference
LittlefishObservabilityManager: Abstract interface for observability operationsLittlefishObservabilityManagerImpl: Default implementation
See lib/littlefish_observability_manager.dart and lib/littlefish_observability_manager_impl.dart for details.
Testing
Unit tests are provided in test/littlefish_observability_manager_test.dart. Run tests with:
flutter test
License
This package is licensed under the terms described in LICENSE.
Changelog
See CHANGELOG.md for release notes and version history.
Contributing
Contributions are welcome! Please submit issues and pull requests via GitHub.