Searched refs:spanSelection (Results 1 – 6 of 6) sorted by relevance
92 private final SpanSelection spanSelection; field in OpenCensusTraceContextDataInjector131 return spanSelection; in getSpanSelection()147 OpenCensusTraceContextDataInjector(SpanSelection spanSelection) { in OpenCensusTraceContextDataInjector() argument148 this.spanSelection = spanSelection; in OpenCensusTraceContextDataInjector()158 private static SpanSelection parseSpanSelection(String spanSelection) { in parseSpanSelection() argument160 return SpanSelection.valueOf(spanSelection); in parseSpanSelection()169 return ContextDataUtils.injectContextData(spanSelection, properties, reusable); in injectContextData()175 return ContextDataUtils.nonShareableRawContextData(spanSelection); in rawContextData()
49 SpanSelection spanSelection, @Nullable List<Property> properties, StringMap reusable) { in injectContextData() argument51 return shareableRawContextData(spanSelection); in injectContextData()57 reusable.putAll(nonShareableRawContextData(spanSelection)); in injectContextData()67 private static StringMap shareableRawContextData(SpanSelection spanSelection) { in shareableRawContextData() argument68 SpanContext spanContext = shouldAddTracingDataToLogEvent(spanSelection); in shareableRawContextData()74 static ReadOnlyStringMap nonShareableRawContextData(SpanSelection spanSelection) { in nonShareableRawContextData() argument75 SpanContext spanContext = shouldAddTracingDataToLogEvent(spanSelection); in nonShareableRawContextData()84 private static SpanContext shouldAddTracingDataToLogEvent(SpanSelection spanSelection) { in shouldAddTracingDataToLogEvent() argument85 switch (spanSelection) { in shouldAddTracingDataToLogEvent()98 throw new AssertionError("Unknown spanSelection: " + spanSelection); in shouldAddTracingDataToLogEvent()
61 private final SpanSelection spanSelection; field in OpenCensusTraceLoggingEnhancer122 public OpenCensusTraceLoggingEnhancer(@Nullable String projectId, SpanSelection spanSelection) { in OpenCensusTraceLoggingEnhancer() argument124 this.spanSelection = spanSelection; in OpenCensusTraceLoggingEnhancer()142 private static SpanSelection parseSpanSelection(String spanSelection) { in parseSpanSelection() argument144 return SpanSelection.valueOf(spanSelection); in parseSpanSelection()175 return spanSelection; in getSpanSelection()181 switch (spanSelection) { in enhanceLogEntry()194 throw new AssertionError("Unknown spanSelection: " + spanSelection); in enhanceLogEntry()
58 static void initializeLog4j(SpanSelection spanSelection) { in initializeLog4j() argument60 OpenCensusTraceContextDataInjector.SPAN_SELECTION_PROPERTY_NAME, spanSelection.toString()); in initializeLog4j()
67 `io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.spanSelection`85 enhancers. Optionally, set the `spanSelection` and `projectId` properties described above as system94 …sus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.spanSelection" value="SAMPLE…115 enhancers. Optionally, set the `spanSelection` and `projectId` properties described above in the128 io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.spanSelection=SAMPL…
57 `io.opencensus.contrib.logcorrelation.log4j2.OpenCensusTraceContextDataInjector.spanSelection`