CallMetricRecorder is not test-friendly
- Vorherrschende Sprache
- Java
- Sterne
- 12.1k
- Forks
- 4k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
Currently only `InternalCallMetricRecorder` can create `CallMetricRecorder`s. If an service implementation records metrics and wants to test that behavior, it cannot do so unless it uses the internal class.
Beitragsleitfaden
Rechercherichtung
Start by reading the CallMetricRecorder and InternalCallMetricRecorder classes to understand how recorders are currently created and which visibility or construction constraint prevents service implementations from testing metric behavior. Confirm the intended public usage and identify existing tests around these classes; done means a service implementation can create or use a recorder in a test without relying on the internal class.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- backend, observability
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100