Add Exception to ApiCallAttempt metrics
- Lingua principale
- Java
- Stelle
- 2.6k
- Fork
- 1k
- Merge medio
- 2g 9h
- PR unite (30g)
- 51
Descrizione
If an SDK calls throws an exception (Http timeout, Resource not found exception), it would be useful to capture that as part of the `ApiCallAttempt` metrics collection.
Especially for an Http timeout, the SDK will make a bunch of attempts but for each attempt it will log only the `SigningDuration` and `BackoffDelayDuration` metric. If we want to investigate what happened to a particularly high latency call, looking at the detailed `ApiCallAttempt` metric would not give us the right hints. But having the Exception instance for each call attempt will be incredibly helpful.
Please consider adding an Exception metric record to the `ApiCallAttempt` metrics - this is currently done in the V1 SDK so should ideally be also made available to the V2 SDK.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue indica la metrica Exception esistente del V1 SDK e la raccolta delle metriche ApiCallAttempt del V2. Inizia individuando queste due implementazioni e segui come vengono registrati i tentativi in timeout e resource-not-found. Il lavoro è completo quando ogni tentativo di chiamata fallito espone la propria exception nelle metriche dettagliate, con copertura dei casi di errore descritti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- observability
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100