Class KibanaLogFieldsSpanObserver

  • All Implemented Interfaces:
    io.opentracing.contrib.api.SpanObserver

    public class KibanaLogFieldsSpanObserver
    extends Object
    implements io.opentracing.contrib.api.SpanObserver
    A SpanObserver that adds some field data in KibanaLogFields.
    • Constructor Detail

      • KibanaLogFieldsSpanObserver

        public KibanaLogFieldsSpanObserver()
    • Method Detail

      • onSetOperationName

        public void onSetOperationName​(io.opentracing.contrib.api.SpanData spanData,
                                       String operationName)
        Specified by:
        onSetOperationName in interface io.opentracing.contrib.api.SpanObserver
      • onSetTag

        public void onSetTag​(io.opentracing.contrib.api.SpanData spanData,
                             String key,
                             Object value)
        Specified by:
        onSetTag in interface io.opentracing.contrib.api.SpanObserver
      • onSetBaggageItem

        public void onSetBaggageItem​(io.opentracing.contrib.api.SpanData spanData,
                                     String key,
                                     String value)
        Specified by:
        onSetBaggageItem in interface io.opentracing.contrib.api.SpanObserver
      • onLog

        public void onLog​(io.opentracing.contrib.api.SpanData spanData,
                          long timestampMicroseconds,
                          Map<String,​?> fields)
        Specified by:
        onLog in interface io.opentracing.contrib.api.SpanObserver
      • onLog

        public void onLog​(io.opentracing.contrib.api.SpanData spanData,
                          long timestampMicroseconds,
                          String event)
        Specified by:
        onLog in interface io.opentracing.contrib.api.SpanObserver
      • onFinish

        public void onFinish​(io.opentracing.contrib.api.SpanData spanData,
                             long finishMicros)
        Specified by:
        onFinish in interface io.opentracing.contrib.api.SpanObserver