Adds a new com.comcast.money.api.Note directly to the current Span if one is present in context.
Adds a new com.comcast.money.api.Note directly to the current Span if one is present in context.
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record(Result.success) tracer.record(Note("that", "thang")) ... }
the com.comcast.money.api.Note to be added
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
propogate to children
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
propogate to children
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
propogate to children
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
propogate to children
Captures an arbitrary data element on the current Span if present.
Captures an arbitrary data element on the current Span if present. If a span is present, a Note will be added to the Span with the key and data element provided
import com.comcast.money.core.Money._ def recordMe() { ... tracer.record("that", "thang") ... }
the identifier for the data being captured
the value being captured
Creates a new span if one is not present; or creates a child span for the existing Span if one is present
Creates a new span if one is not present; or creates a child span for the existing Span if one is present
import com.comcast.money.core.Money._ def somethingMeaningful() { try { tracer.startSpan("something") ... } finally { tracer.stopSpan() } }
an identifier for the span
Starts a new timer on the current Span for the key provided
Starts a new timer on the current Span for the key provided
import com.comcast.money.core.Money._ def timeThisChumpie() { try { tracer.startTimer("chumpie") ... } finally { tracer.stopTimer("chumpie") } }
the identifier for the timer
Stops the current span, adding a note that indicates whether it succeeded or failed.
Stops the current span, adding a note that indicates whether it succeeded or failed.
import com.comcast.money.core.Money._ def somethingMeaningful() { try { tracer.startSpan("something") ... } finally { tracer.stopSpan(Result.success) } }
The result of the span, this will be Result.success or Result.failed
Stops the timer on the current Span for the key provided.
Stops the timer on the current Span for the key provided. This method assumes that a timer was started for the
key, ususally used
in conjunction with startTimer
import com.comcast.money.core.Money._ def timeThisChumpie() { try { tracer.startTimer("chumpie") ... } finally { tracer.stopTimer("chumpie") } }
the identifier for the timer
Captures a timestamp for the key provided on the current Span if present.
Captures a timestamp for the key provided on the current Span if present. If a Span is present, a Note will be added to the Span.
import com.comcast.money.core.Money._ def timeMe() { ... tracer.time("something") ... }
the identifier for the timestamp being captured
Primary API to be used for tracing