Class ThresholdLogSpan

    • Method Detail

      • setTag

        public ThresholdLogSpan setTag​(String key,
                                       boolean value)
        Specified by:
        setTag in interface io.opentracing.Span
      • log

        public ThresholdLogSpan log​(long timestampMicroseconds,
                                    Map<String,​?> fields)
        Specified by:
        log in interface io.opentracing.Span
      • log

        public ThresholdLogSpan log​(long timestampMicroseconds,
                                    String event)
        Specified by:
        log in interface io.opentracing.Span
      • setBaggageItem

        public ThresholdLogSpan setBaggageItem​(String key,
                                               String value)
        Specified by:
        setBaggageItem in interface io.opentracing.Span
      • getBaggageItem

        public String getBaggageItem​(String key)
        Specified by:
        getBaggageItem in interface io.opentracing.Span
      • setOperationName

        public ThresholdLogSpan setOperationName​(String operationName)
        Specified by:
        setOperationName in interface io.opentracing.Span
      • finish

        public void finish()
        Specified by:
        finish in interface io.opentracing.Span
      • durationMicros

        public long durationMicros()
        Returns the relative duration in microseconds.
      • operationName

        public String operationName()
        Returns the operation name.
      • tag

        public Object tag​(String key)
        Returns a tag if set, null otherwise.
        Parameters:
        key - the key to check.
        Returns:
        returns the value or null if not set.
      • finish

        public void finish​(long finishMicros)
        Specified by:
        finish in interface io.opentracing.Span