A derived metric type that records the outcome of an operation. See OutcomeRecorder.fromCounter and OutcomeRecorder.fromGauge for more information.
- Companion:
- object
- Source:
- OutcomeRecorder.scala
Type members
Types
Value members
Concrete methods
Record the result of provided cats.effect.kernel.Outcome
Record the result of provided cats.effect.kernel.Outcome
The resulting metrics depend on the underlying implementation. See OutcomeRecorder.fromCounter and OutcomeRecorder.fromGauge for more details.
- Value parameters:
- outcome
the cats.effect.kernel.Outcome to be recorded
- Source:
- OutcomeRecorder.scala
Surround an operation and evaluate its outcome using an instance of cats.effect.kernel.MonadCancel.
Surround an operation and evaluate its outcome using an instance of cats.effect.kernel.MonadCancel.
The resulting metrics depend on the underlying implementation. See OutcomeRecorder.fromCounter and OutcomeRecorder.fromGauge for more details.
- Value parameters:
- fa
operation to be evaluated
- Source:
- OutcomeRecorder.scala