Events Publisher
Overview
The Hubtel Event Publisher provides a unified and standardized way for integrating observability into your frontend applications. It simplifies the process of tracking custom performance metrics, user interactions, errors, and application events, while maintaining flexibility to meet each team's specific needs.
By abstracting the underlying implementation, this package ensures:
- Consistent integration across projects.
- A streamlined interface for defining and capturing custom metrics and context.
- The ability to enrich monitoring data with user-specific or application-specific information.
- A centralized logging system for storing and analyzing logs.
What This Package Offers
Action Tracking: Automatically Log meaningful user interactions such as button clicks, feature usage, or navigation events.
Error and Exception Tracking: Automatically capture frontend errors and log them with relevant context for easier debugging.
Product Event Logging: Send detailed, structured logs for business-specific events, such as purchases, subscriptions, or unique workflows.
Custom Timings: Track specific performance milestones like component load times or API response delays.
Global Context: Attach custom metadata (e.g., user role, experiment flags, environment) to all monitoring events.
The next sections provide detailed instructions on how to set up and use the Event Publisher in your frontend applications.
Was this helpful? 📚
CHAT SAMMIAT