vaadin / observability-kit

Other
5 stars 3 forks source link

Provide a init function for frontend observability [Hilla] #218

Open heruan opened 1 year ago

heruan commented 1 year ago

The Hilla demo uses this function to initialize the frontend observability insturmentation:

https://github.com/vaadin/observability-kit/blob/e5d12008060ad8e24cfcb32630642ccb2e5d7084/observability-kit-demo-hilla/frontend/utils/telemetry.ts#L8-L27

We should provide this functionality embedded in the kit to facilitate the initialization of frontend observability.