Class Link

java.lang.Object
io.micrometer.tracing.Link

public class Link extends Object
Represents a link between spans.
Since:
1.1.0
  • Field Details

    • NOOP

      public static final Link NOOP
      A noop implementation.
  • Constructor Details

    • Link

      public Link(TraceContext traceContext, Map<String,Object> tags)
      Creates a new instance of Link.
      Parameters:
      traceContext - trace context attached to the link
      tags - attached to the link
    • Link

      public Link(TraceContext traceContext)
      Creates a new instance of Link.
      Parameters:
      traceContext - trace context attached to the link
    • Link

      public Link(Span span, Map<String,Object> tags)
      Creates a new instance of Link.
      Parameters:
      span - span attached to the link
      tags - attached to the link
    • Link

      public Link(Span span)
      Creates a new instance of Link.
      Parameters:
      span - span attached to the link
  • Method Details