Provide a restrictive dataCollection baseline that also covers keys added in minor releases
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #25742 de @sentry-junior — cerrado sin fusionar
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, typescript
- Área
- backend-api-design
Línea de trabajo
Start by reading the dataCollection option definitions and resolveDataCollectionOptions, which the issue names as the place that may apply defaults and fallbacks. Compare the proposed exported restrictive object with a resolver flag, including how replacement keys such as mcp inherit genAI settings. Done means choosing and implementing a baseline that keeps newly added keys off without breaking those fallbacks; the issue does not identify specific files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
In v11, dataCollection replaces sendDefaultPii. Its defaults collect more data than v10 did. To keep the v10 behavior, users must set each key to a restrictive value manually (see Keeping the v10 default behavior).
This causes two problems:
- No single option keeps the v10 behavior. Users must copy the full object from the migration guide and keep it up to date.
- When a minor release adds a new
dataCollectionkey, the new key collects by default. Users who turned off each key manually start to send the new data after they upgrade, with no change to their config.
Proposal
Export an object that we maintain, with a restrictive value for each key. Users spread it and turn on only what they want. A new key is then off by default:
Sentry.init({
dataCollection: {
...Sentry.dataCollectionOff, // name TBD
genAI: { inputs: true, outputs: false },
},
});
Open questions
- Which baseline do we use: all keys off, or the v10 defaults? "All off" also turns off
stackFrameVariablesandframeContextLines, which v10 collected. - Some keys replace an older key in a minor release and fall back to it when they are not set. For example,
mcpfalls back togenAI. If the exported object setsmcptofalse, a user who setsgenAI: { inputs: true }no longer gets MCP inputs, and no warning tells them. One alternative is a flag that the SDK resolves, for exampledataCollection: { defaults: 'off' }. ThenresolveDataCollectionOptionscan apply the fallbacks before it turns off the keys that are not set.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.8k
- Forks
- 1.9k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 744
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-javascript
-
AWS Lambda Waiting for: Product Owner
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
getsentry/sentry-javascript#26910 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Only create Nuxt database and storage spans when there is a parent spanQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoImprovement Nuxt
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
getsentry/sentry-javascript#25805 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Only create Cloudflare storage and D1 db spans when there is a parent spanQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoCloudflare Workers Improvement Spans
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsentry/sentry-javascript#25804 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Core Feature: Typescript Meta: Breaking
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
getsentry/sentry-javascript#25286 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
getsentry/sentry-javascript#24200 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-javascript
Issues similares
-
Postgres upgrade golden leaves fixture URL query parameters in the expected output comparisonAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
garrytan/gbrain#10437 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Bedrock "Too many tokens" throttle is not auto-retried, unlike "Too many requests"Posiblemente ocupada @acmerfight la tomó hoy. Abiertountriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
earendil-works/pi#12573 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
agentes-chat/agentes-chat#1506 ·
Los mantenedores suelen responder en 1 día
-
comp/desktop desktop/files os/windows P2 type/perf
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NousResearch/hermes-agent#160359 ·
Los mantenedores suelen responder en 1 día
-
Missing repro Platform: Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
software-mansion/react-native-reanimated#11554 · 1 comentario ·
Los mantenedores suelen responder en 1 día