Class OpenTelemetryAttributesAction

java.lang.Object
hudson.model.InvisibleAction
io.jenkins.plugins.opentelemetry.OpenTelemetryAttributesAction
All Implemented Interfaces:
Action, ModelObject, Serializable

public class OpenTelemetryAttributesAction extends InvisibleAction implements Serializable
See Also:
  • Constructor Details

    • OpenTelemetryAttributesAction

      public OpenTelemetryAttributesAction()
  • Method Details

    • getAttributes

      @NonNull public Map<io.opentelemetry.api.common.AttributeKey<?>,Object> getAttributes()
    • isNotYetAppliedToSpan

      public boolean isNotYetAppliedToSpan(String spanId)
      Remember a span to which these attributes are applied.
      Parameters:
      spanId -
      Returns:
      true iff a span did not previously have these attributes applied
    • addSpanIdToInheritanceAllowedList

      public void addSpanIdToInheritanceAllowedList(String spanId)
    • inheritanceAllowedSpanIdListIsEmpty

      public boolean inheritanceAllowedSpanIdListIsEmpty()
    • isSpanIdAllowedToInheritAttributes

      public boolean isSpanIdAllowedToInheritAttributes(String spanId)
    • toString

      public String toString()
      Overrides:
      toString in class Object