This website uses cookies to ensure you get the best experience.
Learn more.
A team is instrumenting function duration and must include failures in the measured distribution. What is the best placement of observation logic?
Published
- Observe only after successful return
- Increment the duration counter before the function starts with a guessed value
- Measure elapsed time and observe it on both successful and exceptional completion paths
- Record the start timestamp as the elapsed duration
Comments — 0
Sign in to comment