| Package | Description |
|---|---|
| org.honton.chas.datadog.apm |
The java API for clients of the Datadog APM.
|
| org.honton.chas.datadog.apm.cdi |
Classes that implement
Tracer
and @TraceOperation |
| Modifier and Type | Method and Description |
|---|---|
SpanBuilder |
SpanBuilder.createChild()
Create a child of this span
|
static SpanBuilder |
SpanBuilder.createChild(long traceId,
long parentSpanId)
Create a builder for a span which is a child of another span.
|
static SpanBuilder |
SpanBuilder.createRoot()
Create a builder for a root span.
|
SpanBuilder |
Tracer.createSpan()
Create a span which is a child of the current span.
|
SpanBuilder |
SpanBuilder.exception(Throwable e)
Add exception information to the metadata.
|
SpanBuilder |
Tracer.getCurrentSpan()
Get the currently active span
|
SpanBuilder |
Tracer.importCurrentSpan(SpanBuilder.SpanContext spanContext,
String resource,
String operation)
Import a span across a thread.
|
SpanBuilder |
SpanBuilder.SpanContext.importSpan(String resource,
String operation) |
SpanBuilder |
Tracer.importSpan(Tracer.HeaderAccessor headerAccessor)
Import a span across process boundaries using a set of headers.
|
SpanBuilder |
SpanBuilder.meta(String key,
String value)
Add meta information.
|
SpanBuilder |
SpanBuilder.metric(String key,
Number value)
Add a metric.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tracer.closeSpan(SpanBuilder current)
Finish the supplied span and restore the supplied span's parent as the current span.
|
| Modifier and Type | Method and Description |
|---|---|
SpanBuilder |
TracerImpl.createSpan()
Create a span which is a child of the current span.
|
SpanBuilder |
TracerImpl.getCurrentSpan()
Get the currently active span
|
SpanBuilder |
TracerImpl.importCurrentSpan(SpanBuilder.SpanContext spanContext,
String resource,
String operation) |
SpanBuilder |
TracerImpl.importSpan(Tracer.HeaderAccessor headerAccessor)
Import a span across process boundaries using a set of headers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TracerImpl.closeSpan(SpanBuilder current)
Finish the supplied span and restore the supplied span's parent as the current span.
|
Copyright © 2017–2019. All rights reserved.