getsentry / getsentry/sentry-javascript

[Node]: Support otel auto instrumentation when code is bundled

Abierto
#10,940 18 comentarios 4 reacciones 0 asignados Ver en GitHub
Improvement OpenTelemetry
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

### Problem Statement

OpenTelemetry auto instrumentation relies on `import-in-the-middle` and `require-in-the-middle` to hook loading of modules so they can be proxied and automatically instrumented. If the code is bundled, modules are not loaded so there is no auto instrumentation.

### Solution Brainstorm

Using the Sentry bundler plugins, we can wrap the "loading" of modules and call the existing callbacks that hook up the instrumentation.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.