Class SpanSnapshot.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public SpanSnapshot.Builder key​(String key)
        Unique identifier (spanId) for the trace span.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • spanName

        public SpanSnapshot.Builder spanName​(String spanName)
        Span name associated with the trace.
        Parameters:
        spanName - the value to set
        Returns:
        this builder
      • timeStarted

        public SpanSnapshot.Builder timeStarted​(Date timeStarted)
        Start time of the span.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public SpanSnapshot.Builder timeEnded​(Date timeEnded)
        End time of the span.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • spanSnapshotDetails

        public SpanSnapshot.Builder spanSnapshotDetails​(List<SnapshotDetail> spanSnapshotDetails)
        Span snapshots properties.
        Parameters:
        spanSnapshotDetails - the value to set
        Returns:
        this builder
      • threadSnapshots

        public SpanSnapshot.Builder threadSnapshots​(List<ThreadSnapshot> threadSnapshots)
        Thread snapshots.
        Parameters:
        threadSnapshots - the value to set
        Returns:
        this builder