Ability to mark some database exceptions as not errors
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- observability
Direzione di ricerca
Start by reading the JDBC instrumentation and TraceInterceptor APIs to see how exceptions are marked on instrumentation generated spans and what span relationship information the interceptor exposes. The issue names no files or tests, so first locate those entry points and check for existing exception suppression options. Done means callers can conditionally prevent expected exceptions from being reported as errors without reconstructing the span hierarchy.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Library Name
jdbc
Library Version(s)
17
Describe the feature you'd like
I would like ability to conditionally suppress errors on instrumentation-generated spans.
Is your feature request related to a problem?
DataDog JDBC instrumentation reports all exceptions as errors.
This quite problematic because some exceptions might be expected (such as serialization errors up until final retry), yet there is no way to mark them as such, and so they create a lot of noise that makes error monitors useless.
Describe alternatives you've considered
The only workaround I know is registering TraceInterceptor and clear the errors from there.
To do it conditionally I need to somehow communicate decision to interceptor.
I can set error.suppress=true on application-controlled parent span of db span but unfortunately TraceInterceptor does not expose parent/child relationship between spans unless I do a lot of casts to io.opentracing.Span and DDSpanContext and reconstruct hierarchy from there (which can become expensive).
Additional context
No response
- Lingua principale
- Java
- Stelle
- 736
- Fork
- 364
- Merge medio
- 3g 9h
- PR unite (30g)
- 219
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DataDog/dd-trace-java
-
type: bug report
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DataDog/dd-trace-java#12818 · 3 reazioni ·
I maintainer di solito rispondono entro 2 giorni
-
Update DEFAULT_HTTP_CLIENT_ERROR_STATUSES to include 5xx status codesForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertatype: feature request
Difficoltà 1/5 1-3 ore Idoneità per principianti 70/100
DataDog/dd-trace-java#10245 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
dd-trace-ot 1.67.x: NoClassDefFoundError `ddtrot/dd/trace/api/llmobs/LLMObs`Forse già presa @amarziali l’ha presa oggi. Apertatype: bug report
DataDog/dd-trace-java#12857 · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
Startup ~2x slower with AOT class linking: agent retransforms ~22k preloaded classes (JDK 25, 1.67.0)Forse già presa @mcculls l’ha presa 5 giorni fa. Apertatype: bug report
DataDog/dd-trace-java#12795 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
gRPC server instrumentations (grpc-1.5, armeria-grpc) don't make extracted W3C baggage current in the handlerForse già presa @mcculls l’ha presa 15 giorni fa. Apertacomp: context propagation inst: grpc type: feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
DataDog/dd-trace-java#12654 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di DataDog/dd-trace-java
Issue simili
-
status: waiting-for-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
AOT compilation fails for derived delete queries returning SetForse già presa @ryujungkyun l’ha presa oggi. Apertastatus: waiting-for-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
spring-projects/spring-data-jpa#4387 ·
I maintainer di solito rispondono entro 3 giorni
-
:ml/Transform >bug Team:ML
Difficoltà 2/5 Mezza giornata Idoneità per principianti 64/100
elastic/elasticsearch#161960 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno