nearform / otlp-blueprint

Open Telemetry + Jaeger + 3-tier application Blueprint
7 stars 1 forks source link

Web Tracing #275

Open zimny opened 1 year ago

zimny commented 1 year ago

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.