The code needs to enable easy configuration switching different tracing providers with environment variables or other way, without changing the code logic. E.g., we need to enable tracing of only fetch/async requests, but not all the user clicks and other interactions. Sampling mode also should be configurable.
The app must be deployable to kubernetes nginx server #272 and scripts must be provided for that purpose.
The task is to upgrade browser tracing capability https://opentelemetry.io/docs/instrumentation/js/getting-started/browser/ in our front-end app.
The code of the app https://github.com/nearform/otlp-blueprint/tree/main/pkg-svcs/frontend might be re-written or simplified.
The code needs to enable easy configuration switching different tracing providers with environment variables or other way, without changing the code logic. E.g., we need to enable tracing of only fetch/async requests, but not all the user clicks and other interactions. Sampling mode also should be configurable.
The app must be deployable to kubernetes nginx server #272 and scripts must be provided for that purpose.