Class KibanaLogFieldsSpanObserver
- java.lang.Object
-
- org.hawaiiframework.logging.opentracing.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 Summary
Constructors Constructor Description KibanaLogFieldsSpanObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFinish(io.opentracing.contrib.api.SpanData spanData, long finishMicros)
void
onLog(io.opentracing.contrib.api.SpanData spanData, long timestampMicroseconds, String event)
void
onLog(io.opentracing.contrib.api.SpanData spanData, long timestampMicroseconds, Map<String,?> fields)
void
onSetBaggageItem(io.opentracing.contrib.api.SpanData spanData, String key, String value)
void
onSetOperationName(io.opentracing.contrib.api.SpanData spanData, String operationName)
void
onSetTag(io.opentracing.contrib.api.SpanData spanData, String key, Object value)
-
-
-
Method Detail
-
onSetOperationName
public void onSetOperationName(io.opentracing.contrib.api.SpanData spanData, String operationName)
- Specified by:
onSetOperationName
in interfaceio.opentracing.contrib.api.SpanObserver
-
onSetTag
public void onSetTag(io.opentracing.contrib.api.SpanData spanData, String key, Object value)
- Specified by:
onSetTag
in interfaceio.opentracing.contrib.api.SpanObserver
-
onSetBaggageItem
public void onSetBaggageItem(io.opentracing.contrib.api.SpanData spanData, String key, String value)
- Specified by:
onSetBaggageItem
in interfaceio.opentracing.contrib.api.SpanObserver
-
onLog
public void onLog(io.opentracing.contrib.api.SpanData spanData, long timestampMicroseconds, Map<String,?> fields)
- Specified by:
onLog
in interfaceio.opentracing.contrib.api.SpanObserver
-
onLog
public void onLog(io.opentracing.contrib.api.SpanData spanData, long timestampMicroseconds, String event)
- Specified by:
onLog
in interfaceio.opentracing.contrib.api.SpanObserver
-
onFinish
public void onFinish(io.opentracing.contrib.api.SpanData spanData, long finishMicros)
- Specified by:
onFinish
in interfaceio.opentracing.contrib.api.SpanObserver
-
-