Searched refs:OpenCensusTraceContextDataInjector (Results 1 – 9 of 9) sorted by relevance
23 import io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.SpanSelection;50 assertThat(OpenCensusTraceContextDataInjector.SPAN_SELECTION_PROPERTY_NAME) in spanSelectionPropertyName()51 .isEqualTo(OpenCensusTraceContextDataInjector.class.getName() + ".spanSelection"); in spanSelectionPropertyName()56 assertThat(OpenCensusTraceContextDataInjector.TRACE_ID_CONTEXT_KEY) in traceIdKey()62 assertThat(OpenCensusTraceContextDataInjector.SPAN_ID_CONTEXT_KEY) in spanIdKey()68 assertThat(OpenCensusTraceContextDataInjector.TRACE_SAMPLED_CONTEXT_KEY) in traceSampledKey()74 assertThat(new OpenCensusTraceContextDataInjector().getSpanSelection()) in spanSelectionDefaultIsAllSpans()82 OpenCensusTraceContextDataInjector.SPAN_SELECTION_PROPERTY_NAME, "NO_SPANS"); in setSpanSelectionWithSystemProperty()83 assertThat(new OpenCensusTraceContextDataInjector().getSpanSelection()) in setSpanSelectionWithSystemProperty()86 System.clearProperty(OpenCensusTraceContextDataInjector.SPAN_SELECTION_PROPERTY_NAME); in setSpanSelectionWithSystemProperty()[all …]
22 import io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.SpanSelection;153 OpenCensusTraceContextDataInjector.TRACE_ID_CONTEXT_KEY, "existingTraceId"); in overwriteExistingTracingKey()157 ThreadContext.remove(OpenCensusTraceContextDataInjector.TRACE_ID_CONTEXT_KEY); in overwriteExistingTracingKey()
21 import io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.SpanSelection;60 OpenCensusTraceContextDataInjector.SPAN_SELECTION_PROPERTY_NAME, spanSelection.toString()); in initializeLog4j()
22 import io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.SpanSelection;
59 public final class OpenCensusTraceContextDataInjector implements ContextDataInjector { class142 public OpenCensusTraceContextDataInjector() { in OpenCensusTraceContextDataInjector() method in OpenCensusTraceContextDataInjector147 OpenCensusTraceContextDataInjector(SpanSelection spanSelection) { in OpenCensusTraceContextDataInjector() method in OpenCensusTraceContextDataInjector
19 import io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.SpanSelection;137 OpenCensusTraceContextDataInjector.TRACE_ID_CONTEXT_KEY, in getShareableContextAndTracingData()140 OpenCensusTraceContextDataInjector.SPAN_ID_CONTEXT_KEY, in getShareableContextAndTracingData()143 OpenCensusTraceContextDataInjector.TRACE_SAMPLED_CONTEXT_KEY, in getShareableContextAndTracingData()
14 `OpenCensusTraceContextDataInjector`. `OpenCensusTraceContextDataInjector` adds the current trace44 ### Configure the `OpenCensusTraceContextDataInjector`50 `io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector`.57 `io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.spanSelection`
21 'io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector'