Index

A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acceptAnyStatus() - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Returns every status to the caller (health probes); no status is retried.
acceptNativeIds(boolean) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Sets the package-wide default: whether TraceIds.traceId(String) and TraceIds.spanId(String) keep native (non-hex) ids verbatim instead of rejecting them, on every thread that has no scoped policy (TraceIds.withNativeIds(boolean, java.util.function.Supplier<T>)).
accepts(int) - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns whether a non-2xx status is returned to the caller instead of raising an error.
acceptsNativeIds() - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Whether this client's backend has native (non-hex) trace and span ids that the query model keeps verbatim (see TraceIds).
acceptStatus(int...) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Returns these statuses to the caller instead of raising an error (no retries for them).
addEvent(String) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Adds an event to the current span.
addEvent(String, Map<String, ?>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Adds an event with attributes to the current span.
ALWAYS_OFF - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Sample nothing.
ALWAYS_ON - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Sample everything.
annotation(long, String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Adds an annotation.
annotation(String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Adds a bare term: a tag key or an annotation value (error, cache.miss).
annotationQuery() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Raw Zipkin annotation query, for example http.method=GET and error.
annotationQuery(String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Raw annotation query.
annotations() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the annotations record component.
annotations() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Bare terms: a tag key or an annotation value.
annotationToEvent(ZipkinAnnotation) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Decodes an annotation into an event: a value of the form {"<name>": {…attributes}} (how ZipkinSpanExporter encodes an event with attributes) becomes that name and attributes; any other value is the event name with no attributes.
arg(String) - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns a required string argument.
args() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns the value of the args record component.
args() - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns the arguments with ${...} variables substituted (#{i} is kept).
asSdkException(Throwable, String) - Static method in class codes.grow.packages.zipkin.core.HttpTransport
Converts any throwable from a future into the matching SDK exception.
assertPassed() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Throws when any scenario failed.
attempt() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the attempt record component.
attempts() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the number of attempts the call needed.
attribute(String, Object) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Adds one attribute.
attribute(String, Object) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Adds one attribute.
attributes() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the attributes record component.
attributes() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Returns the value of the attributes record component.
attributes() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Returns the value of the attributes record component.
attributes() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions
Attributes set at span start.
attributes(Attributes) - Static method in class codes.grow.packages.zipkin.testing.tracing.SpanDataConverter
Converts OpenTelemetry attributes into attribute values (arrays become lists).
attributes(Map<String, ?>) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Adds attributes.
attributes(Map<String, ?>) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Adds attributes.
AUTHENTICATION - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 401: missing or invalid credentials.
AuthenticationException - Exception Class in codes.grow.packages.zipkin.core
Missing or invalid credentials (HTTP 401).
AuthenticationException(String) - Constructor for exception class codes.grow.packages.zipkin.core.AuthenticationException
Creates the exception.
AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.AuthenticationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.AuthenticationException
Creates the exception with response details.
AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.AuthenticationException
Creates the exception with a cause.
autocompleteKeys() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Tag keys the server indexes for autocomplete: GET /api/v2/autocompleteKeys (the server's AUTOCOMPLETE_KEYS in configured order, empty when unset).
autocompleteKeysAsync() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
autocompleteValues(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Distinct values seen for an autocomplete key: GET /api/v2/autocompleteValues?key= (sorted; empty for a key that is not in AUTOCOMPLETE_KEYS).
autocompleteValuesAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.zipkin.core.HttpTransport
Waits for a future of this SDK: an interrupt cancels the future and raises CancelledException.

B

backoff(int) - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Computes the full-jitter backoff for retry n.
backoffCap(int) - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the upper bound of the jitter window for retry n.
baseFromEndpoint(String) - Static method in class codes.grow.packages.zipkin.ZipkinConfig
The server base URL of a spans endpoint: strips one trailing /api/v2/spans (and slashes).
baseUrl() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the base URL.
batch() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Batch processor settings.
batch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the batch processor settings.
batchOptions() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the batchOptions object of a logging scenario.
BatchSettings(int, int, Duration, Duration) - Constructor for record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Creates an instance of a BatchSettings record class.
body() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns a copy of the body.
body() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns a copy of the body.
body(byte[], String) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Sets a raw body.
bool(String, String...) - Method in class codes.grow.packages.zipkin.core.EnvReader
Reads a boolean (true/false/1/0/yes/no/on/off, case-insensitive).
build() - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Validates and builds the policy.
build() - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Builds the configuration.
build() - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Builds the request.
build() - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Builds the runner.
build() - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Builds the span.
build() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Builds the query.
build() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Validates and builds.
build() - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Builds the configuration and the client.
build() - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Builds and validates the configuration.
build() - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
build() - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Builds the exporter.
build() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Builds the query.
buildAnnotationQuery(Map<String, String>, Collection<String>) - Static method in class codes.grow.packages.zipkin.ZipkinQueryClient
Builds a Zipkin annotationQuery from exact tag matches and bare terms (joined with " and ").
builder() - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
Starts a builder with the defaults.
builder() - Static method in class codes.grow.packages.zipkin.core.TlsOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Starts a builder with CoreOps and the built-in category operations registered.
builder() - Static method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Returns a builder.
builder() - Static method in class codes.grow.packages.zipkin.tracing.SpanOptions
Returns a builder.
builder() - Static method in class codes.grow.packages.zipkin.ZipkinClient
Starts a client builder.
builder() - Static method in class codes.grow.packages.zipkin.ZipkinConfig
Starts an empty builder (every field at its default).
builder() - Static method in class codes.grow.packages.zipkin.ZipkinSpanExporter
Starts a builder (default: an owned reporter from ZipkinConfig.fromEnv(), gzip).
builder() - Static method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Starts an empty query (server defaults).
builder() - Static method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Starts empty options (process environment, connection settings from it).
builder(String) - Static method in class codes.grow.packages.zipkin.core.TransportConfig
Starts a builder with the SPEC defaults.
builder(String) - Static method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns a builder.
builder(String, String) - Static method in class codes.grow.packages.zipkin.core.TransportRequest
Starts a request.
builder(String, String) - Static method in record class codes.grow.packages.zipkin.ZipkinSpan
Starts a builder.
builder(String, String, String) - Static method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns a builder.
buildTree(List<Span>) - Static method in class codes.grow.packages.zipkin.tracing.query.Traces
Builds the span tree.

C

caCertPath() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns the CA bundle path.
caCertPath(Path) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Trusts the CA certificates in a PEM file instead of the system trust store.
caCertPem() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns the inline CA bundle.
caCertPem(String) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Trusts the CA certificates in inline PEM text.
callCount() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Returns the value of the callCount record component.
callCount() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns the value of the callCount record component.
CANCELLED - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
The caller cancelled the operation.
CancelledException - Exception Class in codes.grow.packages.zipkin.core
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
CancelledException(String) - Constructor for exception class codes.grow.packages.zipkin.core.CancelledException
Creates the exception.
CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.CancelledException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.CancelledException
Creates the exception with response details.
CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.CancelledException
Creates the exception with a cause.
capabilities(String...) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Declares capabilities of the target (write, delete, versions, query, version, ...).
category() - Method in interface codes.grow.packages.zipkin.testing.ConformanceOps
Returns the category these operations serve.
category() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the category record component.
category() - Method in class codes.grow.packages.zipkin.testing.CoreOps
 
category() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the category record component.
category() - Method in class codes.grow.packages.zipkin.testing.tracing.TracingOps
 
check(HttpTransport, String) - Static method in class codes.grow.packages.zipkin.core.HealthCheck
Probes an endpoint once (no retries) and maps the outcome to a HealthStatus.
check(JsonNode, Object, Throwable) - Static method in class codes.grow.packages.zipkin.testing.Expectations
Checks a step outcome.
checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.zipkin.core.HealthCheck
child() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Returns the value of the child record component.
child() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns the value of the child record component.
children() - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
Returns the value of the children record component.
clear() - Method in class codes.grow.packages.zipkin.core.Secret
Overwrites the characters with zeros; later Secret.reveal() calls throw.
CLIENT - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"client".
CLIENT - Enum constant in enum class codes.grow.packages.zipkin.ZipkinKind
Client side of an RPC.
clientCertPath() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns the client certificate path.
clientCertPath(Path) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Sets the client certificate file (mutual TLS); requires a key.
clientCertPem(String) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Sets the client certificate as inline PEM.
clientConfig(ZipkinConfig) - Method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Connection settings of the native exporter (proxy, TLS, retries, hooks, logger, headers, endpoint).
clientKeyPath() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns the client key path.
clientKeyPath(Path) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Sets the client key file (unencrypted PKCS#8 PEM).
clientKeyPem(Secret) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Sets the client key as inline PEM.
clock() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the clock used for Retry-After dates.
clock(Clock) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the clock (tests).
close() - Method in class codes.grow.packages.zipkin.core.HttpTransport
Cancels pending calls and releases the client.
close() - Method in interface codes.grow.packages.zipkin.testing.CoreTarget
Releases the target; idempotent.
close() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
close() - Method in class codes.grow.packages.zipkin.ZipkinClient
Stops registered resources and the transport.
close() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Releases connections when this client owns them (no-op for a client's).
close() - Method in class codes.grow.packages.zipkin.ZipkinReporter
Releases connections when this reporter owns them (no-op for a client's).
close() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
 
code() - Method in exception class codes.grow.packages.zipkin.core.ZipkinException
Returns the canonical error code.
code() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Returns the value of the code record component.
codes.grow.packages.zipkin - package codes.grow.packages.zipkin
Grow Codes SDK for Zipkin.
codes.grow.packages.zipkin.core - package codes.grow.packages.zipkin.core
 
codes.grow.packages.zipkin.testing - package codes.grow.packages.zipkin.testing
 
codes.grow.packages.zipkin.testing.tracing - package codes.grow.packages.zipkin.testing.tracing
 
codes.grow.packages.zipkin.tracing - package codes.grow.packages.zipkin.tracing
 
codes.grow.packages.zipkin.tracing.query - package codes.grow.packages.zipkin.tracing.query
 
commit() - Method in record class codes.grow.packages.zipkin.ZipkinServerInfo
Returns the value of the commit record component.
compression() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Export compression.
compression() - Method in class codes.grow.packages.zipkin.ZipkinReporter
Request body compression.
compression(TracingConfig.Compression) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the export compression.
compression(TracingConfig.Compression) - Method in class codes.grow.packages.zipkin.ZipkinReporter.Options
Request body compression (GZIP sends Content-Encoding: gzip).
compression(TracingConfig.Compression) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Request body compression of an owned reporter (default gzip).
compressionExplicit() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns whether TracingConfig.compression() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
config() - Method in class codes.grow.packages.zipkin.core.HttpTransport
Returns the configuration.
config() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
The config this handle was created from.
config() - Method in class codes.grow.packages.zipkin.ZipkinClient
Returns the configuration.
config() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The resolved tracing config.
config(ZipkinConfig) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Connection settings of an owned reporter (default ZipkinConfig.fromEnv()).
CONFIG - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
Invalid or missing configuration.
ConfigException - Exception Class in codes.grow.packages.zipkin.core
Invalid or missing configuration.
ConfigException(String) - Constructor for exception class codes.grow.packages.zipkin.core.ConfigException
Creates the exception.
ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConfigException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConfigException
Creates the exception with response details.
ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConfigException
Creates the exception with a cause.
CONFLICT - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 409, 412 or a check-and-set mismatch.
ConflictException - Exception Class in codes.grow.packages.zipkin.core
Conflicting write or check-and-set mismatch (HTTP 409, 412).
ConflictException(String) - Constructor for exception class codes.grow.packages.zipkin.core.ConflictException
Creates the exception.
ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConflictException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConflictException
Creates the exception with response details.
ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ConflictException
Creates the exception with a cause.
ConformanceOps - Interface in codes.grow.packages.zipkin.testing
The operations of one scenario category (core, secrets, logging, tracing) for the ConformanceRunner.
ConformanceReport - Record Class in codes.grow.packages.zipkin.testing
Results of a conformance run.
ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.zipkin.testing.ConformanceReport
Creates a report; the list is copied.
ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.zipkin.testing
Result of one scenario.
ConformanceReport.Status - Enum Class in codes.grow.packages.zipkin.testing
Outcome of a scenario or step.
ConformanceReport.StepResult - Record Class in codes.grow.packages.zipkin.testing
Result of one step.
ConformanceRunner - Class in codes.grow.packages.zipkin.testing
Runs the shared conformance scenarios (conformance/scenarios/*.json, SPEC section 6) against targets supplied by a service's integration test.
ConformanceRunner.Builder - Class in codes.grow.packages.zipkin.testing
Builder for ConformanceRunner.
connectTimeout() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the connection setup timeout.
connectTimeout() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the connect timeout (default 10 s).
CONSUMER - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"consumer".
CONSUMER - Enum constant in enum class codes.grow.packages.zipkin.ZipkinKind
Receives a message from a broker.
contentType() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the body content type.
CoreOps - Class in codes.grow.packages.zipkin.testing
Conformance operations of the core category: health, ping, serverVersion, close.
CoreOps() - Constructor for class codes.grow.packages.zipkin.testing.CoreOps
Creates the operations.
CoreTarget - Interface in codes.grow.packages.zipkin.testing
A target of the core conformance category that is not the service client: a fake for unit tests of the runner, or an adapter for a client whose core methods differ.
count() - Method in class codes.grow.packages.zipkin.testing.OpResult
Returns the explicit count.
create(Scenario) - Method in interface codes.grow.packages.zipkin.testing.TargetFactory
Creates or returns the target for one scenario.
create(TracingConfig) - Static method in class codes.grow.packages.zipkin.tracing.OtlpExporters
Creates an OTLP exporter for the config's protocol.
create(TracingConfig) - Method in interface codes.grow.packages.zipkin.tracing.SpanExporterFactory
Creates the exporter.
create(ZipkinConfig) - Static method in class codes.grow.packages.zipkin.ZipkinClient
Creates a client.
create(ZipkinConfig) - Static method in class codes.grow.packages.zipkin.ZipkinQueryClient
A standalone query client.
create(ZipkinConfig) - Static method in class codes.grow.packages.zipkin.ZipkinReporter
A standalone reporter with default options (no compression, 512 spans per POST).
create(ZipkinConfig, ZipkinReporter.Options) - Static method in class codes.grow.packages.zipkin.ZipkinReporter
A standalone reporter.
create(ZipkinReporter) - Static method in class codes.grow.packages.zipkin.ZipkinSpanExporter
An exporter that sends through reporter (not closed by ZipkinSpanExporter.shutdown()).
create(Class<T>, T) - Static method in class codes.grow.packages.zipkin.tracing.TracedProxy
Wraps target using the helpers' default tracer.
create(Class<T>, T, Tracer) - Static method in class codes.grow.packages.zipkin.tracing.TracedProxy
Wraps target with an explicit tracer.
createReporter(ZipkinReporter.Options) - Method in class codes.grow.packages.zipkin.ZipkinClient
A reporter with other options that shares this client's connections.
currentSpan() - Static method in class codes.grow.packages.zipkin.tracing.Spans
The current span (an invalid no-op span when none is active).
currentSpanId() - Static method in class codes.grow.packages.zipkin.tracing.Spans
Span id of the current span.
currentTraceId() - Static method in class codes.grow.packages.zipkin.tracing.Spans
Trace id of the current span.

D

debug() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the debug record component.
debug(boolean) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the debug flag (force-store).
debug(String) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at debug level without fields.
debug(String, Map<String, Object>) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at debug level.
decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.zipkin.core.Json
Decodes JSON bytes into a generic type.
decode(byte[], Class<T>) - Static method in class codes.grow.packages.zipkin.core.Json
Decodes JSON bytes into a type.
deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.zipkin.testing.Expectations
Deep JSON equality where objects in expected are matched as subsets and numbers compare by value (42 == 42.0).
DEFAULT_GRPC_ENDPOINT - Static variable in class codes.grow.packages.zipkin.tracing.OtlpExporters
Default OTLP/gRPC endpoint.
DEFAULT_HTTP_ENDPOINT - Static variable in class codes.grow.packages.zipkin.tracing.OtlpExporters
Default OTLP/HTTP traces endpoint.
DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
The interval used when none is given.
DEFAULT_MAX_BATCH_SIZE - Static variable in class codes.grow.packages.zipkin.ZipkinReporter
Default number of spans per POST (SPEC batch default).
DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.zipkin.core.RetryPolicy
Default maximum number of retries (so up to 4 attempts).
DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.zipkin.testing.ConformanceRunner
Pause between repeated steps.
DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.zipkin.testing.ConformanceRunner
How long listServices steps are repeated until their expectation passes.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.zipkin.core.EnvReader
Prefix of every variable of this SDK.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.zipkin.testing.ConformanceRunner
Default value of ${prefix}.
DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.zipkin.tracing.TracingConfig
Default propagators.
DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.zipkin.ZipkinTracing
Default propagators of the preset: W3C trace context + baggage and B3 single-header ( b3).
DEFAULT_PROTOCOL - Static variable in class codes.grow.packages.zipkin.ZipkinTracing
Default protocol of the preset: Zipkin v2 JSON to /api/v2/spans.
DEFAULT_SEARCH_LIMIT - Static variable in class codes.grow.packages.zipkin.ZipkinQueryClient
DEFAULT_SEARCH_WINDOW - Static variable in class codes.grow.packages.zipkin.ZipkinQueryClient
DEFAULT_URL - Static variable in class codes.grow.packages.zipkin.ZipkinConfig
Default server URL.
defaults() - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the default policy: 3 retries, 100 ms initial, 10 s max, multiplier 2, Retry-After up to 60 s.
defaults() - Static method in class codes.grow.packages.zipkin.core.TlsOptions
Returns options without any customisation (system trust store).
defaults() - Static method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Defaults: 30 s, 1 s, 1 span.
defaults() - Static method in class codes.grow.packages.zipkin.tracing.SpanOptions
Defaults: internal span, no attributes, current context as parent, the helpers' tracer.
defaults() - Static method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
The defaults.
defaults() - Static method in class codes.grow.packages.zipkin.ZipkinReporter.Options
The defaults: no compression, 512 spans per POST, the config's endpoint.
delegate() - Method in class codes.grow.packages.zipkin.tracing.TracedHttpClient
The wrapped client.
delete(String) - Static method in class codes.grow.packages.zipkin.core.TransportRequest
Starts a DELETE request.
dependenciesFromBody(JsonNode) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Decodes /api/v2/dependencies: errorCount defaults to 0, sorted by parent then child.
DependencyLink - Record Class in codes.grow.packages.zipkin.tracing.query
A service dependency edge.
DependencyLink(String, String, long) - Constructor for record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Creates an instance of a DependencyLink record class.
describe() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns a one-line description.
description() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the description record component.
details() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Returns the value of the details record component.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.zipkin.tracing.TracingFilter
 
duration() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the call duration including retries.
duration() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the duration record component.
duration(long) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the duration.
duration(String, String...) - Method in class codes.grow.packages.zipkin.core.EnvReader
Reads a duration (integer milliseconds or Go-style units such as 1m30s).
duration(Duration) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the duration.
durationMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the durationMicros record component.
durationMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the durationMicros record component.
durationMicros(long) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets an explicit duration.
durationMs() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the durationMs record component.
durationMs() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the durationMs record component.
dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.zipkin.testing.JUnitConformance
Creates one dynamic test per selected scenario.

E

encode(Object) - Static method in class codes.grow.packages.zipkin.core.Json
Encodes a value as UTF-8 JSON.
end() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Range end.
end(Instant) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the range end.
endMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the endMicros record component.
endpoint() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Export endpoint.
endpoint() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the span ingest URL used by ZipkinReporter and the tracing exporter.
endpoint() - Method in class codes.grow.packages.zipkin.ZipkinReporter
endpoint() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The exporter endpoint in use (…/api/v2/spans for the native protocol, else the OpenTelemetry Collector endpoint).
endpoint(String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the export endpoint.
endpoint(String) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the span ingest URL (default <url>/api/v2/spans).
endpoint(String) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the full span ingest URL (default <url>/api/v2/spans).
endpoint(String) - Method in class codes.grow.packages.zipkin.ZipkinReporter.Options
Ingest URL; default the config's endpoint.
endTs() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
End of the window.
endTs(Instant) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
End of the window.
env(Map<String, String>) - Method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Reads this variable map instead of the process environment.
environment() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
deployment.environment.name (and the legacy deployment.environment).
environment(String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets deployment.environment.name and the legacy deployment.environment.
EnvReader - Class in codes.grow.packages.zipkin.core
Reads configuration from environment variables (SPEC section 2.2).
EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.zipkin.core.EnvReader
Creates a reader over an explicit environment map.
equals(Object) - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.Scenario
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.ZipkinAnnotation
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.ZipkinServerInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Indicates whether some other object is "equal to" this one.
error() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns the value of the error record component.
error(String) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at error level without fields.
error(String, Map<String, Object>) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at error level.
ERROR - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
"error".
ErrorCode - Enum Class in codes.grow.packages.zipkin.core
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
errorCount() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns the value of the errorCount record component.
ErrorInfo(String, String, ZipkinException, int, boolean) - Constructor for record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Creates an instance of a ErrorInfo record class.
errorMapper() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the service error mapper.
errorMapper(ErrorMapper) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the service error mapper (see ErrorMapper).
ErrorMapper - Interface in codes.grow.packages.zipkin.core
Service hook that replaces the error HttpTransport derived from a failed response, for vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says the request will never succeed).
errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.zipkin.core.HttpTransport
Builds an error message "<operation>: <reason> (HTTP <status>)" with redacted, truncated vendor text.
event(Span.Event) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Adds an event.
Event(String, long, Map<String, Object>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.Span.Event
Copies the attributes.
events() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the events record component.
expect() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns the value of the expect record component.
Expectations - Class in codes.grow.packages.zipkin.testing
Evaluates the expect object of a scenario step (SPEC section 6).
explicitInterval() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns the interval the caller set, or empty when it was left unset (the record then holds WaitForTraceOptions.DEFAULT_INTERVAL).
export(Collection<SpanData>) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
 
export(Collection<SpanData>) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter
 
exporterFactory(ZipkinConfig, Consumer<Throwable>) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
The span exporter factory of the preset.
exportTimeout() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns the value of the exportTimeout record component.
extract(Map<String, String>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Extracts a context from a string map (keys match case-insensitively).
extract(Map<String, String>, ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Extracts with explicit propagators.
extractHeaders(Map<String, List<String>>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Extracts a context from a multi-valued header map (names match case-insensitively).
extractHeaders(Map<String, List<String>>, ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Extracts from a multi-valued header map with explicit propagators.

F

factory() - Static method in class codes.grow.packages.zipkin.tracing.OtlpExporters
Returns a factory that creates an OTLP exporter for the config's protocol.
FAILED - Enum constant in enum class codes.grow.packages.zipkin.testing.ConformanceReport.Status
An expectation failed or the step raised an unexpected error.
fields(ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Names of the propagation fields of the given propagators.
flush() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
 
flush() - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter
Completes when every export in flight finished.
forceFlush() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Exports all finished spans, waiting at most the export timeout.
forceFlush() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
Exports every finished span now (waits up to the export timeout).
forceFlush(Duration) - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Exports all finished spans.
forceFlush(Duration) - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
Exports every finished span now.
forceFlushAsync(Duration) - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
forceFlushAsync(Duration) - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
forService(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Query for one service.
forStatus(int) - Static method in enum class codes.grow.packages.zipkin.core.ErrorCode
Maps an HTTP status to its canonical code.
from(Map<String, ?>) - Static method in class codes.grow.packages.zipkin.tracing.OtelAttributes
Converts a map.
fromEnv() - Static method in class codes.grow.packages.zipkin.ZipkinClient
Creates a client from GROW_ZIPKIN_*, ZIPKIN_URL and OTEL_EXPORTER_ZIPKIN_ENDPOINT.
fromEnv() - Static method in class codes.grow.packages.zipkin.ZipkinConfig
Reads the configuration from the process environment.
fromEnv() - Static method in class codes.grow.packages.zipkin.ZipkinQueryClient
A standalone query client from GROW_ZIPKIN_* / ZIPKIN_URL.
fromEnv() - Static method in class codes.grow.packages.zipkin.ZipkinReporter
A standalone reporter from GROW_ZIPKIN_* / ZIPKIN_URL / OTEL_EXPORTER_ZIPKIN_ENDPOINT.
fromEnv(EnvReader) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Fills unset fields from an environment reader.
fromEnv(EnvReader) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Fills every field that was not set explicitly from the environment.
fromEnv(Map<String, String>) - Static method in class codes.grow.packages.zipkin.ZipkinConfig
Reads the configuration from an explicit variable map (tests).
fromError(ZipkinException) - Static method in class codes.grow.packages.zipkin.core.HealthCheck
Maps a transport error to unreachable.
fromResponse(TransportResponse) - Static method in class codes.grow.packages.zipkin.core.HealthCheck
Maps a health response: 2xx is healthy; the word comes from a JSON status field ( ok / unhealthy when absent); other string fields become details.

G

get() - Method in interface codes.grow.packages.zipkin.tracing.ThrowingSupplier
Computes the result.
get(String) - Static method in class codes.grow.packages.zipkin.core.TransportRequest
Starts a GET request.
getDependencies() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Service dependency edges of the last 24 h (server default) up to now.
getDependencies(Instant, Duration) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Service dependency edges: GET /api/v2/dependencies?endTs=&lookback=, sorted by parent and child, errorCount defaulting to 0.
getDependencies(Instant, Instant) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
 
getDependencies(Instant, Instant) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Service dependency graph in a time range.
getDependencies(Instant, Instant) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
SPEC section 5 dependencies of a time range: endTs = end (default now), lookback = end - start (server default 24 h without a start).
getDependenciesAsync(Instant, Duration) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
getDependenciesAsync(Instant, Instant) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
getDependenciesAsync(Instant, Instant) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
getTrace(String) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
 
getTrace(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Fetches one trace.
getTrace(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
One trace in the SPEC section 5 model (see ZipkinModel.toSpan(codes.grow.packages.zipkin.ZipkinSpan)).
getTraceAsync(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
getTraceAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
getTraceMany(Collection<String>) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Several traces by id: GET /api/v2/traceMany.
getTraceManyAsync(Collection<String>) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
getTraces() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Searches traces with the server defaults (last 24 h, 10 traces).
getTraces(ZipkinTraceQuery) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Searches traces: GET /api/v2/traces, newest first, one span list per trace.
getTracesAsync(ZipkinTraceQuery) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
getTraceSpans(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
One trace in the native model: GET /api/v2/trace/{traceId}.
getTraceSpansAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
GRPC - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
OTLP over gRPC ("grpc").
GZIP - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Compression
gzip (default).

H

handle() - Method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Returns the value of the handle record component.
handle() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The generic handle (for the helpers and the conformance runner).
hashCode() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.ZipkinAnnotation
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.ZipkinServerInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns a hash code value for this object.
header(String) - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the first value of a header.
header(String, String) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Sets a header.
header(String, String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Adds an export header.
header(String, String) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Adds a header.
header(String, String) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Adds a header sent with every request (gateway credentials go here; sensitive values are redacted).
headers() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns the value of the headers record component.
headers() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the extra headers sent with every request.
headers() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the request headers.
headers() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the response headers (case-insensitive keys).
headers() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Extra export headers (for example authentication).
headers() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the extra request headers.
headers(Map<String, String>) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Adds headers sent with every request.
headers(Map<String, String>) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Replaces the export headers.
headers(Map<String, String>) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Adds headers.
headers(Map<String, String>) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Adds headers sent with every request.
headersFor(ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
The headers a request should carry for the current context.
health() - Method in interface codes.grow.packages.zipkin.testing.CoreTarget
Checks liveness; never throws for an unhealthy service.
health() - Method in class codes.grow.packages.zipkin.ZipkinClient
Liveness: GET /health → {"status":"UP"} with the zipkin and storage details.
healthAsync() - Method in class codes.grow.packages.zipkin.ZipkinClient
Asynchronous ZipkinClient.health().
HealthCheck - Class in codes.grow.packages.zipkin.core
Implements the health() contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only for CancelledException and ConfigException.
HealthStatus - Record Class in codes.grow.packages.zipkin.core
Result of health() (SPEC section 2.4).
HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.zipkin.core.HealthStatus
Creates a status; details are copied.
healthy() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Returns the value of the healthy record component.
hooks() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the hooks.
hooks() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the hooks.
hooks(Hooks) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the hooks.
hooks(Hooks) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets hooks.
hooks(Hooks) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets request hooks.
Hooks - Interface in codes.grow.packages.zipkin.core
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Hooks.ErrorInfo - Record Class in codes.grow.packages.zipkin.core
Hooks.RequestInfo - Record Class in codes.grow.packages.zipkin.core
Hooks.ResponseInfo - Record Class in codes.grow.packages.zipkin.core
HTTP_PROTOBUF - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
OTLP over HTTP with protobuf bodies ("http/protobuf").
httpEndpoint(TracingConfig) - Static method in class codes.grow.packages.zipkin.tracing.OtlpExporters
The HTTP endpoint: the configured URL, with /v1/traces appended when it has no path.
httpStatus() - Method in exception class codes.grow.packages.zipkin.core.ZipkinException
Returns the HTTP status when the error came from a response.
HttpTransport - Class in codes.grow.packages.zipkin.core
The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on HttpClient.
HttpTransport(TransportConfig) - Constructor for class codes.grow.packages.zipkin.core.HttpTransport
Creates a transport.

I

id() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the id record component.
idempotent() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns whether the request may be replayed after an uncertain send.
idempotent(boolean) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Marks the request idempotent (or not), overriding the method default.
ignoreEnv() - Method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Ignores the environment: only the config and the Zipkin defaults apply.
index() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns the value of the index record component.
info(String) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at info level without fields.
info(String, Map<String, Object>) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at info level.
initialBackoff() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the backoff cap for the first retry.
initialBackoff(Duration) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Sets the backoff cap of the first retry.
initTracing(TracingConfig) - Method in class codes.grow.packages.zipkin.ZipkinClient
Starts OpenTelemetry tracing to this Zipkin with the process environment beneath config (see ZipkinTracing).
initTracing(TracingConfig) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Starts tracing with the process environment beneath config (see the class description).
initTracing(TracingConfig, ZipkinTracing.Options) - Method in class codes.grow.packages.zipkin.ZipkinClient
Like ZipkinClient.initTracing(TracingConfig) with options (environment map, protocol, error callback).
initTracing(TracingConfig, ZipkinTracing.Options) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Starts tracing.
initTracingFromEnv(String) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Starts tracing with the service name and every setting from the process environment.
initTracingFromEnv(String, Map<String, String>) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Starts tracing with the service name and every setting from a variable map.
initWith(TracingConfig, SpanExporterFactory) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Builds and starts the tracer provider: resource from the config, sampler, batch span processor and propagators; registers it globally when setGlobal is true.
initWith(TracingConfig, SpanExporterFactory, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Like Tracing.initWith(TracingConfig, SpanExporterFactory) with propagators the service package provides (for example "datadog" or "sw8").
initWith(TracingConfig, SpanExporterFactory, Map<String, TextMapPropagator>, Sampler, List<? extends SpanProcessor>) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Like Tracing.initWith(TracingConfig, SpanExporterFactory, Map) with a sampler override (for example a remote sampler) and extra span processors.
inject(Context, Map<String, String>, ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Injects a context with explicit propagators.
inject(Map<String, String>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Injects the current context into a string map (for example message headers).
injectHeaders(Context, Map<String, List<String>>, ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Injects a context into a multi-valued header map with explicit propagators.
injectHeaders(Map<String, List<String>>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Injects the current context into a multi-valued header map (as used by java.net.http.HttpHeaders or servlet APIs); existing propagation headers are replaced.
InMemorySpanExporter - Class in codes.grow.packages.zipkin.testing.tracing
SpanExporter that keeps finished spans in memory.
InMemorySpanExporter() - Constructor for class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
Creates an empty exporter.
InMemoryTraceQueryClient - Class in codes.grow.packages.zipkin.testing.tracing
TraceQueryClient over in-memory spans (usually InMemorySpanExporter.spans()), including a dependency graph computed from parent/child spans of different services.
InMemoryTraceQueryClient(InMemorySpanExporter) - Constructor for class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
Reads the spans of an exporter.
InMemoryTraceQueryClient(Supplier<List<Span>>) - Constructor for class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
Reads normalized spans from a supplier.
insecureSkipVerify() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns whether certificate and host name verification is disabled (tests only).
insecureSkipVerify(boolean) - Method in class codes.grow.packages.zipkin.core.TlsOptions.Builder
Disables certificate and host name verification.
INSTRUMENTATION_NAME - Static variable in class codes.grow.packages.zipkin.tracing.Tracing
Instrumentation scope name used by the helpers in this package.
integer(String, String...) - Method in class codes.grow.packages.zipkin.core.EnvReader
Reads an integer.
intercept(Interceptor.Chain) - Method in class codes.grow.packages.zipkin.tracing.TracingInterceptor
 
INTERNAL - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"internal".
interval() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns the value of the interval record component.
intervalOr(Duration) - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns the caller's interval, or serviceDefault when it was left unset.
invoke(Object, Method, Object[]) - Method in class codes.grow.packages.zipkin.tracing.TracedProxy
 
ipv4() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns the value of the ipv4 record component.
ipv6() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns the value of the ipv6 record component.
isCleared() - Method in class codes.grow.packages.zipkin.core.Secret
Returns whether Secret.clear() was called.
isClosed() - Method in class codes.grow.packages.zipkin.core.HttpTransport
Returns whether HttpTransport.close() was called.
isClosed() - Method in class codes.grow.packages.zipkin.ZipkinClient
Returns whether ZipkinClient.close() was called.
isCustom() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns whether any option differs from the system defaults.
isEmpty() - Method in class codes.grow.packages.zipkin.core.Secret
Returns whether the value is empty.
isEmpty() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Whether no field is set (such an endpoint is omitted from the JSON).
isRoot() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Whether the span is a root (no parent).
isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
isSensitiveHeader(String) - Static method in class codes.grow.packages.zipkin.core.Redaction
Returns whether a header name is sensitive (case-insensitive).
isShutdown() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
isShutdown() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Whether TracingHandle.shutdown() was called.
isShutdown() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
Whether ZipkinTracingHandle.shutdown() was called.
isValidTraceId(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Whether id is a valid (normalised or normalisable) trace id.

J

json(TypeReference<T>) - Method in class codes.grow.packages.zipkin.core.TransportResponse
Decodes the JSON body into a generic type.
json(Class<T>) - Method in class codes.grow.packages.zipkin.core.TransportResponse
Decodes the JSON body.
json(Object) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Sets a JSON body encoded with Jackson.
Json - Class in codes.grow.packages.zipkin.core
Shared Jackson configuration of the SDK.
jsonNode() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Parses the JSON body into a tree.
JUnitConformance - Class in codes.grow.packages.zipkin.testing
JUnit 5 adapter: one dynamic test per scenario.

K

KEY - Static variable in class codes.grow.packages.zipkin.core.SdkInfo
Catalog key of the service, e.g.
kind() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the kind record component.
kind() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions
Span kind.
kind() - Element in annotation interface codes.grow.packages.zipkin.tracing.Traced.Method
Span kind.
kind() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the kind record component.
kind(Span.Kind) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets the kind.
kind(ZipkinKind) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the kind.
kind(SpanKind) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Sets the span kind.
kind(String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the kind from text (case-insensitive).
knownSecrets() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the secret values removed from every error message, hook and log line.
knownSecrets() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Credential values to redact from error messages and logs (sensitive header values).
knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the supplier of secret values to redact from errors, hooks and logs.

L

LANGUAGE - Static variable in class codes.grow.packages.zipkin.core.SdkInfo
Language token in the User-Agent.
limit() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Maximum results.
limit() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Maximum number of traces.
limit(int) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the result limit.
limit(int) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Maximum number of traces.
link(Span.Link) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Adds a link.
link(SpanContext) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Adds a link.
Link(String, String, Map<String, Object>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.Span.Link
Normalises the ids and copies the attributes.
links() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the links record component.
links() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions
Links to other spans.
listOperations(String) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
 
listOperations(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Lists operations (span names) of a service.
listOperations(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
listOperationsAsync(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
listOperationsAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
listRemoteServices(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Remote services called by a service (remoteEndpoint.serviceName on its spans): GET /api/v2/remoteServices?serviceName= (sorted).
listRemoteServicesAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
listServices() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
 
listServices() - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Lists services that reported spans.
listServices() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Service names that reported spans: GET /api/v2/services (sorted, lower-case).
listServicesAsync() - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
listServicesAsync() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
listSpans(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
Span names of a service: GET /api/v2/spans?serviceName= (sorted; unknown service → empty).
listSpansAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
localEndpoint() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the localEndpoint record component.
localEndpoint(ZipkinEndpoint) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the local endpoint.
localServiceName(String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the local endpoint to a service name.
logger() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the logger.
logger() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the logger.
logger(Logger) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the logger (default silent).
Logger - Interface in codes.grow.packages.zipkin.core
Minimal logger used by the transport (SPEC section 2.5).
lookback() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Window length before endTs.
lookback(Duration) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Window length before endTs.

M

map(TransportResponse, ZipkinException) - Method in interface codes.grow.packages.zipkin.core.ErrorMapper
Maps a failed response.
mapper() - Static method in class codes.grow.packages.zipkin.core.Json
Returns the shared mapper.
matchesTiming(TraceSummary) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Whether a summary passes the service/operation-independent filters (duration and time range).
MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.zipkin.core.Redaction
Maximum length of vendor error text kept in error messages.
maxBackoff() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the upper bound of any backoff.
maxBackoff(Duration) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Sets the upper bound of every backoff.
maxBatchSize() - Method in class codes.grow.packages.zipkin.ZipkinReporter
Spans per POST.
maxBatchSize(int) - Method in class codes.grow.packages.zipkin.ZipkinReporter.Options
Spans per POST; larger reports are split.
maxBatchSize(int) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Spans per POST of an owned reporter (default 512).
maxDurationMicros() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Maximum duration.
maxDurationMicros() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Maximum span duration in microseconds.
maxDurationMicros(long) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Maximum span duration (needs a minimum).
maxDurationMicros(Long) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the maximum duration.
maxExportBatchSize() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns the value of the maxExportBatchSize record component.
maxQueueSize() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns the value of the maxQueueSize record component.
maxRetries() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the maximum number of retries after the first attempt.
maxRetries() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the retry limit override.
maxRetries(int) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Sets the maximum number of retries.
maxRetries(int) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Overrides the retry limit for this call.
maxRetryAfter() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the longest Retry-After wait the client accepts.
maxRetryAfter(Duration) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Sets the longest accepted Retry-After.
message() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns the value of the message record component.
message() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Returns the value of the message record component.
method() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the method record component.
method() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the HTTP method.
micros(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Parses an RFC 3339 timestamp into epoch microseconds.
minDurationMicros() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Minimum duration.
minDurationMicros() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Minimum span duration in microseconds.
minDurationMicros(long) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Minimum span duration.
minDurationMicros(Long) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the minimum duration.
minSpans() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns the value of the minSpans record component.
multiplier() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns the exponential growth factor.
multiplier(double) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Sets the exponential growth factor.

N

name() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Returns the value of the name record component.
name() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the name record component.
name() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the name record component.
name(String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the span name.
NATIVE - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
The service's own ingest API ("native").
nativeIdsAccepted() - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Returns whether native ids are accepted on the current thread: the policy of the innermost TraceIds.withNativeIds(boolean, java.util.function.Supplier<T>) call, else the package-wide default (TraceIds.acceptNativeIds(boolean)).
nativeIdsAcceptedByDefault() - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Returns the package-wide default set with TraceIds.acceptNativeIds(boolean), ignoring any scoped policy of the current thread.
none() - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns a policy that never retries.
NONE - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Compression
No compression.
NONE - Static variable in interface codes.grow.packages.zipkin.core.ErrorMapper
Keeps the default error.
NONE - Static variable in interface codes.grow.packages.zipkin.core.Hooks
Hooks that do nothing.
NOOP - Static variable in interface codes.grow.packages.zipkin.core.Logger
A logger that discards everything.
normalize(ZipkinSpan, String) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Normalizes one span for ingest (the rules Zipkin enforces, applied locally so one bad span never makes the server reject the whole batch): ids lower-cased and validated, zero timestamps and durations dropped, empty endpoints and names dropped, annotations checked.
normalizeSpanId(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a span id (16 lower-hex characters, shorter ids left-padded).
normalizeSpanIdOrNative(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a hex span id like TraceIds.normalizeSpanId(java.lang.String) and keeps any other non-blank id (trimmed) verbatim.
normalizeTraceId(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a trace id: trims, strips a 0x prefix, lower-cases and left-pads 1–31 hex digits (for example 64-bit Zipkin/Datadog ids) to 32.
normalizeTraceIdOrNative(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a hex trace id like TraceIds.normalizeTraceId(java.lang.String) and keeps any other non-blank id (trimmed) verbatim.
NOT_FOUND - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 404 or a missing record.
NotFoundException - Exception Class in codes.grow.packages.zipkin.core
The record does not exist (HTTP 404).
NotFoundException(String) - Constructor for exception class codes.grow.packages.zipkin.core.NotFoundException
Creates the exception.
NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.NotFoundException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.NotFoundException
Creates the exception with response details.
NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.NotFoundException
Creates the exception with a cause.

O

of(char[]) - Static method in class codes.grow.packages.zipkin.core.Secret
Wraps a copy of a character array; the caller may clear its own array afterwards.
of(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Static method in exception class codes.grow.packages.zipkin.core.ZipkinException
Like ZipkinException.of(ErrorCode, String, Integer, String, Duration, Throwable) with an explicit retryable flag instead of the default of the code.
of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.zipkin.core.ZipkinException
Creates the subclass that matches code.
of(TracingHandle, TraceQueryClient) - Static method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Creates a target.
of(Object) - Static method in class codes.grow.packages.zipkin.testing.OpResult
Wraps a value.
of(String) - Static method in class codes.grow.packages.zipkin.core.Secret
Wraps a string value.
of(String) - Static method in record class codes.grow.packages.zipkin.ZipkinEndpoint
An endpoint with only a service name.
of(String, String, String, Integer) - Static method in record class codes.grow.packages.zipkin.ZipkinEndpoint
An endpoint from nullable parts.
of(Throwable) - Static method in enum class codes.grow.packages.zipkin.core.ErrorCode
Returns the code of an SDK exception.
of(Map<String, String>) - Static method in class codes.grow.packages.zipkin.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over an explicit map.
ok() - Static method in record class codes.grow.packages.zipkin.core.HealthStatus
A healthy ok status without details.
OK - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
"ok".
onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.zipkin.core.Hooks
Called when an attempt failed (network error, timeout or error status).
onError(Consumer<Throwable>) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Called with every failed export (the batch is dropped).
onExportError(Consumer<Throwable>) - Method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Called with every failed native export (the batch is dropped).
only(String...) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Restricts the run to these scenario ids.
onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.zipkin.core.Hooks
Called before each attempt.
onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.zipkin.core.Hooks
Called when an attempt received a response (any status).
op() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns the value of the op record component.
op() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns the value of the op record component.
op(String, String, OpHandler) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Registers one operation.
openTelemetry() - Static method in class codes.grow.packages.zipkin.tracing.Tracing
The OpenTelemetry instance the helpers use: the most recently initialised, not yet shut down handle, else the global instance (no-op when none is registered).
openTelemetry() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
The OpenTelemetry SDK instance.
openTelemetry() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The OpenTelemetry SDK instance.
operation() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the operation name used in error messages.
operation() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Operation (span name) filter.
operation(String) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Sets the operation name used in error messages.
operation(String) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the operation filter.
OpHandler - Interface in codes.grow.packages.zipkin.testing
Executes one scenario step and returns its result (or an OpResult).
OpResult - Class in codes.grow.packages.zipkin.testing
A step result with optional extra views for the expectations count and tree.
ops() - Method in interface codes.grow.packages.zipkin.testing.ConformanceOps
Returns the handlers by operation name.
ops() - Method in class codes.grow.packages.zipkin.testing.CoreOps
 
ops() - Method in class codes.grow.packages.zipkin.testing.tracing.TracingOps
 
optArg(String) - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns an optional argument.
orderPropagators(List<String>) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
The order in which propagators are composed: B3 (b3, b3multi) first, every other propagator after it in the given order.
OtelAttributes - Class in codes.grow.packages.zipkin.tracing
Converts SDK attribute values (AttrValue: String, numbers, Boolean, lists, maps) into OpenTelemetry Attributes.
OtlpExporters - Class in codes.grow.packages.zipkin.tracing
OTLP span exporters (gRPC and HTTP/protobuf) configured from a TracingConfig: endpoint, headers, compression, export timeout and TLS.

P

parent() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Returns the value of the parent record component.
parent() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions
Explicit parent context.
parent() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns the value of the parent record component.
parent(Context) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Sets the parent context (default: the current context).
PARENTBASED_ALWAYS_OFF - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Follow the parent, drop roots.
PARENTBASED_ALWAYS_ON - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Follow the parent, sample roots (default).
PARENTBASED_TRACEIDRATIO - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Follow the parent, sample a ratio of roots.
parentId() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the parentId record component.
parentId(String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the parent span id.
parentSpanId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the parentSpanId record component.
parentSpanId(String) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets the parent span id.
parse(JsonNode) - Static method in record class codes.grow.packages.zipkin.testing.Scenario
Parses a scenario document.
parse(String) - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
Parses a wire value or vendor spelling ("SPAN_KIND_SERVER", "Server", …).
parse(String) - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
Parses a wire value or vendor spelling ("STATUS_CODE_ERROR", "Error", …).
parse(String) - Static method in enum class codes.grow.packages.zipkin.ZipkinKind
Parses a kind case-insensitively ("client" → ZipkinKind.CLIENT).
parseBool(String) - Static method in class codes.grow.packages.zipkin.core.EnvReader
Parses a boolean: true/false/1/0/yes/no/on/off, case-insensitive.
parseDuration(String) - Static method in class codes.grow.packages.zipkin.core.EnvReader
Parses a duration: integer milliseconds (1500) or Go-style units (500ms, 10s, 2m, 1h, 1m30s).
parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
Parses a vendor rate-limit reset header such as X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least 1000000000) or an HTTP-date.
parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
Parses a Retry-After header: delay seconds or an HTTP-date.
passed() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns whether no scenario failed.
PASSED - Enum constant in enum class codes.grow.packages.zipkin.testing.ConformanceReport.Status
Every expectation held.
path() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the path.
PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 403: the credentials lack a permission.
PermissionDeniedException - Exception Class in codes.grow.packages.zipkin.core
The credentials lack a permission (HTTP 403).
PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.zipkin.core.PermissionDeniedException
Creates the exception.
PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.PermissionDeniedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.PermissionDeniedException
Creates the exception with response details.
PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.PermissionDeniedException
Creates the exception with a cause.
ping() - Method in interface codes.grow.packages.zipkin.testing.CoreTarget
Performs an authenticated round trip.
ping() - Method in class codes.grow.packages.zipkin.ZipkinClient
Round trip through the query API and storage: GET /api/v2/services (through a gateway this also proves the auth headers).
pingAsync() - Method in class codes.grow.packages.zipkin.ZipkinClient
Asynchronous ZipkinClient.ping().
poll(String, Duration) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Repeats a failing step of op until its expectation passes or timeout (or the step's timeoutMs argument) runs out, for eventually consistent backends.
Poll - Class in codes.grow.packages.zipkin.core
Generic polling helper (pollUntil): used by waitForLog, waitForTrace and service waiters.
pollInterval(Duration) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Sets the pause between repeated steps (default ConformanceRunner.DEFAULT_POLL_INTERVAL).
port() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns the value of the port record component.
post(String) - Static method in class codes.grow.packages.zipkin.core.TransportRequest
Starts a POST request.
prefix(String) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Sets the ${prefix} template (may contain ${run}).
PRODUCER - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"producer".
PRODUCER - Enum constant in enum class codes.grow.packages.zipkin.ZipkinKind
Sends a message to a broker.
propagators() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Propagator names.
propagators() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
The configured propagators.
propagators() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The configured propagators.
propagators(List<String>) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the propagators (tracecontext, baggage, b3, b3multi, none or names the service package registers).
propagators(List<String>, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Resolves propagator names.
propagatorsExplicit() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns whether TracingConfig.propagators() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
protocol() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Export protocol.
protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the export protocol (default http/protobuf unless the service changes it).
protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.zipkin.ZipkinTracing.Options
Explicit protocol (wins over the config and GROW_ZIPKIN_PROTOCOL); the way to select http/protobuf in code.
protocolExplicit() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns whether TracingConfig.protocol() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
proxy() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the proxy URL.
proxy() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the explicit proxy URL.
proxy(String) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets an explicit HTTP proxy URL, e.g.
proxy(String) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the proxy URL.
proxy(String) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.
put(String) - Static method in class codes.grow.packages.zipkin.core.TransportRequest
Starts a PUT request.

Q

query() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the query parameters in insertion order.
query() - Method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Returns the value of the query record component.
query() - Method in class codes.grow.packages.zipkin.ZipkinClient
The trace query client (shares this client's connections).
query(String, Object) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Adds a query parameter (repeatable).

R

random(RandomGenerator) - Method in class codes.grow.packages.zipkin.core.RetryPolicy.Builder
Injects the random source used for jitter (tests).
RATE_LIMITED - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 429.
RateLimitException - Exception Class in codes.grow.packages.zipkin.core
The service rate-limited the call (HTTP 429); see ZipkinException.retryAfter().
RateLimitException(String) - Constructor for exception class codes.grow.packages.zipkin.core.RateLimitException
Creates the exception.
RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.RateLimitException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.RateLimitException
Creates the exception with response details.
RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.RateLimitException
Creates the exception with a cause.
raw() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the raw record component.
reason() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the reason record component.
recordException(Throwable) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Records an exception event on the current span (status unchanged).
REDACTED - Static variable in class codes.grow.packages.zipkin.core.Redaction
Replacement for every redacted value.
redactFields(Map<String, ?>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Same as Redaction.redactFields(Map, Collection) without extra keys.
redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Returns a deep copy of a structure with the values of sensitive keys replaced; recurses into nested maps and lists.
redactHeaderLists(Map<String, List<String>>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Returns a copy of multi-valued headers with sensitive values replaced.
redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Returns a copy of single-valued headers with sensitive values replaced.
Redaction - Class in codes.grow.packages.zipkin.core
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
redactText(String, Collection<String>) - Static method in class codes.grow.packages.zipkin.core.Redaction
Replaces every occurrence of each known secret value (length 4 or more) with "[REDACTED]".
redactUrl(String) - Static method in class codes.grow.packages.zipkin.core.Redaction
Redacts user-info passwords and the values of sensitive query parameters in a URL.
register(ConformanceOps) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Registers (or overrides) operations of a category.
register(AutoCloseable) - Method in class codes.grow.packages.zipkin.ZipkinClient
Registers a resource (watcher, renewer, batch processor) closed with the client.
REMOTE_SERVICE_KEYS - Static variable in class codes.grow.packages.zipkin.ZipkinSpanExporter
Span attributes that name the remote service of a CLIENT/PRODUCER span, by precedence.
remoteEndpoint() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the remoteEndpoint record component.
remoteEndpoint(ZipkinEndpoint) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the remote endpoint.
remoteServiceName() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Remote service name (remoteEndpoint.serviceName) seen on serviceName's spans.
remoteServiceName(String) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the remote endpoint to a service name.
remoteServiceName(String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Remote service name.
report(List<ZipkinSpan>) - Method in class codes.grow.packages.zipkin.ZipkinReporter
Sends spans: an empty list sends nothing; more than ZipkinReporter.maxBatchSize() spans are sent in several POSTs, in order.
reportAsync(List<ZipkinSpan>) - Method in class codes.grow.packages.zipkin.ZipkinReporter
reporter() - Method in class codes.grow.packages.zipkin.ZipkinClient
The span reporter (shares this client's connections; no compression, 512 spans per POST, the config's endpoint).
reporter() - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter
The reporter used to send spans.
reporter(ZipkinReporter) - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter.Builder
Sends through this reporter (not closed by ZipkinSpanExporter.shutdown()); the other connection options are then ignored.
REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.zipkin.core.HttpTransport
Response headers that carry a vendor request id, in lookup order.
requestId() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the requestId record component.
requestId() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the vendor request id header.
requestId() - Method in exception class codes.grow.packages.zipkin.core.ZipkinException
Returns the vendor request id header of the failed response.
RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Creates an instance of a RequestInfo record class.
requestTimeout() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the per-attempt timeout.
requestTimeout() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the per-attempt timeout (default 30 s).
requires() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the requires record component.
requires() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns the value of the requires record component.
reset() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
Forgets exported spans.
resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.zipkin.core.HttpTransport
Resolves a request path and query against the base URL.
resolveConfig(TracingConfig, Map<String, String>, TracingConfig.Protocol) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Fills every field of explicit that is still at its generic default from env and applies the Zipkin defaults (see the class description).
resolveOtlpEndpoint(TracingConfig.Protocol, String) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
The OTLP endpoint for a protocol: for http/protobuf, an endpoint without a path gets /v1/traces; any other endpoint is used as is.
resource(TracingConfig) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Builds the resource: SDK defaults plus service.name, service.version, deployment.environment.name (current semantic conventions) together with the legacy deployment.environment, and the extra resource attributes.
resourceAttributes() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Extra resource attributes.
resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Replaces the extra resource attributes.
ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Creates an instance of a ResponseInfo record class.
retry() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the retry policy.
retry() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the retry policy (default RetryPolicy.defaults()).
retryable() - Method in enum class codes.grow.packages.zipkin.core.ErrorCode
Returns whether errors with this code are retryable by default.
retryable() - Method in exception class codes.grow.packages.zipkin.core.ZipkinException
Returns whether retrying the same call may succeed.
retryAfter() - Method in exception class codes.grow.packages.zipkin.core.ZipkinException
Returns the wait the server asked for (Retry-After).
retryAfterHeaders() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset), parsed with RetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant).
retryAfterHeaders(String...) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Adds vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset).
RetryPolicy - Class in codes.grow.packages.zipkin.core
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
RetryPolicy.Builder - Class in codes.grow.packages.zipkin.core
Builder for RetryPolicy.
reveal() - Method in class codes.grow.packages.zipkin.core.Secret
Returns the credential as a string.
revealChars() - Method in class codes.grow.packages.zipkin.core.Secret
Returns a copy of the credential characters.
root() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
The first root span (no parent, or a parent outside the trace).
rootName() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the rootName record component.
rootServiceName() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the rootServiceName record component.
run() - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Runs every selected scenario.
run() - Method in interface codes.grow.packages.zipkin.tracing.ThrowingRunnable
Runs.
run(StepContext) - Method in interface codes.grow.packages.zipkin.testing.OpHandler
Runs the step.
run(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.zipkin.tracing.Traced
Runs fn in a new span.
run(String, Callable<T>) - Static method in class codes.grow.packages.zipkin.tracing.Traced
Runs fn in a new span (see Spans.withSpan(String, ThrowingSupplier)).
runScenario(Scenario) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Runs one scenario.
runWithNativeIds(boolean, Runnable) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds

S

sameValue(Secret) - Method in class codes.grow.packages.zipkin.core.Secret
Compares the values in constant time.
sampler() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Sampler.
sampler(TracingConfig) - Static method in class codes.grow.packages.zipkin.tracing.Tracing
Builds the sampler.
sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the sampler.
samplerExplicit() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns whether TracingConfig.sampler() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
samplerRatio() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Ratio of the ratio samplers.
samplerRatio(double) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the ratio of the ratio samplers.
samplerRatioExplicit() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns whether TracingConfig.samplerRatio() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
save() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns the value of the save record component.
scenario() - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns the running scenario.
Scenario - Record Class in codes.grow.packages.zipkin.testing
A parsed conformance scenario (conformance/scenarios/*.json).
Scenario(String, String, String, List<String>, List<Scenario.Step>, JsonNode) - Constructor for record class codes.grow.packages.zipkin.testing.Scenario
Creates a scenario; lists are copied.
Scenario.Step - Record Class in codes.grow.packages.zipkin.testing
One step of a scenario.
scenarioDir(Path) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Reads scenarios from this directory instead of searching for conformance/scenarios.
ScenarioResult(String, String, ConformanceReport.Status, String, List<ConformanceReport.StepResult>, long) - Constructor for record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Creates a result; the list is copied.
scenarios() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns the value of the scenarios record component.
scenarios() - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Returns the scenarios of the categories that have a target, sorted by id.
scheduledDelay() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns the value of the scheduledDelay record component.
SCOPE - Static variable in class codes.grow.packages.zipkin.testing.tracing.TracingOps
Instrumentation scope of the spans the span op creates.
SdkInfo - Class in codes.grow.packages.zipkin.core
Package identity used in the User-Agent header.
searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemoryTraceQueryClient
 
searchTraces(TraceSearchQuery) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Searches traces.
searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
SPEC section 5 search: service → serviceName, operation → spanName, tags → exact tag terms (see ZipkinTraceQuery.Builder.tag(java.lang.String, java.lang.String)), durations in µs, endTs = end (default now), lookback = end - start (the last hour without a start), limit default 20.
searchTracesAsync(TraceSearchQuery) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
searchTracesAsync(TraceSearchQuery) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
Secret - Class in codes.grow.packages.zipkin.core
A credential held in a char[] that never prints itself.
send(TransportRequest) - Method in class codes.grow.packages.zipkin.core.HttpTransport
Executes a request with retries and returns a 2xx (or accepted) response.
send(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.zipkin.tracing.TracedHttpClient
Sends synchronously in a client span.
sendAsync(TransportRequest) - Method in class codes.grow.packages.zipkin.core.HttpTransport
Executes a request with retries asynchronously.
sendAsync(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.zipkin.tracing.TracedHttpClient
Sends asynchronously in a client span that ends when the response arrives.
sendJson(TransportRequest) - Method in class codes.grow.packages.zipkin.core.HttpTransport
Convenience: sends a request and decodes the JSON body.
SERVER - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"server".
SERVER - Enum constant in enum class codes.grow.packages.zipkin.ZipkinKind
Server side of an RPC.
serverInfo() - Method in class codes.grow.packages.zipkin.ZipkinClient
Build information: GET /info → {"zipkin":{"version","commit"}}.
serverInfoAsync() - Method in class codes.grow.packages.zipkin.ZipkinClient
serverVersion() - Method in interface codes.grow.packages.zipkin.testing.CoreTarget
Returns the server version.
serverVersion() - Method in class codes.grow.packages.zipkin.ZipkinClient
Server version (for example 3.6.1) from GET /info.
serverVersionAsync() - Method in class codes.grow.packages.zipkin.ZipkinClient
service() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Service filter.
service(String) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the service filter.
serviceName() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the serviceName record component.
serviceName() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
service.name.
serviceName() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns the value of the serviceName record component.
serviceName() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Local service name (matched case-insensitively).
serviceName(String) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Sets ${serviceName} (the tracing service name the factory configured).
serviceName(String) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets the service name.
serviceName(String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets service.name.
serviceName(String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Local service name.
serviceNameFromEnv(Map<String, String>) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
The service name from the environment: OTEL_SERVICE_NAME, else service.name in OTEL_RESOURCE_ATTRIBUTES.
serviceVersion() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
service.version.
serviceVersion(String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets service.version.
setError(Span, Throwable) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Records the exception and sets status ERROR on span.
setError(String) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Sets status ERROR with a message on the current span.
setError(Throwable) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Records the exception and sets status ERROR on the current span.
setFailExports(boolean) - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
Makes every following export fail (or succeed again).
setGlobal() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
setGlobal(boolean) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Whether to register the SDK globally (default true).
shared() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the shared record component.
shared(boolean) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the shared flag (server span sharing the client span id).
shutdown() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
 
shutdown() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Flushes and shuts the tracer provider down; idempotent.
shutdown() - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter
Waits for in-flight exports, then closes an owned reporter.
shutdown() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
Flushes and stops the tracer provider.
shutdownAsync() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
shutdownAsync() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
SKIPPED - Enum constant in enum class codes.grow.packages.zipkin.testing.ConformanceReport.Status
A required capability was not declared.
sortSpans(List<Span>) - Static method in class codes.grow.packages.zipkin.tracing.query.Traces
Sorts spans by startMicros, then spanId.
source(String, String...) - Method in class codes.grow.packages.zipkin.core.EnvReader
Returns the name of the first variable that is set, for error messages.
span() - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
Returns the value of the span record component.
Span - Record Class in codes.grow.packages.zipkin.tracing.query
A span as returned by a TraceQueryClient (normalized model; not the OpenTelemetry API span).
Span(String, String, Optional<String>, String, Span.Kind, String, long, long, long, Span.Status, Map<String, Object>, List<Span.Event>, List<Span.Link>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.Span
Normalises ids, copies collections and checks the times.
Span.Builder - Class in codes.grow.packages.zipkin.tracing.query
Builder for Span; durationMicros defaults to end - start.
Span.Event - Record Class in codes.grow.packages.zipkin.tracing.query
Span event.
Span.Kind - Enum Class in codes.grow.packages.zipkin.tracing.query
Span kind (wire values are lower case).
Span.Link - Record Class in codes.grow.packages.zipkin.tracing.query
Span link.
Span.Status - Record Class in codes.grow.packages.zipkin.tracing.query
Span status.
Span.StatusCode - Enum Class in codes.grow.packages.zipkin.tracing.query
Status code (wire values are lower case).
spanCount() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the spanCount record component.
SpanDataConverter - Class in codes.grow.packages.zipkin.testing.tracing
Converts OpenTelemetry SDK SpanData into the normalized query Span.
SpanExporterFactory - Interface in codes.grow.packages.zipkin.tracing
Creates the span exporter for a TracingConfig (see OtlpExporters.factory()).
spanFromJson(JsonNode) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Parses a span from a Jackson tree.
spanFromJson(JsonNode) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Decodes one span; null when the node is not an object with string traceId and id.
spanFromJson(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Parses a span.
spanId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Returns the value of the spanId record component.
spanId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the spanId record component.
spanId(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a span id of the query model: TraceIds.normalizeSpanId(java.lang.String) by default, TraceIds.normalizeSpanIdOrNative(java.lang.String) when native ids are accepted (TraceIds.nativeIdsAccepted()).
spanName() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Span name.
spanName(String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Span name.
SpanNode - Record Class in codes.grow.packages.zipkin.tracing.query
SpanNode(Span, List<SpanNode>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.SpanNode
Copies the children.
SpanOptions - Class in codes.grow.packages.zipkin.tracing
Options of Spans.withSpan(java.lang.String, codes.grow.packages.zipkin.tracing.ThrowingSupplier<T, E>): attributes, kind, links, tracer, parent context.
SpanOptions.Builder - Class in codes.grow.packages.zipkin.tracing
Builder for SpanOptions.
spans() - Method in class codes.grow.packages.zipkin.testing.tracing.InMemorySpanExporter
Exported spans in export order.
spans() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Returns the value of the spans record component.
Spans - Class in codes.grow.packages.zipkin.tracing
Span helpers on top of the OpenTelemetry API.
SPANS_PATH - Static variable in class codes.grow.packages.zipkin.ZipkinConfig
Path of the Zipkin v2 span ingest API.
spansEndpoint(String) - Static method in class codes.grow.packages.zipkin.ZipkinConfig
<base>/api/v2/spans, appended once: a base that already ends with the spans path is kept, a gateway prefix is preserved, trailing slashes are dropped.
spansFromBody(JsonNode) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Keeps the well-formed spans of a response body (ZipkinSpan[]).
spansNamed(String) - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Spans with a given name.
sslContext() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Builds the SSL context for these options.
start() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Range start.
start(String, SpanOptions) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Starts (but does not end or activate) a span with options.
start(Instant) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Sets the range start.
startMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the startMicros record component.
startMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the startMicros record component.
status() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the status record component.
status() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the HTTP status.
status() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the status record component.
status(Span.StatusCode, String) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets the status.
Status(Span.StatusCode, Optional<String>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.Span.Status
Validates the status.
step() - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns the current step.
Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.zipkin.testing.Scenario.Step
Creates a step; the list is copied.
StepContext - Class in codes.grow.packages.zipkin.testing
Everything an OpHandler needs for one step.
StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Creates an instance of a StepResult record class.
steps() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns the value of the steps record component.
steps() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns the value of the steps record component.
string(String, String...) - Method in class codes.grow.packages.zipkin.core.EnvReader
Reads a string.
stringify(Object) - Static method in class codes.grow.packages.zipkin.core.Json
Encodes a value as a JSON string.
stringsFromBody(JsonNode) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Decodes a string list response (string[]).
substitute(String) - Method in class codes.grow.packages.zipkin.testing.StepContext
Substitutes ${name} variables in a string.
substitute(String, Map<String, String>) - Static method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Replaces ${name} placeholders; unknown names are kept as they are.
substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.zipkin.testing.ConformanceRunner
Substitutes placeholders in every string (and object key) of a JSON tree.
summarize(Trace) - Static method in class codes.grow.packages.zipkin.tracing.query.Traces
Summarises a trace.
summarize(List<ZipkinSpan>) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Summarises one Zipkin trace (root = the span without a parent in the trace, else the earliest).
summary() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns a multi-line summary listing every scenario.
system() - Static method in class codes.grow.packages.zipkin.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over the process environment.

T

tag(String, Object) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Adds a tag.
tag(String, String) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Adds a tag filter.
tag(String, String) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
Adds an exact tag match.
tags() - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Tag (attribute) filters.
tags() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the tags record component.
tags() - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery
Exact tag matches (key=value).
tags(Map<String, ?>) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
tags(Map<String, String>) - Method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery.Builder
Adds tag filters.
tags(Map<String, String>) - Method in class codes.grow.packages.zipkin.ZipkinTraceQuery.Builder
tagValue(Object) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Converts a value to Zipkin's string tag form: strings as-is, booleans true/ false, numbers in plain decimal (7, 1.5, 2.0 → 2), lists, arrays and maps as compact JSON, anything else toString().
target() - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns the scenario target.
target(Class<T>) - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns the target cast to a type.
target(String, TargetFactory) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Sets the target factory of a category; categories without a target do not run.
TargetFactory - Interface in codes.grow.packages.zipkin.testing
Creates the object a scenario runs against (client, provider, log client, tracing handle).
text() - Method in class codes.grow.packages.zipkin.core.TransportResponse
Returns the body decoded as UTF-8.
ThrowingRunnable<E> - Interface in codes.grow.packages.zipkin.tracing
A runnable that may throw.
ThrowingSupplier<T,E> - Interface in codes.grow.packages.zipkin.tracing
A supplier that may throw.
timeMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Returns the value of the timeMicros record component.
timeout() - Method in class codes.grow.packages.zipkin.core.TransportRequest
Returns the per-attempt timeout override.
timeout() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns the value of the timeout record component.
timeout(Duration) - Method in class codes.grow.packages.zipkin.core.TransportRequest.Builder
Overrides the per-attempt timeout for this call.
TIMEOUT - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
Connect, request or total deadline exceeded, HTTP 408 or 504.
TimeoutException - Exception Class in codes.grow.packages.zipkin.core
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TimeoutException(String) - Constructor for exception class codes.grow.packages.zipkin.core.TimeoutException
Creates the exception.
TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.TimeoutException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.TimeoutException
Creates the exception with response details.
TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.TimeoutException
Creates the exception with a cause.
times(long, long) - Method in class codes.grow.packages.zipkin.tracing.query.Span.Builder
Sets start and end.
timestamp() - Method in record class codes.grow.packages.zipkin.ZipkinAnnotation
Returns the value of the timestamp record component.
timestamp() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the timestamp record component.
timestamp(long) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Formats epoch microseconds as RFC 3339 UTC.
timestamp(long) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the start time.
timestamp(Instant) - Method in class codes.grow.packages.zipkin.ZipkinSpan.Builder
Sets the start time.
tls() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the TLS options.
tls() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
TLS settings of the exporter.
tls() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
Sets the exporter TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the TLS options; environment TLS variables are then ignored.
TlsOptions - Class in codes.grow.packages.zipkin.core
TLS settings: custom CA, client certificate (mutual TLS) and the test-only insecureSkipVerify.
TlsOptions.Builder - Class in codes.grow.packages.zipkin.core
Builder for TlsOptions.
toBuilder() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
Returns a builder initialised from this policy.
toBuilder() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Returns a builder initialised from these options.
toBuilder() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Returns a builder with these values.
toBuilder() - Method in class codes.grow.packages.zipkin.ZipkinConfig
A builder pre-filled with this configuration.
toBuilder() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
A builder pre-filled with this span.
toDependencyLink() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
The category model without errorCount.
toJson(Span) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Serialises a span.
toJson(Trace) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Serialises a trace.
toJson(ZipkinSpan) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Encodes a span as Zipkin v2 JSON (field order of the server; empty fields omitted).
toJson(List<ZipkinSpan>) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Encodes spans as a Zipkin v2 JSON array.
toMap(Span) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Wire form of a span.
toMap(Trace) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Wire form of a trace.
toMicros(Instant) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceSearchQuery
Converts an instant to epoch microseconds.
toSpan(ZipkinSpan) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Converts a Zipkin span into the SPEC section 5 model: trace id padded to 32 characters, kind absent → internal, serviceName = localEndpoint.serviceName (or ""), attributes = tags, annotations → events, status from the error tag (error, message = its value) or otel.status_code (OK/ERROR), no links.
toSpan(SpanData) - Static method in class codes.grow.packages.zipkin.testing.tracing.SpanDataConverter
Converts one span.
toString() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.zipkin.core.RetryPolicy
 
toString() - Method in class codes.grow.packages.zipkin.core.Secret
Always "[REDACTED]".
toString() - Method in class codes.grow.packages.zipkin.core.TlsOptions
 
toString() - Method in class codes.grow.packages.zipkin.core.TransportResponse
 
toString() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.testing.Scenario
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.zipkin.tracing.TracingConfig
Header values are redacted when the header name is sensitive.
toString() - Method in record class codes.grow.packages.zipkin.ZipkinAnnotation
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.zipkin.ZipkinClient
 
toString() - Method in class codes.grow.packages.zipkin.ZipkinConfig
 
toString() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
 
toString() - Method in class codes.grow.packages.zipkin.ZipkinReporter
 
toString() - Method in record class codes.grow.packages.zipkin.ZipkinServerInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.zipkin.ZipkinSpanExporter
 
toString() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
 
totalTimeout() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the budget of a whole call including retries and backoff.
totalTimeout() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the total timeout per call including retries.
totalTimeout(Duration) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the total budget per call.
totalTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the total timeout.
totalTimeout(Duration) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the total timeout per call including retries (default 120 s).
toTrace(List<ZipkinSpan>) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Converts the spans of one Zipkin trace into a Trace (spans sorted).
toTransportConfig() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Translates the common fields into transport settings.
toZipkinSpan(SpanData) - Static method in class codes.grow.packages.zipkin.ZipkinSpanExporter
Maps a finished OpenTelemetry span to a Zipkin v2 span (identical in every language of this SDK; based on the OpenTelemetry Zipkin exporter specification).
Trace - Record Class in codes.grow.packages.zipkin.tracing.query
A trace: its id and its spans sorted by start time, then span id.
Trace(String, List<Span>) - Constructor for record class codes.grow.packages.zipkin.tracing.query.Trace
Normalises the id and sorts the spans.
TRACE_MANY_CHUNK - Static variable in class codes.grow.packages.zipkin.ZipkinQueryClient
Most trace ids sent in one /api/v2/traceMany request: 100 × 33 characters keeps the request line under the server's 4096-byte limit (more ids answer 414).
Traced - Class in codes.grow.packages.zipkin.tracing
Tracing of plain functions: Traced.run(String, Callable) and the Traced.Method annotation honoured by TracedProxy.
Traced.Method - Annotation Interface in codes.grow.packages.zipkin.tracing
Marks an interface method (or its implementation) to run in a span when called through a TracedProxy.
TracedHttpClient - Class in codes.grow.packages.zipkin.tracing
Wraps a HttpClient: every request runs in a client span and carries the propagation headers.
TracedProxy - Class in codes.grow.packages.zipkin.tracing
Proxy-based interceptor that runs methods annotated with Traced.Method (on the interface or on the implementation) in a span.
traceFields() - Static method in class codes.grow.packages.zipkin.tracing.Spans
Log correlation fields of the current span (trace_id, span_id; snake_case on purpose, the log field convention).
traceFromJson(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceJson
Parses a trace.
traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
Returns the value of the traceId record component.
traceId(String) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Normalises a trace id of the query model: TraceIds.normalizeTraceId(java.lang.String) by default, TraceIds.normalizeTraceIdOrNative(java.lang.String) when native ids are accepted (TraceIds.nativeIdsAccepted()).
TRACEIDRATIO - Enum constant in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Sample a ratio of trace ids.
TraceIds - Class in codes.grow.packages.zipkin.tracing.query
Trace and span id normalisation (lower-case hex; 64-bit trace ids are left-padded to 32).
TraceJson - Class in codes.grow.packages.zipkin.tracing.query
Converts Trace and Span to and from the normalized JSON form ( spec/schemas/trace.schema.json): integer startMicros/endMicros/ durationMicros, status as {code, message?}, events as {name, timeMicros, attributes}.
TraceQueryClient - Interface in codes.grow.packages.zipkin.tracing.query
Reads traces back from the service.
tracer() - Method in class codes.grow.packages.zipkin.tracing.SpanOptions
Tracer to use.
tracer() - Static method in class codes.grow.packages.zipkin.tracing.Spans
The tracer the helpers use by default.
tracer(Tracer) - Method in class codes.grow.packages.zipkin.tracing.SpanOptions.Builder
Sets the tracer.
tracer(String) - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Returns a tracer.
tracer(String) - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
A tracer.
tracer(String, String) - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
Returns a tracer with a scope version.
tracer(String, String) - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
A tracer with a version.
tracerProvider() - Method in class codes.grow.packages.zipkin.tracing.TracingHandle
The tracer provider.
tracerProvider() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
The tracer provider.
Traces - Class in codes.grow.packages.zipkin.tracing.query
Span ordering and tree helpers.
TraceSearchQuery - Class in codes.grow.packages.zipkin.tracing.query
TraceSearchQuery.Builder - Class in codes.grow.packages.zipkin.tracing.query
Builder for TraceSearchQuery.
tracesFromBody(JsonNode) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Keeps the well-formed traces of a response body (ZipkinSpan[][]), dropping empty ones.
TraceSummary - Record Class in codes.grow.packages.zipkin.tracing.query
Search result entry.
TraceSummary(String, String, String, long, long, int) - Constructor for record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Creates a summary from nullable values.
TraceSummary(String, Optional<String>, Optional<String>, long, long, int) - Constructor for record class codes.grow.packages.zipkin.tracing.query.TraceSummary
Normalises the id and optionals.
Tracing - Class in codes.grow.packages.zipkin.tracing
Sets up the OpenTelemetry SDK from a TracingConfig.
TracingConfig - Class in codes.grow.packages.zipkin.tracing
TracingConfig.BatchSettings - Record Class in codes.grow.packages.zipkin.tracing
Span batch processor settings.
TracingConfig.Builder - Class in codes.grow.packages.zipkin.tracing
Builder for TracingConfig.
TracingConfig.Compression - Enum Class in codes.grow.packages.zipkin.tracing
Export body compression.
TracingConfig.Protocol - Enum Class in codes.grow.packages.zipkin.tracing
Export protocol.
TracingConfig.SamplerType - Enum Class in codes.grow.packages.zipkin.tracing
Sampler (OpenTelemetry OTEL_TRACES_SAMPLER names).
tracingConfigFromEnv(String) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Builds a tracing config from the process environment (see the class description).
tracingConfigFromEnv(String, Map<String, String>) - Static method in class codes.grow.packages.zipkin.ZipkinTracing
Builds a tracing config from a variable map (see the class description).
TracingFilter - Class in codes.grow.packages.zipkin.tracing
Jakarta Servlet filter that continues the caller's trace (W3C/B3 headers per the configured propagators) and records one server span per request (Servlet API is a provided dependency).
TracingFilter() - Constructor for class codes.grow.packages.zipkin.tracing.TracingFilter
Uses the helpers' tracer and propagators (Tracing.openTelemetry()).
TracingFilter(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.zipkin.tracing.TracingFilter
Uses an explicit tracer and propagators.
TracingHandle - Class in codes.grow.packages.zipkin.tracing
TracingHandle(OpenTelemetrySdk, TracingConfig) - Constructor for class codes.grow.packages.zipkin.tracing.TracingHandle
Wraps an OpenTelemetry SDK a service package built itself.
TracingInterceptor - Class in codes.grow.packages.zipkin.tracing
OkHttp interceptor (OkHttp is an optional dependency) that runs each call in a client span and adds the propagation headers.
TracingInterceptor() - Constructor for class codes.grow.packages.zipkin.tracing.TracingInterceptor
Uses the helpers' tracer and propagators.
TracingInterceptor(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.zipkin.tracing.TracingInterceptor
Uses an explicit tracer and propagators.
TracingOps - Class in codes.grow.packages.zipkin.testing.tracing
Conformance operations of the tracing category: span, flush, getTraceUntil, listServices.
TracingOps() - Constructor for class codes.grow.packages.zipkin.testing.tracing.TracingOps
Creates the operations.
TracingTarget - Record Class in codes.grow.packages.zipkin.testing.tracing
Target of the tracing conformance scenarios.
TracingTarget(TracingHandle, Optional<TraceQueryClient>) - Constructor for record class codes.grow.packages.zipkin.testing.tracing.TracingTarget
Validates the target.
transport() - Method in class codes.grow.packages.zipkin.ZipkinClient
Returns the HTTP transport, for service modules built on this client.
TransportConfig - Class in codes.grow.packages.zipkin.core
Settings of one HttpTransport.
TransportConfig.Builder - Class in codes.grow.packages.zipkin.core
Builder for TransportConfig.
TransportRequest - Class in codes.grow.packages.zipkin.core
One logical HTTP call executed by HttpTransport (with retries).
TransportRequest.Builder - Class in codes.grow.packages.zipkin.core
Builder for TransportRequest.
TransportResponse - Class in codes.grow.packages.zipkin.core
A response returned by HttpTransport (2xx or an accepted status).
TransportResponse(int, Map<String, List<String>>, byte[], int, Duration, String) - Constructor for class codes.grow.packages.zipkin.core.TransportResponse
Creates a response (used by the transport and by tests).
tree() - Method in class codes.grow.packages.zipkin.testing.OpResult
Returns the tree view.
tree(byte[]) - Static method in class codes.grow.packages.zipkin.core.Json
Parses JSON bytes into a tree.
truncate(String, int) - Static method in class codes.grow.packages.zipkin.core.Redaction
Truncates text to max characters, appending an ellipsis when cut.

U

UNAVAILABLE - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
Network error or HTTP 500, 502, 503.
UnavailableException - Exception Class in codes.grow.packages.zipkin.core
Network error or HTTP 500, 502, 503.
UnavailableException(String) - Constructor for exception class codes.grow.packages.zipkin.core.UnavailableException
Creates the exception.
UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnavailableException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnavailableException
Creates the exception with response details.
UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnavailableException
Creates the exception with a cause.
UNKNOWN_SERVICE - Static variable in class codes.grow.packages.zipkin.ZipkinSpanExporter
Service name used when the resource has no service.name.
unreachable(String) - Static method in record class codes.grow.packages.zipkin.core.HealthStatus
The status for a service that could not be reached.
UNSET - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
"unset".
UNSET - Static variable in record class codes.grow.packages.zipkin.tracing.query.Span.Status
Unset status.
UNSPECIFIED - Enum constant in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
"unspecified".
UNSUPPORTED - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
A capability the service or deployment does not offer (HTTP 501).
UnsupportedException - Exception Class in codes.grow.packages.zipkin.core
The service or deployment does not offer this capability (HTTP 501).
UnsupportedException(String) - Constructor for exception class codes.grow.packages.zipkin.core.UnsupportedException
Creates the exception.
UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnsupportedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnsupportedException
Creates the exception with response details.
UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.UnsupportedException
Creates the exception with a cause.
until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.zipkin.core.Poll
Calls attempt every interval until it returns a value or timeout passes.
untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.zipkin.core.Poll
url() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
Returns the value of the url record component.
url() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the server base URL.
url(String) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the server base URL.
url(String) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the server base URL (default "http://127.0.0.1:9411").
userAgent() - Static method in class codes.grow.packages.zipkin.core.SdkInfo
Returns the standard user agent: grow-codes-<key>/<version> (java).
userAgent() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the full User-Agent header value.
userAgentSuffix() - Method in class codes.grow.packages.zipkin.core.TransportConfig
Returns the user agent suffix.
userAgentSuffix() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Returns the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.zipkin.core.TransportConfig.Builder
Sets the text appended to the standard user agent.
userAgentSuffix(String) - Method in class codes.grow.packages.zipkin.ZipkinClient.Builder
Sets the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.zipkin.ZipkinConfig.Builder
Sets the text appended to the User-Agent.

V

validate() - Method in class codes.grow.packages.zipkin.core.TlsOptions
Checks that certificate and key come together.
validate() - Method in class codes.grow.packages.zipkin.ZipkinConfig
Checks URL scheme, positive timeouts, retry limits and TLS pairs.
VALIDATION - Enum constant in enum class codes.grow.packages.zipkin.core.ErrorCode
HTTP 400, 413, 422, other 4xx or bad input caught client side.
ValidationException - Exception Class in codes.grow.packages.zipkin.core
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
ValidationException(String) - Constructor for exception class codes.grow.packages.zipkin.core.ValidationException
Creates the exception.
ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ValidationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ValidationException
Creates the exception with response details.
ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ValidationException
Creates the exception with a cause.
value() - Method in class codes.grow.packages.zipkin.testing.OpResult
Returns the wrapped value.
value() - Element in annotation interface codes.grow.packages.zipkin.tracing.Traced.Method
Span name; empty means <SimpleInterfaceName>.<method>.
value() - Method in record class codes.grow.packages.zipkin.ZipkinAnnotation
Returns the value of the value record component.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.core.ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.testing.ConformanceReport.Status
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Compression
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.zipkin.ZipkinKind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class codes.grow.packages.zipkin.core.ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.testing.ConformanceReport.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Compression
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.zipkin.ZipkinKind
Returns an array containing the constants of this enum class, in the order they are declared.
variable(String) - Method in class codes.grow.packages.zipkin.testing.StepContext
Returns a variable (run, prefix, serviceName or a saved name).
variable(String, String) - Method in class codes.grow.packages.zipkin.testing.ConformanceRunner.Builder
Sets an extra variable, e.g.
version() - Method in record class codes.grow.packages.zipkin.ZipkinServerInfo
Returns the value of the version record component.
VERSION - Static variable in class codes.grow.packages.zipkin.core.SdkInfo
Package version (from the Maven build).
view(Object) - Static method in class codes.grow.packages.zipkin.testing.Expectations
Returns the JSON view of a value used by equals, contains, type and sorted.

W

waitForTrace(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
waitForTrace(String, WaitForTraceOptions) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
Polls TraceQueryClient.getTrace(java.lang.String) until the trace has at least minSpans spans.
waitForTraceAsync(String, WaitForTraceOptions) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
WaitForTraceOptions - Record Class in codes.grow.packages.zipkin.tracing.query
WaitForTraceOptions(Duration, Duration, int) - Constructor for record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
Fills defaults for null durations.
warn(String) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at warn level without fields.
warn(String, Map<String, Object>) - Method in interface codes.grow.packages.zipkin.core.Logger
Logs at warn level.
willRetry() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
Returns the value of the willRetry record component.
wireValue() - Method in enum class codes.grow.packages.zipkin.core.ErrorCode
Returns the wire value used in conformance scenarios and JSON.
wireValue() - Method in enum class codes.grow.packages.zipkin.tracing.query.Span.Kind
Wire value.
wireValue() - Method in enum class codes.grow.packages.zipkin.tracing.query.Span.StatusCode
Wire value.
wireValue() - Method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Compression
Wire value.
wireValue() - Method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.Protocol
Wire value.
wireValue() - Method in enum class codes.grow.packages.zipkin.tracing.TracingConfig.SamplerType
Wire value.
with(ConformanceReport.Status) - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport
Returns the scenarios with a status.
withCount(int) - Method in class codes.grow.packages.zipkin.testing.OpResult
Returns a copy with an explicit count (e.g. the number of spans of a trace).
withNativeIds(boolean, Supplier<T>) - Static method in class codes.grow.packages.zipkin.tracing.query.TraceIds
Runs body with native ids accepted (or not) on the current thread only; the previous policy is restored when the body returns or throws.
withSpan(String, SpanOptions, ThrowingRunnable<E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Runs fn in a new span with options.
withSpan(String, SpanOptions, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Runs fn in a new span with options.
withSpan(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Runs fn in a new internal span.
withSpan(String, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
Runs fn in a new internal span that is current while it runs.
withTree(Map<String, List<String>>) - Method in class codes.grow.packages.zipkin.testing.OpResult
Returns a copy with a parent-name to child-names view (span trees).
wrap(HttpClient) - Static method in class codes.grow.packages.zipkin.tracing.TracedHttpClient
Wraps a client using the helpers' tracer and propagators.
wrap(HttpClient, Tracer, ContextPropagators) - Static method in class codes.grow.packages.zipkin.tracing.TracedHttpClient
Wraps a client with an explicit tracer and propagators.

Z

ZipkinAnnotation - Record Class in codes.grow.packages.zipkin
A timestamped event on a Zipkin span.
ZipkinAnnotation(long, String) - Constructor for record class codes.grow.packages.zipkin.ZipkinAnnotation
Checks the value.
ZipkinClient - Class in codes.grow.packages.zipkin
Client for Zipkin (port 9411): health, ping and server version, plus the query API (ZipkinClient.query()), the direct span reporter (ZipkinClient.reporter()) and tracing setup (ZipkinClient.initTracing(codes.grow.packages.zipkin.tracing.TracingConfig)).
ZipkinClient.Builder - Class in codes.grow.packages.zipkin
Builder that configures and creates a client in one chain.
ZipkinConfig - Class in codes.grow.packages.zipkin
Immutable configuration of a ZipkinClient (SPEC section 2.2): the Zipkin server URL (port 9411), the span ingest endpoint and the common transport settings.
ZipkinConfig.Builder - Class in codes.grow.packages.zipkin
Builder of the configuration.
ZipkinDependencyLink - Record Class in codes.grow.packages.zipkin
A service dependency edge with Zipkin's errorCount (0 when the server omits it).
ZipkinDependencyLink(String, String, long, long) - Constructor for record class codes.grow.packages.zipkin.ZipkinDependencyLink
Creates an instance of a ZipkinDependencyLink record class.
ZipkinEndpoint - Record Class in codes.grow.packages.zipkin
Network endpoint of a span (localEndpoint / remoteEndpoint).
ZipkinEndpoint(Optional<String>, Optional<String>, Optional<String>, OptionalInt) - Constructor for record class codes.grow.packages.zipkin.ZipkinEndpoint
Normalises nulls and empty strings to empty.
ZipkinException - Exception Class in codes.grow.packages.zipkin.core
Base class of every error raised by the Zipkin SDK (SPEC section 2.1).
ZipkinException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.zipkin.core.ZipkinException
Creates an exception.
ZipkinKind - Enum Class in codes.grow.packages.zipkin
Zipkin span kind.
ZipkinModel - Class in codes.grow.packages.zipkin
The Zipkin v2 JSON model: ingest normalization, encoding, decoding of query responses and the conversion of Zipkin spans into the SPEC section 5 trace model.
ZipkinQueryClient - Class in codes.grow.packages.zipkin
ZipkinReporter - Class in codes.grow.packages.zipkin
Reports spans to Zipkin without OpenTelemetry: POST /api/v2/spans with a JSON array of v2 spans (202 Accepted).
ZipkinReporter.Options - Class in codes.grow.packages.zipkin
Options of a ZipkinReporter.
ZipkinServerInfo - Record Class in codes.grow.packages.zipkin
Build information of the server (GET /info).
ZipkinServerInfo(Optional<String>, Optional<String>) - Constructor for record class codes.grow.packages.zipkin.ZipkinServerInfo
Normalises nulls.
ZipkinSpan - Record Class in codes.grow.packages.zipkin
A Zipkin v2 span exactly as the server stores and returns it (all tag values are strings).
ZipkinSpan(String, Optional<String>, String, Optional<ZipkinKind>, Optional<String>, OptionalLong, OptionalLong, Optional<ZipkinEndpoint>, Optional<ZipkinEndpoint>, List<ZipkinAnnotation>, Map<String, String>, boolean, boolean) - Constructor for record class codes.grow.packages.zipkin.ZipkinSpan
Normalises nulls to empty values and copies the collections.
ZipkinSpan.Builder - Class in codes.grow.packages.zipkin
Builder of a ZipkinSpan.
ZipkinSpanExporter - Class in codes.grow.packages.zipkin
OpenTelemetry SpanExporter for Zipkin: maps each span with ZipkinSpanExporter.toZipkinSpan(io.opentelemetry.sdk.trace.data.SpanData) and sends the batch with a ZipkinReporter (POST /api/v2/spans, JSON v2, gzip by default, retries on 5xx/429/network errors).
ZipkinSpanExporter.Builder - Class in codes.grow.packages.zipkin
Builder of a ZipkinSpanExporter.
zipkinTraceId(String, String) - Static method in class codes.grow.packages.zipkin.ZipkinModel
Lower-cases and validates a Zipkin trace id (16 or 32 hex characters, not all zero).
ZipkinTraceQuery - Class in codes.grow.packages.zipkin
Filter of ZipkinQueryClient.getTraces() (GET /api/v2/traces).
ZipkinTraceQuery.Builder - Class in codes.grow.packages.zipkin
Builder of a ZipkinTraceQuery (validated by ZipkinQueryClient.getTraces()).
ZipkinTracing - Class in codes.grow.packages.zipkin
The Zipkin tracing preset (SPEC section 5): OpenTelemetry tracing that exports Zipkin v2 JSON to POST /api/v2/spans through ZipkinSpanExporter (native, the default) or, opt-in, OTLP to an OpenTelemetry Collector whose zipkin exporter forwards to Zipkin (grpc / http/protobuf; stock Zipkin does not accept OTLP).
ZipkinTracing.Options - Class in codes.grow.packages.zipkin
ZipkinTracingHandle - Class in codes.grow.packages.zipkin
A running Zipkin tracing setup: the generic TracingHandle plus the exporter endpoint in use.
A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form