final case class Remote(id: Identifier, parentId: Identifier, trace: Trace) extends Span with Product with Serializable
A immutable, no-op Span that holds information from a Span that was initially created in another process and then transferred to this process. This is the minimal representation of a Span that gets transferred through Context propagation channels. A remote Span completely ignores all writes made to it.
- Alphabetic
- By Inheritance
- Remote
- Serializable
- Serializable
- Product
- Equals
- Span
- Operation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Remote(id: Identifier, parentId: Identifier, trace: Trace)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
doNotTrackMetrics(): Span
Disables tracking of metrics for this Span.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
fail(errorMessage: String, cause: Throwable): Span
Marks the operation represented by this Span as failed and adds the provided message as a Span tag using the "error.message" key and optionally adds the "error.stacktrace" Span tag with the stack trace from the provided throwable.
Marks the operation represented by this Span as failed and adds the provided message as a Span tag using the "error.message" key and optionally adds the "error.stacktrace" Span tag with the stack trace from the provided throwable. See the "kamon.trace.include-error-stacktrace" setting for more information.
-
def
fail(cause: Throwable): Span
Marks the operation represented by this Span as failed and optionally adds the "error.stacktrace" Span tag with the stack trace from the provided throwable.
-
def
fail(errorMessage: String): Span
Marks the operation represented by this Span as failed and adds the provided message as a Span tag using the "error.message" key.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
finish(at: Instant): Unit
Finishes this Span using the provided finish instant.
-
def
finish(): Unit
Finishes this Span.
-
def
finishAfter(duration: Duration): Unit
Finishes this Span using the provided duration.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
id: Identifier
Uniquely identifies this Span within the Trace.
-
def
isEmpty: Boolean
Returns true if this Span is a placeholder because no Span information is available.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isRemote: Boolean
Returns true if this Span was initially created in another process and then transferred to this process.
-
def
kind: Kind
Returns the kind of operation represented by this Span.
-
def
link(span: Span, kind: Link.Kind): Span
Creates a link between this Span and the provided one.
-
def
mark(key: String, at: Instant): Span
Adds a new mark with the provided key and instant.
-
def
mark(key: String): Span
Adds a new mark with the provided key using the current instant from Kamon's clock.
-
def
name(name: String): Span
Changes the operation name on this Span.
Changes the operation name on this Span. Even though it is possible (and sometimes necessary) to change the operation name in a Span, take into account that the operation name might be captured by child Spans when parent operation scoping is enabled and any updates done after the child spans read the operation name will not be reflected on the "parentOperation" tag.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
operationName(): String
Returns the current operation name for this Span.
-
val
parentId: Identifier
Identifier for the parent of this this Span, if any.
-
def
position(): Position
Returns the position of this Span in the trace to which it belongs.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tag(tagSet: TagSet): Span
Adds all key/value pairs in the provided tags to the Span tags.
-
def
tag(key: String, value: Boolean): Span
Adds the provided key/value pair to the Span tags.
-
def
tag(key: String, value: Long): Span
Adds the provided key/value pair to the Span tags.
-
def
tag(key: String, value: String): Span
Adds the provided key/value pair to the Span tags.
-
def
tagMetrics(tagSet: TagSet): Span
Adds all key/value pairs in the provided tags to the Span metric tags.
-
def
tagMetrics(key: String, value: Boolean): Span
Adds the provided key/value pair to the Span metric tags.
-
def
tagMetrics(key: String, value: Long): Span
Adds the provided key/value pair to the Span metric tags.
-
def
tagMetrics(key: String, value: String): Span
Adds the provided key/value pair to the Span metric tags.
-
def
takeSamplingDecision(): Span
Makes the Span decide for a Sample or DoNotSample decision for the Trace it belongs to, in case the current that the current Sampling Decision is Unknown.
-
def
toString(): String
- Definition Classes
- Remote → AnyRef → Any
-
val
trace: Trace
Trace to which this Span belongs.
-
def
trackMetrics(): Span
Enables tracking of metrics for this Span.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()