vaadin / observability-kit

Other
5 stars 2 forks source link

Prevent spans from being created by frontend trace requests #201

Closed MatthewVaadin closed 1 year ago

MatthewVaadin commented 1 year ago

The frontend traces are sent to the backend using an AJAX request, which is ignored by the frontend instrumentation, but still picked up by the server instrumentation. These should be ignored by the server instrumentation. This could be done in a similar way to the heartbeat requests.

Conversely the heartbeat requests are currently ignored by the server instrumentation, but not the frontend instrumentation.