/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | Tracer.java | 307 public final SpanBuilder spanBuilder(String spanName) { in spanBuilder() argument 308 return spanBuilderWithExplicitParent(spanName, CurrentSpanUtils.getCurrentSpan()); in spanBuilder() 328 public abstract SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent); in spanBuilderWithExplicitParent() argument 350 String spanName, @Nullable SpanContext remoteParentSpanContext); in spanBuilderWithRemoteParent() argument 356 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent() argument 357 return NoopSpanBuilder.createWithParent(spanName, parent); in spanBuilderWithExplicitParent() 362 String spanName, @Nullable SpanContext remoteParentSpanContext) { in spanBuilderWithRemoteParent() argument 363 return NoopSpanBuilder.createWithRemoteParent(spanName, remoteParentSpanContext); in spanBuilderWithRemoteParent()
|
D | SpanBuilder.java | 318 static NoopSpanBuilder createWithParent(String spanName, @Nullable Span parent) { in createWithParent() argument 319 return new NoopSpanBuilder(spanName); in createWithParent() 323 String spanName, @Nullable SpanContext remoteParentSpanContext) { in createWithRemoteParent() argument 324 return new NoopSpanBuilder(spanName); in createWithRemoteParent()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 203 String spanName = queryMap.get(HEADER_SPAN_NAME); in emitHtmlBody() local 204 if (spanName != null) { in emitHtmlBody() 210 .put("SpanName", AttributeValue.stringAttributeValue(spanName)) in emitHtmlBody() 223 runningSpanStore.getRunningSpans(RunningSpanStore.Filter.create(spanName, 0))); in emitHtmlBody() 238 sampledSpanStore.getErrorSampledSpans(ErrorFilter.create(spanName, code, 0))); in emitHtmlBody() 250 spanName, in emitHtmlBody() 259 emitSpanNameAndCountPages(formatter, spanName, spans == null ? 0 : spans.size(), type); in emitHtmlBody() 270 Formatter formatter, String spanName, int returnedNum, RequestType type) { in emitSpanNameAndCountPages() argument 271 formatter.format("<p><b>Span Name: %s </b></p>%n", htmlEscaper().escape(spanName)); in emitSpanNameAndCountPages() 431 for (String spanName : spanNames) { in emitSummaryTable() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | TracerImpl.java | 42 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent() argument 43 return SpanBuilderImpl.createWithParent(spanName, parent, spanBuilderOptions); in spanBuilderWithExplicitParent() 48 String spanName, @Nullable SpanContext remoteParentSpanContext) { in spanBuilderWithRemoteParent() argument 50 spanName, remoteParentSpanContext, spanBuilderOptions); in spanBuilderWithRemoteParent()
|
D | SpanBuilderImpl.java | 160 static SpanBuilderImpl createWithParent(String spanName, @Nullable Span parent, Options options) { in createWithParent() argument 161 return new SpanBuilderImpl(spanName, null, parent, options); in createWithParent() 165 String spanName, @Nullable SpanContext remoteParentSpanContext, Options options) { in createWithRemoteParent() argument 166 return new SpanBuilderImpl(spanName, remoteParentSpanContext, null, options); in createWithRemoteParent()
|
/external/opencensus-java/contrib/spring/src/main/java/io/opencensus/contrib/spring/aop/ |
D | CensusSpringAspect.java | 65 String spanName = annotation.name(); in trace() local 66 if (spanName.isEmpty()) { in trace() 67 spanName = method.getName(); in trace() 70 return Handler.proceed(call, tracer, spanName); in trace()
|
D | CensusSpringSqlAspect.java | 60 String spanName = makeSpanName(call, sql); in trace() local 62 return Handler.proceed(call, tracer, spanName, sql); in trace()
|
D | Handler.java | 33 ProceedingJoinPoint call, Tracer tracer, String spanName, String... annotations) in proceed() argument 35 Scope scope = tracer.spanBuilder(spanName).startScopedSpan(); in proceed()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/ |
D | InProcessSampledSpanStoreImplTest.java | 88 private RecordEventsSpanImpl createSampledSpan(String spanName) { in createSampledSpan() argument 91 spanName, in createSampledSpan() 101 private RecordEventsSpanImpl createNotSampledSpan(String spanName) { in createNotSampledSpan() argument 104 spanName, in createNotSampledSpan() 114 private void addSpanNameToAllLatencyBuckets(String spanName) { in addSpanNameToAllLatencyBuckets() argument 116 Span sampledSpan = createSampledSpan(spanName); in addSpanNameToAllLatencyBuckets() 117 Span notSampledSpan = createNotSampledSpan(spanName); in addSpanNameToAllLatencyBuckets() 131 private void addSpanNameToAllErrorBuckets(String spanName) { in addSpanNameToAllErrorBuckets() argument 134 Span sampledSpan = createSampledSpan(spanName); in addSpanNameToAllErrorBuckets() 135 Span notSampledSpan = createNotSampledSpan(spanName); in addSpanNameToAllErrorBuckets()
|
D | SpanExporterImplTest.java | 70 StartEndHandler startEndHandler, String spanName) { in createSampledEndedSpan() argument 74 spanName, in createSampledEndedSpan() 87 StartEndHandler startEndHandler, String spanName) { in createNotSampledEndedSpan() argument 91 spanName, in createNotSampledEndedSpan()
|
D | InProcessRunningSpanStoreImplTest.java | 53 private RecordEventsSpanImpl createSpan(String spanName) { in createSpan() argument 61 spanName, in createSpan()
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/ |
D | TraceStrategyImpl.java | 35 public Closeable startScopedSpan(String spanName) { in startScopedSpan() argument 36 checkNotNull(spanName, "spanName"); in startScopedSpan() 39 .spanBuilder(spanName) in startScopedSpan()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/ |
D | InProcessSampledSpanStoreImpl.java | 270 String spanName = span.getName(); in considerForSampling() local 271 if (span.getSampleToLocalSpanStore() && !samples.containsKey(spanName)) { in considerForSampling() 272 samples.put(spanName, new PerSpanNameSamples()); in considerForSampling() 274 PerSpanNameSamples perSpanNameSamples = samples.get(spanName); in considerForSampling() 293 for (String spanName : spanNames) { in internaltRegisterSpanNamesForCollection() 294 if (!samples.containsKey(spanName)) { in internaltRegisterSpanNamesForCollection() 295 samples.put(spanName, new PerSpanNameSamples()); in internaltRegisterSpanNamesForCollection()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/ |
D | SampledSpanStore.java | 363 String spanName, long latencyLowerNs, long latencyUpperNs, int maxSpansToReturn) { in create() argument 368 spanName, latencyLowerNs, latencyUpperNs, maxSpansToReturn); in create() 433 String spanName, @Nullable CanonicalCode canonicalCode, int maxSpansToReturn) { in create() argument 438 return new AutoValue_SampledSpanStore_ErrorFilter(spanName, canonicalCode, maxSpansToReturn); in create()
|
D | RunningSpanStore.java | 163 public static Filter create(String spanName, int maxSpansToReturn) { in create() argument 165 return new AutoValue_RunningSpanStore_Filter(spanName, maxSpansToReturn); in create()
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/bootstrap/ |
D | TraceTrampoline.java | 96 public static Closeable startScopedSpan(String spanName) { in startScopedSpan() argument 97 return traceStrategy.startScopedSpan(spanName); in startScopedSpan()
|
D | TraceStrategy.java | 54 Closeable startScopedSpan(String spanName); in startScopedSpan() argument
|
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandler.java | 178 SpanName spanName = in generateSpan() local 186 .setName(spanName.toString()) in generateSpan() 447 private static String toDisplayName(String spanName, @javax.annotation.Nullable Kind spanKind) { in toDisplayName() argument 448 if (spanKind == Kind.SERVER && !spanName.startsWith(SERVER_PREFIX)) { in toDisplayName() 449 return SERVER_PREFIX + spanName; in toDisplayName() 452 if (spanKind == Kind.CLIENT && !spanName.startsWith(CLIENT_PREFIX)) { in toDisplayName() 453 return CLIENT_PREFIX + spanName; in toDisplayName() 456 return spanName; in toDisplayName()
|