Class SpanNode

java.lang.Object
io.sentry.opentelemetry.SpanNode

@Internal public final class SpanNode extends Object
  • Constructor Details

    • SpanNode

      public SpanNode(@NotNull @NotNull String spanId)
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
    • getSpan

      @Nullable public @Nullable io.opentelemetry.sdk.trace.data.SpanData getSpan()
    • setSpan

      public void setSpan(@Nullable @Nullable io.opentelemetry.sdk.trace.data.SpanData span)
    • getParentNode

      @Nullable public @Nullable SpanNode getParentNode()
    • setParentNode

      public void setParentNode(@Nullable @Nullable SpanNode parentNode)
    • getChildren

      @NotNull public @NotNull List<SpanNode> getChildren()
    • addChildren

      public void addChildren(@Nullable @Nullable List<SpanNode> children)
    • addChild

      public void addChild(@Nullable @Nullable SpanNode child)