Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconfigure ObservabilityClient without reloading the page. #194

Open
mcollovati opened this issue Mar 27, 2023 · 0 comments
Open

Reconfigure ObservabilityClient without reloading the page. #194

mcollovati opened this issue Mar 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mcollovati
Copy link
Contributor

Currently, ObservabilityClient is added to the UI by an UIInitListener, so potential configuration changes take effect only after a page reload.

It would be good to provide a way to modify the ObservabilityClient behavior without the need for the page reload.

A potential solution may be to have an event for configuration change and attach a listener for that event to the UI.
Once the event is fired, the listener may remove the old client instance and replace it with a new one (or the client-side of the ObservabilityClient may be able to reconfigure itself on property changes).
The configuration changes should then be immediately propagated to the client if PUSH is enabled, or after the first user interaction, but without the need of a page reload.

@mcollovati mcollovati added the enhancement New feature or request label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant