vaadin / observability-kit

Other
5 stars 2 forks source link

TypeInstrumentation for PublishedServerEventHandlerRpcHandler #15

Closed caalador closed 2 years ago

caalador commented 2 years ago

Create instrumentation tracer for PublishedServerEventHandlerRpcHandler. Add handler to List<TypeInstrumentation> typeInstrumentations() in InstrumentationModule

Implementation should set the span status to StatusCode.ERROR if there an exception has been thrown.

caalador commented 2 years ago

PublishedServerEventHandlerRpcHandler is triggered from the client to run methods annotated with @ClientCallable

This one could actually be in 2 pieces where one is for timing handleNode and the other for timing invokeMethod where there would be a possibility to get a bit detailed information on what method was run.