vaadin / observability-kit

Other
5 stars 2 forks source link

Observability Kit support for Hilla #203

Closed heruan closed 1 year ago

heruan commented 1 year ago

Observability Kit support for Hilla should provide the same insights into the health and behavior of Hilla apps as it happens for Flow apps.

The kit should provide real-time visibility into the functioning of Hilla apps, enabling teams to instantly identify issues affecting end users experience as they arise and proactively address them without waiting for end users to report problems. The kit also provides insights into the performance and behavior of the app's internal components, enabling teams to seamlessly collaborate to identify the root cause of issues and resolve them quickly. By reducing the mean time to issue identification and resolution, the kit helps ensure that Hilla apps are always available and performant for end users and that the business goals of the app are met.

To add Hilla support to the kit, these are the main features to implement:

  1. Extend the existing Java agent with instrumentation for Hilla endpoints
  2. Create a new module that provides a Hilla endpoint to collect data from the frontend (and send it to the agent)
  3. Create a new NPM package that provides frontend instrumentation and sends data to the Hilla endpoint