An ObservabilityHandler instance is created and associated to every UI instance, so its identifier could be used to group front-end traces that come from the same browser tab.
ClientInstumentation can add the ObservabilityHandler identifier as an attribute to all the processed spans.
This should also work fine with @PreserveOnRefresh, since the UI instance will not change on page reload and the ObservabilityHandler will not be recreated.
An
ObservabilityHandler
instance is created and associated to every UI instance, so its identifier could be used to group front-end traces that come from the same browser tab.ClientInstumentation
can add theObservabilityHandler
identifier as an attribute to all the processed spans.This should also work fine with
@PreserveOnRefresh
, since the UI instance will not change on page reload and theObservabilityHandler
will not be recreated.