Sets the parent of the Span to be created.
Sets the parent of the Span to be created. By making a Span child of another it will inherit the Trace information from its parent.
Sets the context to be used when looking up tags and a possible parent Span if no parent is explicitly provided.
Sets the context to be used when looking up tags and a possible parent Span if no parent is explicitly provided. If no specific Context is provided the builder implementation falls back to the current Kamon Context.
Creates a new Delayed Span with all the information accumulated on the builder and the provided instant as its creation time.
Creates a new Delayed Span with all the information accumulated on the builder and the provided instant as its creation time. When a Span is created, its id, parentId, location and trace information become fixed and can no longer be modified.
Creates a new Delayed Span with all the information accumulated on the builder and the current instant as its creation time.
Creates a new Delayed Span with all the information accumulated on the builder and the current instant as its creation time. When a Span is created, its id, parentId, location and trace information become fixed and can no longer be modified.
Disables tracking of the span.processing-time metric for this 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.
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.
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. See the "kamon.trace.include-error-stacktrace" setting for more information.
Marks the operation represented by this Span as failed and adds the provided message as a Span tag using the "error.message" key.
Signals that the builder should not attempt to make the new Span a child of the Span held on the current context at the moment of creation, if any.
Sets the kind of operation represented by the Span to be created.
Creates a link between this Span and the provided one.
Adds a new mark with the provided key and instant.
Adds a new mark with the provided key using the current instant from Kamon's clock.
Returns the Span metric tags that have been added so far to the SpanBuilder.
Changes the operation name on this SpanBuilder.
Returns the current operation name on this SpanBuilder.
Returns the current operation name on this SpanBuilder.
Suggests a sampling decision in case a new Trace will be created for the new Span.
Suggests a sampling decision in case a new Trace will be created for the new Span. This suggestion will only be taken into account if this Span doesn't have any parent or the parent's sampling decision is Unknown.
Creates a new Span with all then information accumulated on the builder and the current instant as its start time stamp.
Creates a new Span with all then information accumulated on the builder and the current instant as its start time stamp. When a Span is created, its id, parentId, location and trace information become fixed and can no longer be modified.
Creates a new Span with all the information accumulated on the builder and the provided instant as its start time stamp.
Creates a new Span with all the information accumulated on the builder and the provided instant as its start time stamp. When a Span is created, its id, parentId, location and trace information become fixed and can no longer be modified.
Adds all key/value pairs in the provided tags to the Span tags.
Adds all key/value pairs in the provided tags to the Span tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span tags.
Adds the provided key/value pair to the Span tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span tags.
Adds the provided key/value pair to the Span tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span tags.
Adds the provided key/value pair to the Span tags. If a tag with the provided key was already present then its value will be overwritten.
Adds all key/value pairs in the provided tags to the Span metric tags.
Adds all key/value pairs in the provided tags to the Span metric tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span metric tags.
Adds the provided key/value pair to the Span metric tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span metric tags.
Adds the provided key/value pair to the Span metric tags. If a tag with the provided key was already present then its value will be overwritten.
Adds the provided key/value pair to the Span metric tags.
Adds the provided key/value pair to the Span metric tags. If a tag with the provided key was already present then its value will be overwritten.
Returns the Span tags that have been added so far to the SpanBuilder.
Suggests a Trace Identifier in case a new Trace will be created for the new Span.
Suggests a Trace Identifier in case a new Trace will be created for the new Span. This suggestion will only be taken into account if the new Span is to become the root Span in a new Trace, otherwise the parent Span's trace will be used.
Enables tracking of the span.processing-time metric for this Span.
Gathers information about an operation before it can be turned into a Span. The Span creation is handled in two steps (creating a builder and then creating a Span from it) because there are certain bits of information that can only be influenced or changed at the early life of a Span, like the parent Span or the Trace information but once the SpanBuilder is turned into a Span they cannot be modified anymore.
Implementations are not expected to be thread safe.