Class RunTraceContext

java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.RunTraceContext
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FlowNodeTraceContext

public class RunTraceContext extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • toAttributes

      @NonNull public io.opentelemetry.api.common.Attributes toAttributes()
    • getJobFullName

      public String getJobFullName()
    • getRunNumber

      public int getRunNumber()
    • getW3cTraceContext

      public Map<String,String> getW3cTraceContext()
      Returns:
      unmodifiable W3C Trace Context
    • getContext

      public io.opentelemetry.context.Context getContext()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getTraceId

      public String getTraceId()
    • getSpanId

      public String getSpanId()