vaadin / observability-kit

Other
5 stars 2 forks source link

feat: Client-side instrumentation #150

Closed MatthewVaadin closed 1 year ago

MatthewVaadin commented 1 year ago

Description

This adds a Lit web component to each UI, which sets up the OpenTelemetry client-side instrumentation. Traces are then sent to a request handler in the server. The agent adds hooks on the request handler and recreates the trace spans from the incoming data.

Fixes #149

Type of change

mcollovati commented 1 year ago

Very neat solution