Open scothis opened 7 months ago
Attention: Patch coverage is 93.93939%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 61.56%. Comparing base (
597a9ed
) to head (5ed62c2
).:exclamation: Current head 5ed62c2 differs from pull request most recent head d1d8f00
Please upload reports for the commit d1d8f00 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
reconcilers/cast.go | 50.00% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Introduces a Tracer interface that can be provided to the Reconciler and Webhook handler implementations when they are defined. Each provided SubReconciler is instrumented to enter a new frame when it's Reconcile method is called and exit upon return.
Two implementations are provided out of the box. DiscardTracer ignores all calls. LogrTracer logs as each frame enters and exits, capturing the elapsed time.
Custom SubReconcilers and other aspects of the call stack can be instrumented:
Refs #502