| Package | Description |
|---|---|
| com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
| com.azure.core.util |
Package containing core utility classes.
|
| com.azure.core.util.tracing |
Package containing API for tracing.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<HttpResponse> |
HttpPipeline.send(HttpRequest request,
Context data)
Wraps the request in a context with additional metadata and sends it through the pipeline.
|
| Modifier and Type | Field and Description |
|---|---|
static Context |
Context.NONE
Signifies that no data needs to be passed to the pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.addData(Object key,
Object value)
|
static Context |
Context.of(Map<Object,Object> keyValues)
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Tracer.extractContext(String diagnosticId,
Context context)
Extracts the span's context as
Context from upstream. |
Context |
Tracer.setSpanName(String spanName,
Context context)
Sets the name for spans that are created.
|
static Context |
TracerProxy.setSpanName(String spanName,
Context context)
Sets the span name for each
tracer plugged into the SDK. |
Context |
Tracer.start(String methodName,
Context context)
Creates a new tracing span.
|
static Context |
TracerProxy.start(String methodName,
Context context)
A new tracing span is created for each
tracer plugged into the SDK. |
Context |
Tracer.start(String methodName,
Context context,
ProcessKind processKind)
Creates a new tracing span for AMQP calls.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tracer.addLink(Context context)
Provides a way to link multiple tracing spans.
|
void |
Tracer.end(int responseCode,
Throwable error,
Context context)
Completes the current tracing span.
|
static void |
TracerProxy.end(int responseCode,
Throwable error,
Context context)
For each
tracer plugged into the SDK, its current tracing span is marked as completed. |
void |
Tracer.end(String statusMessage,
Throwable error,
Context context)
Completes the current tracing span for AMQP calls.
|
Context |
Tracer.extractContext(String diagnosticId,
Context context)
Extracts the span's context as
Context from upstream. |
void |
Tracer.setAttribute(String key,
String value,
Context context)
Adds metadata to the current span.
|
static void |
TracerProxy.setAttribute(String key,
String value,
Context context)
For each
tracer plugged into the SDK, the key-value pair metadata is added to its current span. |
Context |
Tracer.setSpanName(String spanName,
Context context)
Sets the name for spans that are created.
|
static Context |
TracerProxy.setSpanName(String spanName,
Context context)
Sets the span name for each
tracer plugged into the SDK. |
Context |
Tracer.start(String methodName,
Context context)
Creates a new tracing span.
|
static Context |
TracerProxy.start(String methodName,
Context context)
A new tracing span is created for each
tracer plugged into the SDK. |
Context |
Tracer.start(String methodName,
Context context,
ProcessKind processKind)
Creates a new tracing span for AMQP calls.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.