Index
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)andTraceIds.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
annotationsrecord 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}}(howZipkinSpanExporterencodes 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
argsrecord 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
attemptrecord component. - attempt() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
-
Returns the value of the
attemptrecord 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
attributesrecord component. - attributes() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Event
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Link
-
Returns the value of the
attributesrecord 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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'sAUTOCOMPLETE_KEYSin configured order, empty when unset). - autocompleteKeysAsync() - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
-
Asynchronous
ZipkinQueryClient.autocompleteKeys(). - 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 inAUTOCOMPLETE_KEYS). - autocompleteValuesAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
-
Asynchronous
ZipkinQueryClient.autocompleteValues(java.lang.String). - 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
batchOptionsobject 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
BatchSettingsrecord 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
-
Builds the span (not validated;
ZipkinModel.normalize(codes.grow.packages.zipkin.ZipkinSpan, java.lang.String)validates). - 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
annotationQueryfrom 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
CoreOpsand 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
callCountrecord component. - callCount() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
-
Returns the value of the
callCountrecord 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
categoryrecord 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
categoryrecord 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
-
Asynchronous variant of
HealthCheck.check(codes.grow.packages.zipkin.core.HttpTransport, java.lang.String). - child() - Method in record class codes.grow.packages.zipkin.tracing.query.DependencyLink
-
Returns the value of the
childrecord component. - child() - Method in record class codes.grow.packages.zipkin.ZipkinDependencyLink
-
Returns the value of the
childrecord component. - children() - Method in record class codes.grow.packages.zipkin.tracing.query.SpanNode
-
Returns the value of the
childrenrecord 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-Afterdates. - 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
-
Same as
TracingHandle.shutdown(). - 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
coderecord 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
commitrecord 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 (
GZIPsendsContent-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 theOTEL_*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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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 theConformanceRunner. - 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
corecategory: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
coreconformance 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 byZipkinSpanExporter.shutdown()). - create(Class<T>, T) - Static method in class codes.grow.packages.zipkin.tracing.TracedProxy
-
Wraps
targetusing the helpers' default tracer. - create(Class<T>, T, Tracer) - Static method in class codes.grow.packages.zipkin.tracing.TracedProxy
-
Wraps
targetwith 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
debugrecord 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
expectedare 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
listServicessteps 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
limitofZipkinQueryClient.searchTraces(codes.grow.packages.zipkin.tracing.query.TraceSearchQuery)(SPEC section 5). - DEFAULT_SEARCH_WINDOW - Static variable in class codes.grow.packages.zipkin.ZipkinQueryClient
-
Window of
ZipkinQueryClient.searchTraces(codes.grow.packages.zipkin.tracing.query.TraceSearchQuery)without a start: the last hour before the end. - 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:errorCountdefaults 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
DependencyLinkrecord 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
descriptionrecord component. - details() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
-
Returns the value of the
detailsrecord 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
durationrecord 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
durationMicrosrecord component. - durationMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
-
Returns the value of the
durationMicrosrecord 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
durationMsrecord component. - durationMs() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
durationMsrecord 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
endMicrosrecord 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
ZipkinReporterand the tracing exporter. - endpoint() - Method in class codes.grow.packages.zipkin.ZipkinReporter
-
Ingest URL used by
ZipkinReporter.report(java.util.List<codes.grow.packages.zipkin.ZipkinSpan>). - endpoint() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
-
The exporter endpoint in use (
…/api/v2/spansfor 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 legacydeployment.environment). - environment(String) - Method in class codes.grow.packages.zipkin.tracing.TracingConfig.Builder
-
Sets
deployment.environment.nameand the legacydeployment.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
errorrecord 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
errorCountrecord component. - ErrorInfo(String, String, ZipkinException, int, boolean) - Constructor for record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
-
Creates an instance of a
ErrorInforecord 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
HttpTransportderived 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
eventsrecord component. - expect() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
-
Returns the value of the
expectrecord component. - Expectations - Class in codes.grow.packages.zipkin.testing
-
Evaluates the
expectobject 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
exportTimeoutrecord 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
-
Asynchronous
TracingHandle.forceFlush(Duration). - forceFlushAsync(Duration) - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
-
Asynchronous
ZipkinTracingHandle.forceFlush(Duration). - 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_URLandOTEL_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
statusfield (ok/unhealthywhen 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,errorCountdefaulting 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
-
Asynchronous
ZipkinQueryClient.getDependencies(Instant, Duration). - 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
-
Asynchronous
TraceQueryClient.getTrace(java.lang.String); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - 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
-
Asynchronous
ZipkinQueryClient.getTraces(ZipkinTraceQuery). - 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
-
Asynchronous
ZipkinQueryClient.getTraceSpans(java.lang.String). - 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
handlerecord 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
headersrecord 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 thezipkinandstoragedetails. - 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 forCancelledExceptionandConfigException. - 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
healthyrecord 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
-
Data passed to
Hooks.onError(codes.grow.packages.zipkin.core.Hooks.ErrorInfo). - 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/tracesappended 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
idrecord component. - id() - Method in record class codes.grow.packages.zipkin.testing.Scenario
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
-
Returns the value of the
idrecord 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
indexrecord 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(seeZipkinTracing). - 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
setGlobalis 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.HttpHeadersor servlet APIs); existing propagation headers are replaced. - InMemorySpanExporter - Class in codes.grow.packages.zipkin.testing.tracing
-
SpanExporterthat 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
-
TraceQueryClientover in-memory spans (usuallyInMemorySpanExporter.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
intervalrecord component. - intervalOr(Duration) - Method in record class codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions
-
Returns the caller's interval, or
serviceDefaultwhen 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
ipv4record component. - ipv6() - Method in record class codes.grow.packages.zipkin.ZipkinEndpoint
-
Returns the value of the
ipv6record 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
-
Whether
InMemorySpanExporter.shutdown()was called. - 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
idis 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
kindrecord 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
kindrecord 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
linksrecord 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
-
SPEC section 5 alias of
ZipkinQueryClient.listSpans(java.lang.String). - listOperationsAsync(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.listOperations(java.lang.String). - 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.serviceNameon its spans):GET /api/v2/remoteServices?serviceName=(sorted). - listRemoteServicesAsync(String) - Method in class codes.grow.packages.zipkin.ZipkinQueryClient
-
Asynchronous
ZipkinQueryClient.listRemoteServices(java.lang.String). - 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
-
Asynchronous
TraceQueryClient.listServices(). - 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
-
Asynchronous
ZipkinQueryClient.listSpans(java.lang.String). - localEndpoint() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
-
Returns the value of the
localEndpointrecord 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
maxExportBatchSizerecord component. - maxQueueSize() - Method in record class codes.grow.packages.zipkin.tracing.TracingConfig.BatchSettings
-
Returns the value of the
maxQueueSizerecord 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-Afterwait 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
messagerecord component. - message() - Method in record class codes.grow.packages.zipkin.tracing.query.Span.Status
-
Returns the value of the
messagerecord component. - method() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
-
Returns the value of the
methodrecord 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
minSpansrecord 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
namerecord component. - name() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
-
Returns the value of the
namerecord component. - name() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
-
Returns the value of the
namerecord 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
0xprefix, 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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 explicitretryableflag 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_PREFIXover an explicit map. - ok() - Static method in record class codes.grow.packages.zipkin.core.HealthStatus
-
A healthy
okstatus 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
oprecord component. - op() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
-
Returns the value of the
oprecord 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
countandtree. - 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 OpenTelemetryAttributes. - 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
parentrecord 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
parentrecord 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
parentIdrecord 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
parentSpanIdrecord 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 least1000000000) or an HTTP-date. - parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.zipkin.core.RetryPolicy
-
Parses a
Retry-Afterheader: 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
opuntil its expectation passes ortimeout(or the step'stimeoutMsargument) runs out, for eventually consistent backends. - Poll - Class in codes.grow.packages.zipkin.core
-
Generic polling helper (
pollUntil): used bywaitForLog,waitForTraceand 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
portrecord 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,noneor 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 theOTEL_*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/protobufunless 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 selecthttp/protobufin 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 theOTEL_*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
queryrecord 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
rawrecord component. - reason() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
reasonrecord 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
remoteEndpointrecord 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 onserviceName'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
requestIdrecord 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
RequestInforecord 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
requiresrecord component. - requires() - Method in record class codes.grow.packages.zipkin.testing.Scenario.Step
-
Returns the value of the
requiresrecord 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
explicitthat is still at its generic default fromenvand 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 legacydeployment.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
ResponseInforecord 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 exampleX-RateLimit-Reset), parsed withRetryPolicy.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 exampleX-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
rootNamerecord component. - rootServiceName() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
-
Returns the value of the
rootServiceNamerecord 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
fnin a new span. - run(String, Callable<T>) - Static method in class codes.grow.packages.zipkin.tracing.Traced
-
Runs
fnin a new span (seeSpans.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
-
TraceIds.withNativeIds(boolean, Supplier)for code without a result.
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 theOTEL_*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 theOTEL_*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
saverecord 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
scenariosrecord 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
scheduledDelayrecord component. - SCOPE - Static variable in class codes.grow.packages.zipkin.testing.tracing.TracingOps
-
Instrumentation scope of the spans the
spanop creates. - SdkInfo - Class in codes.grow.packages.zipkin.core
-
Package identity used in the
User-Agentheader. - 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 (seeZipkinTraceQuery.Builder.tag(java.lang.String, java.lang.String)), durations in µs,endTs=end(default now),lookback=end - start(the last hour without a start),limitdefault 20. - searchTracesAsync(TraceSearchQuery) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.searchTraces(codes.grow.packages.zipkin.tracing.query.TraceSearchQuery); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - 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
-
Asynchronous
ZipkinClient.serverInfo(). - 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) fromGET /info. - serverVersionAsync() - Method in class codes.grow.packages.zipkin.ZipkinClient
-
Asynchronous
ZipkinClient.serverVersion(). - 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
serviceNamerecord 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
serviceNamerecord 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, elseservice.nameinOTEL_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
-
Whether
Tracing.initWith(codes.grow.packages.zipkin.tracing.TracingConfig, codes.grow.packages.zipkin.tracing.SpanExporterFactory)registers the SDK as the global OpenTelemetry. - 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
sharedrecord 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
-
Asynchronous
TracingHandle.shutdown(). - shutdownAsync() - Method in class codes.grow.packages.zipkin.ZipkinTracingHandle
-
Asynchronous
ZipkinTracingHandle.shutdown(). - 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, thenspanId. - 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
spanrecord 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
- 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
spanCountrecord component. - SpanDataConverter - Class in codes.grow.packages.zipkin.testing.tracing
-
Converts OpenTelemetry SDK
SpanDatainto the normalized querySpan. - SpanExporterFactory - Interface in codes.grow.packages.zipkin.tracing
-
Creates the span exporter for a
TracingConfig(seeOtlpExporters.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;
nullwhen the node is not an object with stringtraceIdandid. - 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
spanIdrecord component. - spanId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
-
Returns the value of the
spanIdrecord 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
-
A span with its children (see
Traces.buildTree(java.util.List<codes.grow.packages.zipkin.tracing.query.Span>)). - 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
spansrecord 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
startMicrosrecord component. - startMicros() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
-
Returns the value of the
startMicrosrecord component. - status() - Method in record class codes.grow.packages.zipkin.core.HealthStatus
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
-
Returns the value of the
statusrecord 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
statusrecord component. - status() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.StepResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
-
Returns the value of the
statusrecord 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
OpHandlerneeds 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
StepResultrecord class. - steps() - Method in record class codes.grow.packages.zipkin.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
stepsrecord component. - steps() - Method in record class codes.grow.packages.zipkin.testing.Scenario
-
Returns the value of the
stepsrecord 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_PREFIXover 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
tagsrecord 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
-
Adds tags (see
ZipkinSpan.Builder.tag(java.lang.String, java.lang.Object)). - 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
-
Adds exact tag matches (see
ZipkinTraceQuery.Builder.tag(java.lang.String, java.lang.String)). - 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 elsetoString(). - 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
timeMicrosrecord 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
timeoutrecord 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
timestamprecord component. - timestamp() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
-
Returns the value of the
timestamprecord 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,
kindabsent → internal,serviceName=localEndpoint.serviceName(or""), attributes = tags, annotations → events, status from theerrortag (error, message = its value) orotel.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/traceManyrequest: 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 theTraced.Methodannotation honoured byTracedProxy. - 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 withTraced.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
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.Span
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.Trace
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.zipkin.tracing.query.TraceSummary
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.zipkin.ZipkinSpan
-
Returns the value of the
traceIdrecord 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
- 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
-
Filter of
TraceQueryClient.searchTraces(codes.grow.packages.zipkin.tracing.query.TraceSearchQuery)(limit defaults to 20). - 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
-
Immutable tracing setup used by
Tracing.initWith(codes.grow.packages.zipkin.tracing.TracingConfig, codes.grow.packages.zipkin.tracing.SpanExporterFactory). - 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_SAMPLERnames). - 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
provideddependency). - 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
-
Running tracing setup returned by
Tracing.initWith(codes.grow.packages.zipkin.tracing.TracingConfig, codes.grow.packages.zipkin.tracing.SpanExporterFactory). - 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
tracingcategory: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
tracingconformance 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
maxcharacters, 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
attempteveryintervaluntil it returns a value ortimeoutpasses. - untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.zipkin.core.Poll
-
Asynchronous variant of
Poll.until(java.lang.String, java.time.Duration, java.time.Duration, java.util.concurrent.Callable<java.util.Optional<T>>): no thread blocks between attempts. - url() - Method in record class codes.grow.packages.zipkin.core.Hooks.ErrorInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.zipkin.core.Hooks.RequestInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.zipkin.core.Hooks.ResponseInfo
-
Returns the value of the
urlrecord 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-Agentheader 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
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat 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
valuerecord 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,serviceNameor 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
versionrecord 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,typeandsorted.
W
- waitForTrace(String) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
-
TraceQueryClient.waitForTrace(String, WaitForTraceOptions)with defaults. - waitForTrace(String, WaitForTraceOptions) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
-
Polls
TraceQueryClient.getTrace(java.lang.String)until the trace has at leastminSpansspans. - waitForTraceAsync(String, WaitForTraceOptions) - Method in interface codes.grow.packages.zipkin.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.waitForTrace(String, WaitForTraceOptions); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - 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
nulldurations. - 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
willRetryrecord 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
bodywith 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
fnin a new span with options. - withSpan(String, SpanOptions, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
-
Runs
fnin a new span with options. - withSpan(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
-
Runs
fnin a new internal span. - withSpan(String, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.zipkin.tracing.Spans
-
Runs
fnin 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
ZipkinDependencyLinkrecord 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
-
Reads traces back from Zipkin (port 9411): the native v2 query API (
ZipkinQueryClient.getTraceSpans(java.lang.String),ZipkinQueryClient.getTraces(),ZipkinQueryClient.getTraceMany(java.util.Collection<java.lang.String>),ZipkinQueryClient.listServices(),ZipkinQueryClient.listSpans(java.lang.String),ZipkinQueryClient.listRemoteServices(java.lang.String),ZipkinQueryClient.getDependencies(Instant, Duration),ZipkinQueryClient.autocompleteKeys(),ZipkinQueryClient.autocompleteValues(java.lang.String)) and the SPEC section 5TraceQueryClient(ZipkinQueryClient.getTrace(java.lang.String),ZipkinQueryClient.searchTraces(codes.grow.packages.zipkin.tracing.query.TraceSearchQuery),ZipkinQueryClient.listOperations(java.lang.String),TraceQueryClient.waitForTrace(java.lang.String, codes.grow.packages.zipkin.tracing.query.WaitForTraceOptions)) on top of it. - ZipkinReporter - Class in codes.grow.packages.zipkin
-
Reports spans to Zipkin without OpenTelemetry:
POST /api/v2/spanswith 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
SpanExporterfor Zipkin: maps each span withZipkinSpanExporter.toZipkinSpan(io.opentelemetry.sdk.trace.data.SpanData)and sends the batch with aZipkinReporter(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 byZipkinQueryClient.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/spansthroughZipkinSpanExporter(native, the default) or, opt-in, OTLP to an OpenTelemetry Collector whosezipkinexporter 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
TracingHandleplus the exporter endpoint in use.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form