Home
last modified time | relevance | path

Searched refs:OpenCensusTraceLoggingEnhancer (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancerTest.java26 import io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.SpanSelectio…
64 new OpenCensusTraceLoggingEnhancer("my-test-project-1", SpanSelection.NO_SPANS), in enhanceLogEntry_DoNotAddSampledSpanToLogEntryWithNoSpans()
78 new OpenCensusTraceLoggingEnhancer("my-test-project-2", SpanSelection.SAMPLED_SPANS), in enhanceLogEntry_AddSampledSpanToLogEntryWithSampledSpans()
95 new OpenCensusTraceLoggingEnhancer("my-test-project-3", SpanSelection.ALL_SPANS), in enhanceLogEntry_AddSampledSpanToLogEntryWithAllSpans()
112 new OpenCensusTraceLoggingEnhancer("my-test-project-4", SpanSelection.NO_SPANS), in enhanceLogEntry_DoNotAddNonSampledSpanToLogEntryWithNoSpans()
126 new OpenCensusTraceLoggingEnhancer("my-test-project-5", SpanSelection.SAMPLED_SPANS), in enhanceLogEntry_DoNotAddNonSampledSpanToLogEntryWithSampledSpans()
140 new OpenCensusTraceLoggingEnhancer("my-test-project-6", SpanSelection.ALL_SPANS), in enhanceLogEntry_AddNonSampledSpanToLogEntryWithAllSpans()
157 new OpenCensusTraceLoggingEnhancer("my-test-project-7", SpanSelection.ALL_SPANS), in enhanceLogEntry_AddBlankSpanToLogEntryWithAllSpans()
169 new OpenCensusTraceLoggingEnhancer(null, SpanSelection.ALL_SPANS), in enhanceLogEntry_ConvertNullProjectIdToEmptyString()
198 assertThat(new OpenCensusTraceLoggingEnhancer().getSpanSelection()) in spanSelectionDefaultIsAllSpans()
[all …]
/external/opencensus-java/contrib/log_correlation/stackdriver/
DREADME.md12 `OpenCensusTraceLoggingEnhancer`. `OpenCensusTraceLoggingEnhancer` adds the current trace and span
49 ### Configure the `OpenCensusTraceLoggingEnhancer`
53 By default, `OpenCensusTraceLoggingEnhancer` looks up the project ID from `google-cloud-java`. See
60 `io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.projectId`
67 `io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.spanSelection`
77 Other aspects of configuring the `OpenCensusTraceLoggingEnhancer` depend on the logging
84 "`io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer`" to the list of
94 …stem" name="io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.spanSe…
95 …stem" name="io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer.projec…
97 …<enhancer>io.opencensus.contrib.logcorrelation.stackdriver.OpenCensusTraceLoggingEnhancer</enhance…
[all …]
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancer.java38 public final class OpenCensusTraceLoggingEnhancer implements LoggingEnhancer { class
110 public OpenCensusTraceLoggingEnhancer() { in OpenCensusTraceLoggingEnhancer() method in OpenCensusTraceLoggingEnhancer
122 public OpenCensusTraceLoggingEnhancer(@Nullable String projectId, SpanSelection spanSelection) { in OpenCensusTraceLoggingEnhancer() method in OpenCensusTraceLoggingEnhancer