Class ApmTraceApi.GetPrunedTraceByIDOptionalParameters

java.lang.Object
com.datadog.api.client.v2.api.ApmTraceApi.GetPrunedTraceByIDOptionalParameters
Enclosing class:
ApmTraceApi

public static class ApmTraceApi.GetPrunedTraceByIDOptionalParameters extends Object
Manage optional parameters to getPrunedTraceByID.
  • Constructor Details

    • GetPrunedTraceByIDOptionalParameters

      public GetPrunedTraceByIDOptionalParameters()
  • Method Details

    • expandSpanId

      public ApmTraceApi.GetPrunedTraceByIDOptionalParameters expandSpanId(Long expandSpanId)
      Set expandSpanId.
      Parameters:
      expandSpanId - Span ID to expand and preserve in the pruned tree even when its branch would normally be summarized. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • timeHint

      Set timeHint.
      Parameters:
      timeHint - Optional Unix time hint, in seconds, used to optimize the lookup of the trace in long-term storage. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • forceSource

      public ApmTraceApi.GetPrunedTraceByIDOptionalParameters forceSource(String forceSource)
      Set forceSource.
      Parameters:
      forceSource - Force the trace to be loaded from a specific source. When unset, the API picks the source automatically. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • includePath

      Set includePath.
      Parameters:
      includePath - Restrict the pruned tree to spans matching the given key:value pairs. Values may be passed as repeated query parameters. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • tagInclude

      Set tagInclude.
      Parameters:
      tagInclude - Regex patterns of tag keys whose values must be included in the pruned spans. Values may be passed as repeated query parameters. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • tagExclude

      Set tagExclude.
      Parameters:
      tagExclude - Regex patterns of tag keys whose values must be excluded from the pruned spans. Values may be passed as repeated query parameters. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters
    • onlyServiceEntrySpans

      public ApmTraceApi.GetPrunedTraceByIDOptionalParameters onlyServiceEntrySpans(Boolean onlyServiceEntrySpans)
      Set onlyServiceEntrySpans.
      Parameters:
      onlyServiceEntrySpans - When set to true, only service entry spans are included in the pruned tree. (optional)
      Returns:
      GetPrunedTraceByIDOptionalParameters