Index

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

A

acceptAnyStatus() - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Returns every status to the caller (health probes); no status is retried.
acceptNativeIds(boolean) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceIds
Sets the package-wide default: whether TraceIds.traceId(String) and TraceIds.spanId(String) keep native (non-hex) ids verbatim instead of rejecting them, on every thread that has no scoped policy (TraceIds.withNativeIds(boolean, java.util.function.Supplier<T>)).
accepts(int) - Method in class codes.grow.packages.datadogapm.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.datadogapm.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.datadogapm.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.datadogapm.tracing.Spans
Adds an event to the current span.
addEvent(String, Map<String, ?>) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Adds an event with attributes to the current span.
AGENT_TRACE_PORT - Static variable in class codes.grow.packages.datadogapm.DatadogApmConfig
Default Agent trace intake port (serves GET /info).
agentInfo() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Returns the Agent's GET /info.
AgentInfo - Record Class in codes.grow.packages.datadogapm
The Datadog Agent's GET /info document (fields this package reads).
AgentInfo(String, String, List<String>, JsonNode, JsonNode) - Constructor for record class codes.grow.packages.datadogapm.AgentInfo
Copies the endpoints.
agentInfoAsync() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
aggregateSpans(List<SpanCompute>, List<SpanGroupBy>) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
aggregateSpans(List<SpanCompute>, List<SpanGroupBy>, AggregateSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Calls POST /api/v2/spans/analytics/aggregate: computes compute per group of groupBy.
aggregateSpansAsync(List<SpanCompute>, List<SpanGroupBy>, AggregateSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
AggregateSpansOptions - Record Class in codes.grow.packages.datadogapm
AggregateSpansOptions(String, Optional<DatadogTime>, Optional<DatadogTime>, String) - Constructor for record class codes.grow.packages.datadogapm.AggregateSpansOptions
Fills the defaults.
aggregation() - Method in record class codes.grow.packages.datadogapm.SpanCompute
Returns the value of the aggregation record component.
aggregation() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Returns the value of the aggregation record component.
AGGREGATION_AVG - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
avg.
AGGREGATION_CARDINALITY - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
cardinality.
AGGREGATION_COUNT - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
count.
AGGREGATION_MAX - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
max.
AGGREGATION_MEDIAN - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
median.
AGGREGATION_MIN - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
min.
AGGREGATION_PC75 - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
pc75.
AGGREGATION_PC90 - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
pc90.
AGGREGATION_PC95 - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
pc95.
AGGREGATION_PC98 - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
pc98.
AGGREGATION_PC99 - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
pc99.
AGGREGATION_SUM - Static variable in record class codes.grow.packages.datadogapm.SpanCompute
sum.
ALWAYS_OFF - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Sample nothing.
ALWAYS_ON - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Sample everything.
apiKey() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Datadog API key (query API only).
apiKey(Secret) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the Datadog API key.
apiKey(Secret) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the Datadog API key (query API only).
apiKey(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the Datadog API key.
apiKey(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the Datadog API key (query API only).
apiUrl() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Query API base URL (default https://api.<site>).
apiUrl(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the query API base URL.
apiUrl(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the query API base URL (default https://api.<site>).
apiUrlForSite(String) - Static method in class codes.grow.packages.datadogapm.DatadogSites
Returns the API base URL of a site: https://api.<site>.
appKey() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Datadog application key with apm_read (query API only).
appKey(Secret) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the Datadog application key.
appKey(Secret) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the Datadog application key with apm_read (query API only).
appKey(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the Datadog application key.
appKey(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the Datadog application key with apm_read (query API only).
arg(String) - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns a required string argument.
args() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns the value of the args record component.
args() - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns the arguments with ${...} variables substituted (#{i} is kept).
asSdkException(Throwable, String) - Static method in class codes.grow.packages.datadogapm.core.HttpTransport
Converts any throwable from a future into the matching SDK exception.
assertPassed() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Throws when any scenario failed.
at(Instant) - Static method in class codes.grow.packages.datadogapm.DatadogTime
An absolute time.
attempt() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns the value of the attempt record component.
attempts() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the number of attempts the call needed.
ATTR_ERROR_MESSAGE - Static variable in class codes.grow.packages.datadogapm.DatadogSpanErrors
error.message span attribute.
ATTR_ERROR_STACK - Static variable in class codes.grow.packages.datadogapm.DatadogSpanErrors
error.stack span attribute.
ATTR_ERROR_TYPE - Static variable in class codes.grow.packages.datadogapm.DatadogSpanErrors
error.type span attribute (exception class name).
attribute(String, Object) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Adds one attribute.
attribute(String, Object) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Adds one attribute.
attributes() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the attributes record component.
attributes() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Returns the value of the attributes record component.
attributes() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Returns the value of the attributes record component.
attributes() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Attributes set at span start.
attributes(Attributes) - Static method in class codes.grow.packages.datadogapm.testing.tracing.SpanDataConverter
Converts OpenTelemetry attributes into attribute values (arrays become lists).
attributes(Map<String, ?>) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Adds attributes.
attributes(Map<String, ?>) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Adds attributes.
AUTHENTICATION - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
HTTP 401: missing or invalid credentials.
AuthenticationException - Exception Class in codes.grow.packages.datadogapm.core
Missing or invalid credentials (HTTP 401).
AuthenticationException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.AuthenticationException
Creates the exception.
AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.AuthenticationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.AuthenticationException
Creates the exception with response details.
AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.AuthenticationException
Creates the exception with a cause.
await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.RetryPolicy
Computes the full-jitter backoff for retry n.
backoffCap(int) - Method in class codes.grow.packages.datadogapm.core.RetryPolicy
Returns the upper bound of the jitter window for retry n.
baseUrl() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the base URL.
batch() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Batch processor settings.
batch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the batch processor settings.
batchOptions() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the batchOptions object of a logging scenario.
BatchSettings(int, int, Duration, Duration) - Constructor for record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Creates an instance of a BatchSettings record class.
body() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns a copy of the body.
body() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns a copy of the body.
body(byte[], String) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Sets a raw body.
bool(String, String...) - Method in class codes.grow.packages.datadogapm.core.EnvReader
Reads a boolean (true/false/1/0/yes/no/on/off, case-insensitive).
buckets() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns the value of the buckets record component.
build() - Method in class codes.grow.packages.datadogapm.core.RetryPolicy.Builder
Validates and builds the policy.
build() - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Builds the configuration.
build() - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Builds the request.
build() - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Builds the configuration and the client.
build() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Builds and validates the configuration.
build() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Builds the runner.
build() - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Builds the span.
build() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Builds the query.
build() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Validates and builds.
builder() - Static method in class codes.grow.packages.datadogapm.core.RetryPolicy
Starts a builder with the defaults.
builder() - Static method in class codes.grow.packages.datadogapm.core.TlsOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.datadogapm.DatadogApmClient
Starts a client builder.
builder() - Static method in class codes.grow.packages.datadogapm.DatadogApmConfig
Starts an empty builder (every field at its default).
builder() - Static method in class codes.grow.packages.datadogapm.SearchSpansOptions
A builder with the defaults.
builder() - Static method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Starts a builder with CoreOps and the built-in category operations registered.
builder() - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Returns a builder.
builder() - Static method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Returns a builder.
builder(String) - Static method in class codes.grow.packages.datadogapm.core.TransportConfig
Starts a builder with the SPEC defaults.
builder(String) - Static method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns a builder.
builder(String, String) - Static method in class codes.grow.packages.datadogapm.core.TransportRequest
Starts a request.
builder(String, String, String) - Static method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns a builder.
buildTree(List<Span>) - Static method in class codes.grow.packages.datadogapm.tracing.query.Traces
Builds the span tree.
by() - Method in record class codes.grow.packages.datadogapm.SpanAggregateBucket
Returns the value of the by record component.

C

caCertPath() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns the CA bundle path.
caCertPath(Path) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Trusts the CA certificates in a PEM file instead of the system trust store.
caCertPem() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns the inline CA bundle.
caCertPem(String) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Trusts the CA certificates in inline PEM text.
callCount() - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Returns the value of the callCount record component.
CANCELLED - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
The caller cancelled the operation.
CancelledException - Exception Class in codes.grow.packages.datadogapm.core
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
CancelledException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.CancelledException
Creates the exception.
CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.CancelledException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.CancelledException
Creates the exception with response details.
CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.CancelledException
Creates the exception with a cause.
capabilities(String...) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Declares capabilities of the target (write, delete, versions, query, version, ...).
category() - Method in interface codes.grow.packages.datadogapm.testing.ConformanceOps
Returns the category these operations serve.
category() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the category record component.
category() - Method in class codes.grow.packages.datadogapm.testing.CoreOps
 
category() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the category record component.
category() - Method in class codes.grow.packages.datadogapm.testing.tracing.TracingOps
 
check(HttpTransport, String) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.testing.Expectations
Checks a step outcome.
checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.datadogapm.core.HealthCheck
child() - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Returns the value of the child record component.
children() - Method in record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Returns the value of the children record component.
clear() - Method in class codes.grow.packages.datadogapm.core.Secret
Overwrites the characters with zeros; later Secret.reveal() calls throw.
CLIENT - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
"client".
clientCertPath() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns the client certificate path.
clientCertPath(Path) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Sets the client certificate file (mutual TLS); requires a key.
clientCertPem(String) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Sets the client certificate as inline PEM.
clientKeyPath() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns the client key path.
clientKeyPath(Path) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Sets the client key file (unencrypted PKCS#8 PEM).
clientKeyPem(Secret) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Sets the client key as inline PEM.
clock() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the clock used for Retry-After dates.
clock(Clock) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the clock (tests).
close() - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Cancels pending calls and releases the client.
close() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Flushes and shuts down every tracing handle started with DatadogApmClient.initTracing(codes.grow.packages.datadogapm.tracing.TracingConfig), closes the query API and releases connections.
close() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Releases connections; idempotent.
close() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
close() - Method in interface codes.grow.packages.datadogapm.testing.CoreTarget
Releases the target; idempotent.
close() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
code() - Method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Returns the canonical error code.
code() - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Returns the value of the code record component.
code() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Status
Returns the value of the code record component.
codes.grow.packages.datadogapm - package codes.grow.packages.datadogapm
Grow Codes SDK for Datadog APM.
codes.grow.packages.datadogapm.core - package codes.grow.packages.datadogapm.core
 
codes.grow.packages.datadogapm.testing - package codes.grow.packages.datadogapm.testing
 
codes.grow.packages.datadogapm.testing.tracing - package codes.grow.packages.datadogapm.testing.tracing
 
codes.grow.packages.datadogapm.tracing - package codes.grow.packages.datadogapm.tracing
 
codes.grow.packages.datadogapm.tracing.query - package codes.grow.packages.datadogapm.tracing.query
 
compression() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Export compression.
compression(TracingConfig.Compression) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the export compression.
compressionExplicit() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns whether TracingConfig.compression() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
computes() - Method in record class codes.grow.packages.datadogapm.SpanAggregateBucket
Returns the value of the computes record component.
config() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns the value of the config record component.
config() - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Returns the configuration.
config() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Returns the configuration.
config() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
The effective configuration.
config() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The effective tracing config (endpoint, propagators and resource attributes resolved).
config() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
The config this handle was created from.
CONFIG - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
Invalid or missing configuration.
ConfigException - Exception Class in codes.grow.packages.datadogapm.core
Invalid or missing configuration.
ConfigException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.ConfigException
Creates the exception.
ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConfigException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConfigException
Creates the exception with response details.
ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConfigException
Creates the exception with a cause.
CONFLICT - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
HTTP 409, 412 or a check-and-set mismatch.
ConflictException - Exception Class in codes.grow.packages.datadogapm.core
Conflicting write or check-and-set mismatch (HTTP 409, 412).
ConflictException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.ConflictException
Creates the exception.
ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConflictException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConflictException
Creates the exception with response details.
ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.ConflictException
Creates the exception with a cause.
ConformanceOps - Interface in codes.grow.packages.datadogapm.testing
The operations of one scenario category (core, secrets, logging, tracing) for the ConformanceRunner.
ConformanceReport - Record Class in codes.grow.packages.datadogapm.testing
Results of a conformance run.
ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.datadogapm.testing.ConformanceReport
Creates a report; the list is copied.
ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.datadogapm.testing
Result of one scenario.
ConformanceReport.Status - Enum Class in codes.grow.packages.datadogapm.testing
Outcome of a scenario or step.
ConformanceReport.StepResult - Record Class in codes.grow.packages.datadogapm.testing
Result of one step.
ConformanceRunner - Class in codes.grow.packages.datadogapm.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.datadogapm.testing
Builder for ConformanceRunner.
connectTimeout() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the connection setup timeout.
connectTimeout() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the connect timeout (default 10 s).
CONSUMER - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
"consumer".
contentType() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the body content type.
CoreOps - Class in codes.grow.packages.datadogapm.testing
Conformance operations of the core category: health, ping, serverVersion, close.
CoreOps() - Constructor for class codes.grow.packages.datadogapm.testing.CoreOps
Creates the operations.
CoreTarget - Interface in codes.grow.packages.datadogapm.testing
A target of the core conformance category that is not the service client: a fake for unit tests of the runner, or an adapter for a client whose core methods differ.
count() - Method in class codes.grow.packages.datadogapm.testing.OpResult
Returns the explicit count.
create(DatadogApmConfig) - Static method in class codes.grow.packages.datadogapm.DatadogApmClient
Creates a client.
create(DatadogApmConfig) - Static method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Creates a query client.
create(Scenario) - Method in interface codes.grow.packages.datadogapm.testing.TargetFactory
Creates or returns the target for one scenario.
create(TracingConfig) - Static method in class codes.grow.packages.datadogapm.tracing.OtlpExporters
Creates an OTLP exporter for the config's protocol.
create(TracingConfig) - Method in interface codes.grow.packages.datadogapm.tracing.SpanExporterFactory
Creates the exporter.
create(Class<T>, T) - Static method in class codes.grow.packages.datadogapm.tracing.TracedProxy
Wraps target using the helpers' default tracer.
create(Class<T>, T, Tracer) - Static method in class codes.grow.packages.datadogapm.tracing.TracedProxy
Wraps target with an explicit tracer.
createExporter(TracingConfig) - Static method in class codes.grow.packages.datadogapm.DatadogTracing
Creates the span exporter: OTLP http/protobuf or grpc to the config's endpoint (default: the local Agent, http://127.0.0.1:4318/v1/traces or http://127.0.0.1:4317), wrapped in a DatadogSpanExporter.
currentSpan() - Static method in class codes.grow.packages.datadogapm.tracing.Spans
The current span (an invalid no-op span when none is active).
currentSpanId() - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Span id of the current span.
currentTraceId() - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Trace id of the current span.
cursor() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Cursor of a previous page.
cursor(String) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the cursor of a previous page.

D

DATADOG_DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.datadogapm.DatadogTracing
Default propagators of this package: Datadog headers, W3C trace context and baggage.
DATADOG_SITES - Static variable in class codes.grow.packages.datadogapm.DatadogSites
The Datadog sites of the official OpenAPI spec (servers enum).
DATADOG_WAIT_INTERVAL - Static variable in class codes.grow.packages.datadogapm.DatadogSpansQuery
Default polling interval of DatadogSpansQuery.waitForTrace(String) (Datadog allows 50 searches/min).
DatadogApmClient - Class in codes.grow.packages.datadogapm
The Datadog APM client (API.md section 1).
DatadogApmClient.Builder - Class in codes.grow.packages.datadogapm
Builder that configures and creates a client in one chain.
DatadogApmConfig - Class in codes.grow.packages.datadogapm
Immutable configuration of a DatadogApmClient, DatadogTracing.initTracing() and DatadogSpansQuery (SPEC section 2.2, API.md section 0, DECISIONS.md #1).
DatadogApmConfig.Builder - Class in codes.grow.packages.datadogapm
Builder of the configuration.
DatadogApmException - Exception Class in codes.grow.packages.datadogapm.core
Base class of every error raised by the Datadog APM SDK (SPEC section 2.1).
DatadogApmException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.DatadogApmException
Creates an exception.
datadogErrorAttributes(Throwable) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
The Datadog error attributes for an exception: error.type (canonical class name, the same as OpenTelemetry's exception.type), error.message (when the exception has a message) and error.stack (the printed stack trace).
DatadogIds - Class in codes.grow.packages.datadogapm
Datadog <-> OpenTelemetry id conversion (API.md section 3, DECISIONS.md #3).
DatadogIds.DatadogTraceId - Record Class in codes.grow.packages.datadogapm
A trace id split the way Datadog stores it.
datadogKind(String) - Static method in class codes.grow.packages.datadogapm.DatadogMapping
Converts a Datadog span.kind (or OpenTelemetry kind name) to a span kind.
DatadogLogCorrelation - Class in codes.grow.packages.datadogapm
Datadog log correlation (DECISIONS.md #3).
datadogLogFields() - Static method in class codes.grow.packages.datadogapm.DatadogLogCorrelation
datadogLogFields(String, String, String) - Static method in class codes.grow.packages.datadogapm.DatadogLogCorrelation
The Datadog log correlation fields for the current span, ready to merge into any structured log record (for example SLF4J MDC): dd.trace_id, dd.span_id, dd.service, dd.env, dd.version.
DatadogMapping - Class in codes.grow.packages.datadogapm
Datadog span formats to the SPEC section 5 trace model (API.md sections 2.1 and 4).
DatadogPropagator - Class in codes.grow.packages.datadogapm
Datadog header propagation (x-datadog-*) with ddtrace's conflict rules (API.md section 3, DECISIONS.md #5).
DatadogPropagator.TerminatedContext - Record Class in codes.grow.packages.datadogapm
DatadogQueryWarning - Record Class in codes.grow.packages.datadogapm
A warning attached to a partial or adjusted Datadog query result (meta.warnings[]).
DatadogQueryWarning(String, String, String) - Constructor for record class codes.grow.packages.datadogapm.DatadogQueryWarning
Creates an instance of a DatadogQueryWarning record class.
DatadogSites - Class in codes.grow.packages.datadogapm
Datadog sites and the query API base URL (API.md section 0).
DatadogSpan - Record Class in codes.grow.packages.datadogapm
One span returned by the spans search API.
DatadogSpan(String, Span, JsonNode) - Constructor for record class codes.grow.packages.datadogapm.DatadogSpan
Creates an instance of a DatadogSpan record class.
DatadogSpanErrors - Class in codes.grow.packages.datadogapm
Datadog error attributes (DECISIONS.md #2).
DatadogSpanExporter - Class in codes.grow.packages.datadogapm
Span exporter wrapper installed by DatadogTracing.initTracing().
DatadogSpanExporter(SpanExporter) - Constructor for class codes.grow.packages.datadogapm.DatadogSpanExporter
Wraps an exporter.
DatadogSpansPage - Record Class in codes.grow.packages.datadogapm
DatadogSpansPage(List<DatadogSpan>, Optional<String>, String, List<DatadogQueryWarning>, Optional<String>) - Constructor for record class codes.grow.packages.datadogapm.DatadogSpansPage
Copies the lists.
DatadogSpansQuery - Class in codes.grow.packages.datadogapm
The Datadog spans query client: the SaaS API at https://api.<site> with the headers DD-API-KEY and DD-APPLICATION-KEY (the application key needs apm_read).
DatadogTime - Class in codes.grow.packages.datadogapm
A point in time for a Datadog query: an absolute instant (sent as ISO-8601 in UTC with milliseconds) or a Datadog date expression (now-15m, ISO-8601, epoch milliseconds) sent as is.
DatadogTraceId(String, String, boolean) - Constructor for record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Creates an instance of a DatadogTraceId record class.
datadogTraceIdString(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
The trace id in the format Datadog's log correlation (dd.trace_id) and its search API use: 32 lower-case hex characters for a 128-bit id, the low 64 bits in decimal for a 64-bit id.
DatadogTracing - Class in codes.grow.packages.datadogapm
initTracing for Datadog: the OpenTelemetry SDK exporting OTLP to the Datadog Agent (HTTP/protobuf on 4318 by default, or gRPC on 4317), unified service tagging, the Datadog + W3C propagators, the Datadog error attributes and the terminated-context links (API.md section 2, DECISIONS.md #2, #5).
DatadogTracingHandle - Class in codes.grow.packages.datadogapm
A running Datadog tracing setup returned by DatadogTracing.initTracing().
debug(String) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at debug level without fields.
debug(String, Map<String, Object>) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at debug level.
decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.datadogapm.core.Json
Decodes JSON bytes into a generic type.
decode(byte[], Class<T>) - Static method in class codes.grow.packages.datadogapm.core.Json
Decodes JSON bytes into a type.
deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.datadogapm.testing.Expectations
Deep JSON equality where objects in expected are matched as subsets and numbers compare by value (42 == 42.0).
DEFAULT_GRPC_ENDPOINT - Static variable in class codes.grow.packages.datadogapm.tracing.OtlpExporters
Default OTLP/gRPC endpoint.
DEFAULT_HTTP_ENDPOINT - Static variable in class codes.grow.packages.datadogapm.tracing.OtlpExporters
Default OTLP/HTTP traces endpoint.
DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
The interval used when none is given.
DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.datadogapm.core.RetryPolicy
Default maximum number of retries (so up to 4 attempts).
DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Pause between repeated steps.
DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.datadogapm.testing.ConformanceRunner
How long listServices steps are repeated until their expectation passes.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.datadogapm.core.EnvReader
Prefix of every variable of this SDK.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Default value of ${prefix}.
DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.datadogapm.tracing.TracingConfig
Default propagators.
DEFAULT_PROTOCOL - Static variable in class codes.grow.packages.datadogapm.DatadogApmConfig
Default OTLP protocol of this package.
DEFAULT_SITE - Static variable in class codes.grow.packages.datadogapm.DatadogSites
Default Datadog site (US1).
DEFAULT_URL - Static variable in class codes.grow.packages.datadogapm.DatadogApmConfig
Default Datadog Agent trace intake URL (health, ping and serverVersion use its /info).
defaults() - Static method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
The defaults: all spans of the last 15 minutes, UTC.
defaults() - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.TlsOptions
Returns options without any customisation (system trust store).
defaults() - Static method in record class codes.grow.packages.datadogapm.GetTraceOptions
Search mode (the default) over the last 24 hours.
defaults() - Static method in class codes.grow.packages.datadogapm.SearchSpansOptions
The defaults: query *, the last 15 minutes, 10 spans per page, oldest first.
defaults() - Static method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Defaults: 30 s, 1 s, 1 span.
defaults() - Static method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Defaults: internal span, no attributes, current context as parent, the helpers' tracer.
defaults() - Static method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
The defaults.
delegate() - Method in class codes.grow.packages.datadogapm.DatadogSpanExporter
The wrapped exporter.
delegate() - Method in class codes.grow.packages.datadogapm.tracing.TracedHttpClient
The wrapped client.
delete(String) - Static method in class codes.grow.packages.datadogapm.core.TransportRequest
Starts a DELETE request.
DependencyLink - Record Class in codes.grow.packages.datadogapm.tracing.query
A service dependency edge.
DependencyLink(String, String, long) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Creates an instance of a DependencyLink record class.
derivedErrorAttributes(SpanData) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
The Datadog error attributes derived from a finished span: from its last exception event (exception.type, exception.message, exception.stacktrace) or, for an ERROR status without an event message, error.message from the status description.
describe() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns a one-line description.
description() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the description record component.
detail() - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Returns the value of the detail record component.
details() - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Returns the value of the details record component.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.datadogapm.tracing.TracingFilter
 
duration() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the call duration including retries.
duration(String, String...) - Method in class codes.grow.packages.datadogapm.core.EnvReader
Reads a duration (integer milliseconds or Go-style units such as 1m30s).
durationMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the durationMicros record component.
durationMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the durationMicros record component.
durationMicros(long) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets an explicit duration.
durationMs() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns the value of the durationMs record component.
durationMs() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the durationMs record component.
dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.datadogapm.testing.JUnitConformance
Creates one dynamic test per selected scenario.

E

encode(Object) - Static method in class codes.grow.packages.datadogapm.core.Json
Encodes a value as UTF-8 JSON.
end() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Range end.
end(Instant) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Sets the range end.
endMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the endMicros record component.
endpoint() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The OTLP traces URL spans are exported to.
endpoint() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Export endpoint.
endpoint(String) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the export endpoint.
endpoints() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns the value of the endpoints record component.
ENV - Static variable in class codes.grow.packages.datadogapm.DatadogLogCorrelation
dd.env.
environment() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
env of unified service tagging (resource deployment.environment.name).
environment() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
deployment.environment.name (and the legacy deployment.environment).
environment(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the environment.
environment(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets env of unified service tagging.
environment(String) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets deployment.environment.name and the legacy deployment.environment.
EnvReader - Class in codes.grow.packages.datadogapm.core
Reads configuration from environment variables (SPEC section 2.2).
EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.datadogapm.core.EnvReader
Creates a reader over an explicit environment map.
epochMillis(long) - Static method in class codes.grow.packages.datadogapm.DatadogTime
An absolute time from epoch milliseconds.
equals(Object) - Method in record class codes.grow.packages.datadogapm.AgentInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class codes.grow.packages.datadogapm.DatadogTime
 
equals(Object) - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanAggregateBucket
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanCompute
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Histogram
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.SpanTimeseriesPoint
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Status
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Indicates whether some other object is "equal to" this one.
error() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Returns the value of the error record component.
error(String) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at error level without fields.
error(String, Map<String, Object>) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at error level.
ERROR - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.StatusCode
"error".
ErrorCode - Enum Class in codes.grow.packages.datadogapm.core
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
ErrorInfo(String, String, DatadogApmException, int, boolean) - Constructor for record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Creates an instance of a ErrorInfo record class.
errorMapper() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the service error mapper.
errorMapper(ErrorMapper) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the service error mapper (see ErrorMapper).
ErrorMapper - Interface in codes.grow.packages.datadogapm.core
Service hook that replaces the error HttpTransport derived from a failed response, for vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says the request will never succeed).
errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.datadogapm.core.HttpTransport
Builds an error message "<operation>: <reason> (HTTP <status>)" with redacted, truncated vendor text.
event(Span.Event) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Adds an event.
Event(String, long, Map<String, Object>) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Copies the attributes.
events() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the events record component.
expect() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns the value of the expect record component.
Expectations - Class in codes.grow.packages.datadogapm.testing
Evaluates the expect object of a scenario step (SPEC section 6).
explicitInterval() - Method in record class codes.grow.packages.datadogapm.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.datadogapm.DatadogSpanExporter
 
export(Collection<SpanData>) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
 
exporterFactory() - Static method in class codes.grow.packages.datadogapm.DatadogTracing
The exporter factory of this package (see DatadogTracing.createExporter(TracingConfig)).
exportTimeout() - Method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Returns the value of the exportTimeout record component.
expr(String) - Static method in class codes.grow.packages.datadogapm.DatadogTime
A Datadog date expression such as now-15m.
extract(Context, C, TextMapGetter<C>) - Method in class codes.grow.packages.datadogapm.DatadogPropagator
 
extract(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.Spans
Extracts with explicit propagators.
extractDatadogContext(C, TextMapGetter<C>) - Static method in class codes.grow.packages.datadogapm.DatadogPropagator
Reads the Datadog headers of a carrier into a remote span context.
extractDatadogContext(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.DatadogPropagator
DatadogPropagator.extractDatadogContext(Object, TextMapGetter) for a string map (keys match case-insensitively).
extractHeaders(Map<String, List<String>>) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.Spans
Extracts from a multi-valued header map with explicit propagators.

F

facet() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns the value of the facet record component.
factory() - Static method in class codes.grow.packages.datadogapm.tracing.OtlpExporters
Returns a factory that creates an OTLP exporter for the config's protocol.
FAILED - Enum constant in enum class codes.grow.packages.datadogapm.testing.ConformanceReport.Status
An expectation failed or the step raised an unexpected error.
fields() - Method in class codes.grow.packages.datadogapm.DatadogPropagator
 
fields(ContextPropagators) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Names of the propagation fields of the given propagators.
flush() - Method in class codes.grow.packages.datadogapm.DatadogSpanExporter
 
flush() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
 
forceFlush() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
Exports all finished spans, waiting at most the export timeout.
forceFlush() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Exports all finished spans, waiting at most the export timeout.
forceFlush(Duration) - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
Exports all finished spans.
forceFlush(Duration) - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Exports all finished spans.
forceFlushAsync(Duration) - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
forceFlushAsync(Duration) - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
forService(String) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Query for one service.
forStatus(int) - Static method in enum class codes.grow.packages.datadogapm.core.ErrorCode
Maps an HTTP status to its canonical code.
from() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns the value of the from record component.
from() - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Returns the value of the from record component.
from() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Window start (default: 15 minutes ago, absolute and fixed for all pages).
from(DatadogTime) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the window start.
from(Map<String, ?>) - Static method in class codes.grow.packages.datadogapm.tracing.OtelAttributes
Converts a map.
fromDatadogSpanId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Converts a Datadog unsigned decimal span id to 16 lower-case hex characters.
fromDatadogTraceId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
DatadogIds.fromDatadogTraceId(String, String) for a 64-bit id (zero high half).
fromDatadogTraceId(String, String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Joins a Datadog trace id (low 64 bits in decimal, optional _dd.p.tid high half in hex) into a 32-character OpenTelemetry trace id.
fromEnv() - Static method in class codes.grow.packages.datadogapm.DatadogApmClient
Creates a client from GROW_DATADOG_APM_* and DD_* variables (see DatadogApmConfig).
fromEnv() - Static method in class codes.grow.packages.datadogapm.DatadogApmConfig
Reads the configuration from the process environment.
fromEnv() - Static method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Creates a query client from the environment (DD_API_KEY, DD_APP_KEY, DD_SITE, ...; see DatadogApmConfig).
fromEnv(EnvReader) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Fills unset fields from an environment reader.
fromEnv(EnvReader) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Fills every field that was not set explicitly from the environment (see the table on DatadogApmConfig).
fromEnv(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.DatadogApmConfig
Reads the configuration from an explicit variable map (tests).
fromError(DatadogApmException) - Static method in class codes.grow.packages.datadogapm.core.HealthCheck
Maps a transport error to unreachable.
fromResponse(TransportResponse) - Static method in class codes.grow.packages.datadogapm.core.HealthCheck
Maps a health response: 2xx is healthy; the word comes from a JSON status field ( ok / unhealthy when absent); other string fields become details.

G

get() - Method in interface codes.grow.packages.datadogapm.tracing.ThrowingSupplier
Computes the result.
get(String) - Static method in class codes.grow.packages.datadogapm.core.TransportRequest
Starts a GET request.
getDependencies(Instant, Instant) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Not supported: Datadog's public API offers no service dependency graph.
getDependencies(Instant, Instant) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
 
getDependencies(Instant, Instant) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Service dependency graph in a time range.
getDependenciesAsync(Instant, Instant) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
getInstance() - Static method in class codes.grow.packages.datadogapm.DatadogPropagator
The shared instance.
getTrace(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Reads a trace by searching the indexed spans with trace_id:<id> over the last 24 hours (all pages, merged by span id): only spans kept by retention filters, so the trace may be partial.
getTrace(String) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
 
getTrace(String) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Fetches one trace.
getTrace(String, GetTraceOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
DatadogSpansQuery.getTrace(String) with a search window or, with preview, the trace-by-id endpoint GET /api/v2/trace/{id} (full trace, preview API; 404 gives empty).
getTraceAsync(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
 
getTraceAsync(String) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
getTraceAsync(String, GetTraceOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
GetTraceOptions - Record Class in codes.grow.packages.datadogapm
GetTraceOptions(boolean, Optional<DatadogTime>, Optional<DatadogTime>) - Constructor for record class codes.grow.packages.datadogapm.GetTraceOptions
Fills the defaults.
gitCommit() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns the value of the gitCommit record component.
GRPC - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Protocol
OTLP over gRPC ("grpc").
GZIP - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Compression
gzip (default).

H

handle() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The generic tracing handle (for example for the conformance TracingTarget).
handle() - Method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Returns the value of the handle record component.
hashCode() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns a hash code value for this object.
hashCode() - Method in class codes.grow.packages.datadogapm.DatadogTime
 
hashCode() - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanAggregateBucket
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanCompute
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Histogram
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.SpanTimeseriesPoint
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Status
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Returns a hash code value for this object.
hasQueryCredentials() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Whether both the API key and the application key are set (the query API is usable).
header(String) - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the first value of a header.
header(String, String) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Sets a header.
header(String, String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Adds a header.
header(String, String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Adds a header sent with every request.
header(String, String) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Adds an export header.
headers() - Method in record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Returns the value of the headers record component.
headers() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the extra headers sent with every request.
headers() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the request headers.
headers() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the response headers (case-insensitive keys).
headers() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the extra request headers.
headers() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Extra export headers (for example authentication).
headers(Map<String, String>) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Adds headers sent with every request.
headers(Map<String, String>) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Replaces the export headers.
headersFor(ContextPropagators) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
The headers a request should carry for the current context.
health() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Checks Agent liveness with GET /info (one attempt): healthy with status ok and details version, git_commit when the Agent answers; unhealthy (details httpStatus, error) on HTTP errors; unreachable (details error) on network errors.
health() - Method in interface codes.grow.packages.datadogapm.testing.CoreTarget
Checks liveness; never throws for an unhealthy service.
healthAsync() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
HealthCheck - Class in codes.grow.packages.datadogapm.core
Implements the health() contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only for CancelledException and ConfigException.
HealthStatus - Record Class in codes.grow.packages.datadogapm.core
Result of health() (SPEC section 2.4).
HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.datadogapm.core.HealthStatus
Creates a status; details are copied.
healthy() - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Returns the value of the healthy record component.
high64Hex() - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Returns the value of the high64Hex record component.
histogram() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns the value of the histogram record component.
Histogram(double, double, double) - Constructor for record class codes.grow.packages.datadogapm.SpanGroupBy.Histogram
Creates an instance of a Histogram record class.
hooks() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the hooks.
hooks() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the hooks.
hooks(Hooks) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the hooks.
hooks(Hooks) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets hooks.
hooks(Hooks) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets request hooks.
Hooks - Interface in codes.grow.packages.datadogapm.core
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Hooks.ErrorInfo - Record Class in codes.grow.packages.datadogapm.core
Hooks.RequestInfo - Record Class in codes.grow.packages.datadogapm.core
Hooks.ResponseInfo - Record Class in codes.grow.packages.datadogapm.core
HTTP_PROTOBUF - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Protocol
OTLP over HTTP with protobuf bodies ("http/protobuf").
httpEndpoint(TracingConfig) - Static method in class codes.grow.packages.datadogapm.tracing.OtlpExporters
The HTTP endpoint: the configured URL, with /v1/traces appended when it has no path.
httpStatus() - Method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Returns the HTTP status when the error came from a response.
HttpTransport - Class in codes.grow.packages.datadogapm.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.datadogapm.core.HttpTransport
Creates a transport.

I

id() - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the id record component.
idempotent() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns whether the request may be replayed after an uncertain send.
idempotent(boolean) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Marks the request idempotent (or not), overriding the method default.
index() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Returns the value of the index record component.
info(String) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at info level without fields.
info(String, Map<String, Object>) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at info level.
initialBackoff() - Method in class codes.grow.packages.datadogapm.core.RetryPolicy
Returns the backoff cap for the first retry.
initialBackoff(Duration) - Method in class codes.grow.packages.datadogapm.core.RetryPolicy.Builder
Sets the backoff cap of the first retry.
initTracing() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
DatadogApmClient.initTracing(TracingConfig) with every tracing setting from this client's configuration (DatadogTracing.tracingConfig(DatadogApmConfig)).
initTracing() - Static method in class codes.grow.packages.datadogapm.DatadogTracing
Sets up tracing entirely from the environment (DatadogApmConfig.fromEnv(): DD_SERVICE, DD_ENV, DD_VERSION, DD_TAGS, DD_AGENT_HOST, GROW_DATADOG_APM_*, OTEL_EXPORTER_OTLP_*).
initTracing(TracingConfig) - Method in class codes.grow.packages.datadogapm.DatadogApmClient
DatadogTracing.initTracing(TracingConfig, DatadogApmConfig) with this client's configuration as the defaults (Agent host, OTLP endpoint, service version, env, tags, TLS).
initTracing(TracingConfig) - Static method in class codes.grow.packages.datadogapm.DatadogTracing
Sets up OpenTelemetry tracing that exports to the Datadog Agent (SPEC section 5), with the environment (DatadogApmConfig) as defaults for the fields config leaves unset.
initTracing(TracingConfig, DatadogApmConfig) - Static method in class codes.grow.packages.datadogapm.DatadogTracing
DatadogTracing.initTracing(TracingConfig) with explicit Agent/service settings instead of the environment.
initWith(TracingConfig, SpanExporterFactory) - Static method in class codes.grow.packages.datadogapm.tracing.Tracing
Builds and starts the tracer provider: resource from the config, sampler, batch span processor and propagators; registers it globally when setGlobal is true.
initWith(TracingConfig, SpanExporterFactory, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.Tracing
Like Tracing.initWith(TracingConfig, SpanExporterFactory, Map) with a sampler override (for example a remote sampler) and extra span processors.
inject(Context, C, TextMapSetter<C>) - Method in class codes.grow.packages.datadogapm.DatadogPropagator
 
inject(Context, Map<String, String>, ContextPropagators) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Injects a context with explicit propagators.
inject(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.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.datadogapm.tracing.Spans
Injects the current context into a multi-valued header map (as used by java.net.http.HttpHeaders or servlet APIs); existing propagation headers are replaced.
InMemorySpanExporter - Class in codes.grow.packages.datadogapm.testing.tracing
SpanExporter that keeps finished spans in memory.
InMemorySpanExporter() - Constructor for class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
Creates an empty exporter.
InMemoryTraceQueryClient - Class in codes.grow.packages.datadogapm.testing.tracing
TraceQueryClient over in-memory spans (usually InMemorySpanExporter.spans()), including a dependency graph computed from parent/child spans of different services.
InMemoryTraceQueryClient(InMemorySpanExporter) - Constructor for class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
Reads the spans of an exporter.
InMemoryTraceQueryClient(Supplier<List<Span>>) - Constructor for class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
Reads normalized spans from a supplier.
insecureSkipVerify() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns whether certificate and host name verification is disabled (tests only).
insecureSkipVerify(boolean) - Method in class codes.grow.packages.datadogapm.core.TlsOptions.Builder
Disables certificate and host name verification.
INSTRUMENTATION_NAME - Static variable in class codes.grow.packages.datadogapm.tracing.Tracing
Instrumentation scope name used by the helpers in this package.
integer(String, String...) - Method in class codes.grow.packages.datadogapm.core.EnvReader
Reads an integer.
intercept(Interceptor.Chain) - Method in class codes.grow.packages.datadogapm.tracing.TracingInterceptor
 
INTERNAL - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
"internal".
interval() - Method in record class codes.grow.packages.datadogapm.SpanCompute
Returns the value of the interval record component.
interval() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Histogram
Returns the value of the interval record component.
interval() - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Returns the value of the interval record component.
intervalOr(Duration) - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Returns the caller's interval, or serviceDefault when it was left unset.
invoke(Object, Method, Object[]) - Method in class codes.grow.packages.datadogapm.tracing.TracedProxy
 
is128Bit() - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Returns the value of the is128Bit record component.
isCleared() - Method in class codes.grow.packages.datadogapm.core.Secret
Returns whether Secret.clear() was called.
isClosed() - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Returns whether HttpTransport.close() was called.
isClosed() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Returns whether DatadogApmClient.close() was called.
isCustom() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns whether any option differs from the system defaults.
isDatadogSite(String) - Static method in class codes.grow.packages.datadogapm.DatadogSites
Whether site is one of DatadogSites.DATADOG_SITES.
isEmpty() - Method in class codes.grow.packages.datadogapm.core.Secret
Returns whether the value is empty.
isRoot() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Whether the span is a root (no parent).
isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.datadogapm.core.Redaction
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
isSensitiveHeader(String) - Static method in class codes.grow.packages.datadogapm.core.Redaction
Returns whether a header name is sensitive (case-insensitive).
isShutdown() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
isShutdown() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
isShutdown() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Whether TracingHandle.shutdown() was called.
isValidTraceId(String) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceIds
Whether id is a valid (normalised or normalisable) trace id.

J

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

K

KEY - Static variable in class codes.grow.packages.datadogapm.core.SdkInfo
Catalog key of the service, e.g.
kind() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the kind record component.
kind() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Span kind.
kind() - Element in annotation interface codes.grow.packages.datadogapm.tracing.Traced.Method
Span kind.
kind(Span.Kind) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets the kind.
kind(SpanKind) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Sets the span kind.
knownSecrets() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the secret values removed from every error message, hook and log line.
knownSecrets() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
The credential values to redact from errors and logs.
knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.datadogapm.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.datadogapm.core.SdkInfo
Language token in the User-Agent.
limit() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Page size 1..1000 (default 10).
limit() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns the value of the limit record component.
limit() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Maximum results.
limit(int) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the page size (1..1000; checked when the request is made).
limit(int) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Sets the result limit.
link(Span.Link) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Adds a link.
link(SpanContext) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Adds a link.
Link(String, String, Map<String, Object>) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Normalises the ids and copies the attributes.
links() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the links record component.
links() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Links to other spans.
listOperations(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
The distinct span names (Datadog resource_name) of service in the last 24 hours, via DatadogSpansQuery.aggregateSpans(java.util.List<codes.grow.packages.datadogapm.SpanCompute>, java.util.List<codes.grow.packages.datadogapm.SpanGroupBy>) grouped by resource_name (up to 1000), sorted.
listOperations(String) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
 
listOperations(String) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Lists operations (span names) of a service.
listOperationsAsync(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
 
listOperationsAsync(String) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
listServices() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Calls GET /api/v2/apm/services?filter[env]=... with the configured environment (else *, all) and returns the sorted names of the services that reported traces.
listServices() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
 
listServices() - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Lists services that reported spans.
listServices(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
DatadogSpansQuery.listServices() with an explicit environment filter.
listServicesAsync() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
 
listServicesAsync() - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
listServicesAsync(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
logger() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the logger.
logger() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the logger.
logger(Logger) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the logger (default silent).
Logger - Interface in codes.grow.packages.datadogapm.core
Minimal logger used by the transport (SPEC section 2.5).
low64Decimal() - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Returns the value of the low64Decimal record component.

M

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

N

name() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Returns the value of the name record component.
name() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the name record component.
NAME - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
Name of this propagator in TracingConfig propagator lists.
NATIVE - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Protocol
The service's own ingest API ("native").
nativeIdsAccepted() - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.query.TraceIds
Returns the package-wide default set with TraceIds.acceptNativeIds(boolean), ignoring any scoped policy of the current thread.
nextCursor() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns the value of the nextCursor record component.
none() - Static method in class codes.grow.packages.datadogapm.core.RetryPolicy
Returns a policy that never retries.
NONE - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Compression
No compression.
NONE - Static variable in interface codes.grow.packages.datadogapm.core.ErrorMapper
Keeps the default error.
NONE - Static variable in interface codes.grow.packages.datadogapm.core.Hooks
Hooks that do nothing.
NOOP - Static variable in interface codes.grow.packages.datadogapm.core.Logger
A logger that discards everything.
normalizeDatadogSpanId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Normalizes a Datadog decimal span id to 16 hex characters.
normalizeDatadogTraceId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Normalizes any trace id Datadog returns to 32 lower-case hex characters: a 32-character value is hex, a shorter all-digit value (at most 20 digits) is the 64-bit decimal form, anything else is hex.
normalizeSite(String) - Static method in class codes.grow.packages.datadogapm.DatadogSites
Lower-cases and trims a site name.
normalizeSpanId(String) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceIds
Normalises a span id (16 lower-hex characters, shorter ids left-padded).
normalizeSpanIdOrNative(String) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.query.TraceIds
Normalises a trace id: trims, strips a 0x prefix, lower-cases and left-pads 1–31 hex digits (for example 64-bit Zipkin/Datadog ids) to 32.
normalizeTraceIdOrNative(String) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.ErrorCode
HTTP 404 or a missing record.
NotFoundException - Exception Class in codes.grow.packages.datadogapm.core
The record does not exist (HTTP 404).
NotFoundException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.NotFoundException
Creates the exception.
NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.NotFoundException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.NotFoundException
Creates the exception with response details.
NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.NotFoundException
Creates the exception with a cause.

O

of(char[]) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.DatadogApmException
Like DatadogApmException.of(ErrorCode, String, Integer, String, Duration, Throwable) with an explicit retryable flag instead of the default of the code.
of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Creates the subclass that matches code.
of(TracingHandle, TraceQueryClient) - Static method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Creates a target.
of(Object) - Static method in class codes.grow.packages.datadogapm.testing.OpResult
Wraps a value.
of(String) - Static method in class codes.grow.packages.datadogapm.core.Secret
Wraps a string value.
of(String) - Static method in record class codes.grow.packages.datadogapm.SpanCompute
A total compute without a metric (for example count).
of(String) - Static method in record class codes.grow.packages.datadogapm.SpanGroupBy
Groups by a facet with the defaults.
of(String, int) - Static method in record class codes.grow.packages.datadogapm.SpanGroupBy
Groups by a facet with a group limit.
of(String, DatadogTime, DatadogTime) - Static method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Options from nullable values.
of(String, String) - Static method in record class codes.grow.packages.datadogapm.SpanCompute
A total compute over a metric.
of(Throwable) - Static method in enum class codes.grow.packages.datadogapm.core.ErrorCode
Returns the code of an SDK exception.
of(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over an explicit map.
ok() - Static method in record class codes.grow.packages.datadogapm.core.HealthStatus
A healthy ok status without details.
OK - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.StatusCode
"ok".
onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.datadogapm.core.Hooks
Called when an attempt failed (network error, timeout or error status).
only(String...) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Restricts the run to these scenario ids.
onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.datadogapm.core.Hooks
Called before each attempt.
onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.datadogapm.core.Hooks
Called when an attempt received a response (any status).
op() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Returns the value of the op record component.
op() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns the value of the op record component.
op(String, String, OpHandler) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Registers one operation.
openTelemetry() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The OpenTelemetry SDK instance.
openTelemetry() - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.TracingHandle
The OpenTelemetry SDK instance.
operation() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the operation name used in error messages.
operation() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Operation (span name) filter.
operation(String) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Sets the operation name used in error messages.
operation(String) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Sets the operation filter.
OpHandler - Interface in codes.grow.packages.datadogapm.testing
Executes one scenario step and returns its result (or an OpResult).
OpResult - Class in codes.grow.packages.datadogapm.testing
A step result with optional extra views for the expectations count and tree.
ops() - Method in interface codes.grow.packages.datadogapm.testing.ConformanceOps
Returns the handlers by operation name.
ops() - Method in class codes.grow.packages.datadogapm.testing.CoreOps
 
ops() - Method in class codes.grow.packages.datadogapm.testing.tracing.TracingOps
 
optArg(String) - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns an optional argument.
order() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Returns the value of the order record component.
orderPropagators(List<String>) - Static method in class codes.grow.packages.datadogapm.DatadogTracing
Puts tracecontext before datadog so the Datadog propagator sees the W3C result and applies the conflict rules (Datadog wins); every other name keeps its position.
ORIGIN_HEADER - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
x-datadog-origin: origin of the trace (synthetics, rum, ...).
OtelAttributes - Class in codes.grow.packages.datadogapm.tracing
Converts SDK attribute values (AttrValue: String, numbers, Boolean, lists, maps) into OpenTelemetry Attributes.
OTLP_GRPC_PORT - Static variable in class codes.grow.packages.datadogapm.DatadogApmConfig
Default Agent OTLP/gRPC port.
OTLP_HTTP_PORT - Static variable in class codes.grow.packages.datadogapm.DatadogApmConfig
Default Agent OTLP/HTTP port.
otlpEndpoint() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
OTLP endpoint as configured (see DatadogApmConfig.otlpTracesEndpoint() for the resolved URL).
otlpEndpoint(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the OTLP endpoint of the Agent.
otlpEndpoint(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the OTLP endpoint of the Agent.
OtlpExporters - Class in codes.grow.packages.datadogapm.tracing
OTLP span exporters (gRPC and HTTP/protobuf) configured from a TracingConfig: endpoint, headers, compression, export timeout and TLS.
otlpTracesEndpoint() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
otlpTracesUrl(TracingConfig.Protocol, String) - Static method in class codes.grow.packages.datadogapm.DatadogApmConfig
The exporter URL for a protocol and an OTLP endpoint: for http/protobuf an endpoint without a path gets /v1/traces; gRPC endpoints are used as they are.

P

parent() - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Returns the value of the parent record component.
parent() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Explicit parent context.
parent(Context) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Sets the parent context (default: the current context).
PARENT_ID_HEADER - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
x-datadog-parent-id: span id, unsigned decimal.
PARENTBASED_ALWAYS_OFF - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Follow the parent, drop roots.
PARENTBASED_ALWAYS_ON - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Follow the parent, sample roots (default).
PARENTBASED_TRACEIDRATIO - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Follow the parent, sample a ratio of roots.
parentSpanId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the parentSpanId record component.
parentSpanId(String) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets the parent span id.
parse(JsonNode) - Static method in record class codes.grow.packages.datadogapm.testing.Scenario
Parses a scenario document.
parse(String) - Static method in enum class codes.grow.packages.datadogapm.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.datadogapm.tracing.query.Span.StatusCode
Parses a wire value or vendor spelling ("STATUS_CODE_ERROR", "Error", …).
parseBool(String) - Static method in class codes.grow.packages.datadogapm.core.EnvReader
Parses a boolean: true/false/1/0/yes/no/on/off, case-insensitive.
parseDatadogTags(String) - Static method in class codes.grow.packages.datadogapm.DatadogApmConfig
Parses Datadog tags (DD_TAGS): key:value pairs separated by commas and/or spaces.
parseDuration(String) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.RetryPolicy
Parses a vendor rate-limit reset header such as X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least 1000000000) or an HTTP-date.
parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.datadogapm.core.RetryPolicy
Parses a Retry-After header: delay seconds or an HTTP-date.
passed() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns whether no scenario failed.
PASSED - Enum constant in enum class codes.grow.packages.datadogapm.testing.ConformanceReport.Status
Every expectation held.
path() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the path.
PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
HTTP 403: the credentials lack a permission.
PermissionDeniedException - Exception Class in codes.grow.packages.datadogapm.core
The credentials lack a permission (HTTP 403).
PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.PermissionDeniedException
Creates the exception.
PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.PermissionDeniedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.PermissionDeniedException
Creates the exception with response details.
PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.PermissionDeniedException
Creates the exception with a cause.
ping() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Round trip to the Agent (GET /info) and its latency.
ping() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Authenticated round trip GET /api/v2/validate_keys (API key + application key).
ping() - Method in interface codes.grow.packages.datadogapm.testing.CoreTarget
Performs an authenticated round trip.
pingAsync() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
pingAsync() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
poll(String, Duration) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Repeats a failing step of op until its expectation passes or timeout (or the step's timeoutMs argument) runs out, for eventually consistent backends.
Poll - Class in codes.grow.packages.datadogapm.core
Generic polling helper (pollUntil): used by waitForLog, waitForTrace and service waiters.
pollInterval(Duration) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Sets the pause between repeated steps (default ConformanceRunner.DEFAULT_POLL_INTERVAL).
post(String) - Static method in class codes.grow.packages.datadogapm.core.TransportRequest
Starts a POST request.
prefix(String) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Sets the ${prefix} template (may contain ${run}).
preview() - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Returns the value of the preview record component.
previewApi() - Static method in record class codes.grow.packages.datadogapm.GetTraceOptions
The preview trace-by-id endpoint.
PRODUCER - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
"producer".
propagators() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The configured propagators (tracecontext, datadog, baggage by default).
propagators() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Propagator names.
propagators() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
The configured propagators.
propagators(List<String>) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the propagators (tracecontext, baggage, b3, b3multi, none or names the service package registers).
propagators(List<String>, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.datadogapm.tracing.Tracing
Resolves propagator names.
propagatorsExplicit() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns whether TracingConfig.propagators() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
protocol() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
OTLP protocol (http/protobuf by default, or grpc).
protocol() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Export protocol.
protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the OTLP protocol.
protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the OTLP protocol (HTTP_PROTOBUF by default, or GRPC).
protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the export protocol (default http/protobuf unless the service changes it).
protocolExplicit() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns whether TracingConfig.protocol() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
proxy() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the proxy URL.
proxy() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the explicit proxy URL.
proxy(String) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets an explicit HTTP proxy URL, e.g.
proxy(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the proxy URL.
proxy(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.
put(String) - Static method in class codes.grow.packages.datadogapm.core.TransportRequest
Starts a PUT request.

Q

query() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns the value of the query record component.
query() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the query parameters in insertion order.
query() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Datadog span query (default *).
query() - Method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Returns the value of the query record component.
query(String) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the query, e.g.
query(String, Object) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Adds a query parameter (repeatable).
queryTransportConfig() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Transport settings for the query API (DatadogApmConfig.apiUrl()).
quoteQueryValue(String) - Static method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Quotes a value for the Datadog query syntax when it contains spaces or special characters.

R

random(RandomGenerator) - Method in class codes.grow.packages.datadogapm.core.RetryPolicy.Builder
Injects the random source used for jitter (tests).
RATE_LIMITED - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
HTTP 429.
RateLimitException - Exception Class in codes.grow.packages.datadogapm.core
The service rate-limited the call (HTTP 429); see DatadogApmException.retryAfter().
RateLimitException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.RateLimitException
Creates the exception.
RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.RateLimitException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.RateLimitException
Creates the exception with response details.
RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.RateLimitException
Creates the exception with a cause.
raw() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns the value of the raw record component.
raw() - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Returns the value of the raw record component.
raw() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the raw record component.
reason() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the reason record component.
recordException(Throwable) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
Records an exception event on the current span (like Spans.recordException(java.lang.Throwable)) and sets the Datadog error attributes.
recordException(Throwable) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Records an exception event on the current span (status unchanged).
REDACTED - Static variable in class codes.grow.packages.datadogapm.core.Redaction
Replacement for every redacted value.
redactFields(Map<String, ?>) - Static method in class codes.grow.packages.datadogapm.core.Redaction
Same as Redaction.redactFields(Map, Collection) without extra keys.
redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.datadogapm.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.datadogapm.core.Redaction
Returns a copy of multi-valued headers with sensitive values replaced.
redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.datadogapm.core.Redaction
Returns a copy of single-valued headers with sensitive values replaced.
Redaction - Class in codes.grow.packages.datadogapm.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.datadogapm.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.datadogapm.core.Redaction
Redacts user-info passwords and the values of sensitive query parameters in a URL.
register(ConformanceOps) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Registers (or overrides) operations of a category.
register(AutoCloseable) - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Registers a resource closed with the client.
REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.datadogapm.core.HttpTransport
Response headers that carry a vendor request id, in lookup order.
requestId() - Method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Returns the vendor request id header of the failed response.
requestId() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns the value of the requestId record component.
requestId() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the vendor request id header.
requestId() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns the value of the requestId record component.
requestId() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns the value of the requestId record component.
RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Creates an instance of a RequestInfo record class.
requestTimeout() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the per-attempt timeout.
requestTimeout() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the per-attempt timeout (default 30 s).
requires() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the requires record component.
requires() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns the value of the requires record component.
reset() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
Forgets exported spans.
resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Resolves a request path and query against the base URL.
resource(TracingConfig) - Static method in class codes.grow.packages.datadogapm.tracing.Tracing
Builds the resource: SDK defaults plus service.name, service.version, deployment.environment.name (current semantic conventions) together with the legacy deployment.environment, and the extra resource attributes.
resourceAttributes() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Extra resource attributes.
resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Replaces the extra resource attributes.
ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Creates an instance of a ResponseInfo record class.
retry() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the retry policy.
retry() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the retry policy (default RetryPolicy.defaults()).
retryable() - Method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Returns whether retrying the same call may succeed.
retryable() - Method in enum class codes.grow.packages.datadogapm.core.ErrorCode
Returns whether errors with this code are retryable by default.
retryAfter() - Method in exception class codes.grow.packages.datadogapm.core.DatadogApmException
Returns the wait the server asked for (Retry-After).
retryAfterHeaders() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset), parsed with RetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant).
retryAfterHeaders(String...) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Adds vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset).
RetryPolicy - Class in codes.grow.packages.datadogapm.core
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
RetryPolicy.Builder - Class in codes.grow.packages.datadogapm.core
Builder for RetryPolicy.
reveal() - Method in class codes.grow.packages.datadogapm.core.Secret
Returns the credential as a string.
revealChars() - Method in class codes.grow.packages.datadogapm.core.Secret
Returns a copy of the credential characters.
root() - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
The first root span (no parent, or a parent outside the trace).
rootName() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the rootName record component.
rootServiceName() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the rootServiceName record component.
run() - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Runs every selected scenario.
run() - Method in interface codes.grow.packages.datadogapm.tracing.ThrowingRunnable
Runs.
run(StepContext) - Method in interface codes.grow.packages.datadogapm.testing.OpHandler
Runs the step.
run(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.datadogapm.tracing.Traced
Runs fn in a new span.
run(String, Callable<T>) - Static method in class codes.grow.packages.datadogapm.tracing.Traced
Runs fn in a new span (see Spans.withSpan(String, ThrowingSupplier)).
runScenario(Scenario) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Runs one scenario.
runWithNativeIds(boolean, Runnable) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceIds

S

sameValue(Secret) - Method in class codes.grow.packages.datadogapm.core.Secret
Compares the values in constant time.
sampler() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Sampler.
sampler(TracingConfig) - Static method in class codes.grow.packages.datadogapm.tracing.Tracing
Builds the sampler.
sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the sampler.
samplerExplicit() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns whether TracingConfig.sampler() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
samplerRatio() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Ratio of the ratio samplers.
samplerRatio(double) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the ratio of the ratio samplers.
samplerRatioExplicit() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns whether TracingConfig.samplerRatio() was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or the OTEL_* environment only when the caller did not choose.
SAMPLING_PRIORITY_HEADER - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
x-datadog-sampling-priority: 1 sampled, 0 not sampled.
save() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns the value of the save record component.
scenario() - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns the running scenario.
Scenario - Record Class in codes.grow.packages.datadogapm.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.datadogapm.testing.Scenario
Creates a scenario; lists are copied.
Scenario.Step - Record Class in codes.grow.packages.datadogapm.testing
One step of a scenario.
scenarioDir(Path) - Method in class codes.grow.packages.datadogapm.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.datadogapm.testing.ConformanceReport.ScenarioResult
Creates a result; the list is copied.
scenarios() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns the value of the scenarios record component.
scenarios() - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Returns the scenarios of the categories that have a target, sorted by id.
scheduledDelay() - Method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Returns the value of the scheduledDelay record component.
SCOPE - Static variable in class codes.grow.packages.datadogapm.testing.tracing.TracingOps
Instrumentation scope of the spans the span op creates.
SdkInfo - Class in codes.grow.packages.datadogapm.core
Package identity used in the User-Agent header.
searchSpans(SearchSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Iterates over every span matching the search, following the cursor page by page (same absolute window for every page; pages are fetched lazily).
searchSpansAsync(SearchSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
SearchSpansOptions - Class in codes.grow.packages.datadogapm
SearchSpansOptions.Builder - Class in codes.grow.packages.datadogapm
Builder of SearchSpansOptions.
searchSpansPage(SearchSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Returns one page of POST /api/v2/spans/events/search.
searchSpansPageAsync(SearchSpansOptions) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
searchSpanToSpan(JsonNode) - Static method in class codes.grow.packages.datadogapm.DatadogMapping
Maps one span of the spans search API (data[i] of POST /api/v2/spans/events/search, or its attributes) to a span.
searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Finds traces with spans matching the query (service, span name, @tag values, duration) in start..end (default: the last 15 minutes), newest first, up to the limit of distinct trace ids (at most 5 pages).
searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemoryTraceQueryClient
 
searchTraces(TraceSearchQuery) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Searches traces.
searchTracesAsync(TraceSearchQuery) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
 
searchTracesAsync(TraceSearchQuery) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Secret - Class in codes.grow.packages.datadogapm.core
A credential held in a char[] that never prints itself.
send(TransportRequest) - Method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.TracedHttpClient
Sends synchronously in a client span.
sendAsync(TransportRequest) - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Executes a request with retries asynchronously.
sendAsync(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.datadogapm.tracing.TracedHttpClient
Sends asynchronously in a client span that ends when the response arrives.
sendJson(TransportRequest) - Method in class codes.grow.packages.datadogapm.core.HttpTransport
Convenience: sends a request and decodes the JSON body.
SERVER - Enum constant in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
"server".
serverVersion() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
The Datadog Agent version from GET /info (e.g.
serverVersion() - Method in interface codes.grow.packages.datadogapm.testing.CoreTarget
Returns the server version.
serverVersionAsync() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
service() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Service filter.
service(String) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Sets the service filter.
SERVICE - Static variable in class codes.grow.packages.datadogapm.DatadogLogCorrelation
dd.service.
serviceName() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
service of unified service tagging (resource service.name).
serviceName() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the serviceName record component.
serviceName() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
service.name.
serviceName(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the service name.
serviceName(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets service of unified service tagging.
serviceName(String) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Sets ${serviceName} (the tracing service name the factory configured).
serviceName(String) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets the service name.
serviceName(String) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets service.name.
serviceVersion() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
version of unified service tagging (resource service.version).
serviceVersion() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
service.version.
serviceVersion(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the service version.
serviceVersion(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets version of unified service tagging.
serviceVersion(String) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets service.version.
setDatadogLogDefaults(String, String, String) - Static method in class codes.grow.packages.datadogapm.DatadogLogCorrelation
Sets the service/env/version DatadogLogCorrelation.datadogLogFields() uses when the current span carries no resource.
setError(Span, Throwable) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Records the exception and sets status ERROR on span.
setError(String) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Sets status ERROR with a message on the current span.
setError(Throwable) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
Sets ERROR status (with the message) on the current span, records the exception event (like Spans.setError(Throwable)) and sets the Datadog error attributes.
setError(Throwable) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Records the exception and sets status ERROR on the current span.
setErrorAttributes(Span, Throwable) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
Sets the Datadog error attributes for error on span.
setErrorAttributes(Throwable) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
Sets the Datadog error attributes for error on the current span.
setFailExports(boolean) - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
Makes every following export fail (or succeed again).
setGlobal() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
setGlobal(boolean) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Whether to register the SDK globally (default true).
shutdown() - Method in class codes.grow.packages.datadogapm.DatadogSpanExporter
 
shutdown() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
Flushes and shuts the tracer provider down; idempotent.
shutdown() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
 
shutdown() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Flushes and shuts the tracer provider down; idempotent.
shutdownAsync() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
shutdownAsync() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
site() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Datadog site (default datadoghq.com).
site(String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the Datadog site.
site(String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the Datadog site, e.g.
SKIPPED - Enum constant in enum class codes.grow.packages.datadogapm.testing.ConformanceReport.Status
A required capability was not declared.
sort() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
timestamp (oldest first, default) or -timestamp (newest first).
sort() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns the value of the sort record component.
sort(String) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the sort order.
Sort(String, String, String, String) - Constructor for record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Creates an instance of a Sort record class.
sortSpans(List<Span>) - Static method in class codes.grow.packages.datadogapm.tracing.query.Traces
Sorts spans by startMicros, then spanId.
source(String, String...) - Method in class codes.grow.packages.datadogapm.core.EnvReader
Returns the name of the first variable that is set, for error messages.
span() - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Returns the value of the span record component.
span() - Method in record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Returns the value of the span record component.
Span - Record Class in codes.grow.packages.datadogapm.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.datadogapm.tracing.query.Span
Normalises ids, copies collections and checks the times.
SPAN_ID - Static variable in class codes.grow.packages.datadogapm.DatadogLogCorrelation
dd.span_id.
Span.Builder - Class in codes.grow.packages.datadogapm.tracing.query
Builder for Span; durationMicros defaults to end - start.
Span.Event - Record Class in codes.grow.packages.datadogapm.tracing.query
Span event.
Span.Kind - Enum Class in codes.grow.packages.datadogapm.tracing.query
Span kind (wire values are lower case).
Span.Link - Record Class in codes.grow.packages.datadogapm.tracing.query
Span link.
Span.Status - Record Class in codes.grow.packages.datadogapm.tracing.query
Span status.
Span.StatusCode - Enum Class in codes.grow.packages.datadogapm.tracing.query
Status code (wire values are lower case).
SpanAggregateBucket - Record Class in codes.grow.packages.datadogapm
One bucket of an aggregation.
SpanAggregateBucket(Map<String, Object>, Map<String, Object>) - Constructor for record class codes.grow.packages.datadogapm.SpanAggregateBucket
Copies the maps.
SpanAggregateResult - Record Class in codes.grow.packages.datadogapm
SpanAggregateResult(List<SpanAggregateBucket>, String, List<DatadogQueryWarning>, Optional<String>) - Constructor for record class codes.grow.packages.datadogapm.SpanAggregateResult
Copies the lists.
SpanCompute - Record Class in codes.grow.packages.datadogapm
SpanCompute(String, String, String, String) - Constructor for record class codes.grow.packages.datadogapm.SpanCompute
Validates the aggregation.
spanContext() - Method in record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Returns the value of the spanContext record component.
spanCount() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the spanCount record component.
SpanDataConverter - Class in codes.grow.packages.datadogapm.testing.tracing
Converts OpenTelemetry SDK SpanData into the normalized query Span.
SpanExporterFactory - Interface in codes.grow.packages.datadogapm.tracing
Creates the span exporter for a TracingConfig (see OtlpExporters.factory()).
spanFromJson(JsonNode) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Parses a span from a Jackson tree.
spanFromJson(String) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Parses a span.
SpanGroupBy - Record Class in codes.grow.packages.datadogapm
SpanGroupBy(String, Integer, SpanGroupBy.Sort, Object, Object, SpanGroupBy.Histogram) - Constructor for record class codes.grow.packages.datadogapm.SpanGroupBy
Validates the facet.
SpanGroupBy.Histogram - Record Class in codes.grow.packages.datadogapm
Buckets of a numeric facet.
SpanGroupBy.Sort - Record Class in codes.grow.packages.datadogapm
Order of the groups.
spanId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Returns the value of the spanId record component.
spanId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the spanId record component.
spanId(String) - Static method in class codes.grow.packages.datadogapm.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()).
SpanNode - Record Class in codes.grow.packages.datadogapm.tracing.query
SpanNode(Span, List<SpanNode>) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Copies the children.
SpanOptions - Class in codes.grow.packages.datadogapm.tracing
SpanOptions.Builder - Class in codes.grow.packages.datadogapm.tracing
Builder for SpanOptions.
spans() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
The SaaS spans query API (created on first use, closed by DatadogApmClient.close()).
spans() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns the value of the spans record component.
spans() - Method in class codes.grow.packages.datadogapm.testing.tracing.InMemorySpanExporter
Exported spans in export order.
spans() - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Returns the value of the spans record component.
Spans - Class in codes.grow.packages.datadogapm.tracing
Span helpers on top of the OpenTelemetry API.
spansNamed(String) - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Spans with a given name.
SpanTimeseriesPoint - Record Class in codes.grow.packages.datadogapm
SpanTimeseriesPoint(String, double) - Constructor for record class codes.grow.packages.datadogapm.SpanTimeseriesPoint
Creates an instance of a SpanTimeseriesPoint record class.
sslContext() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Builds the SSL context for these options.
start() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Range start.
start(String, SpanOptions) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Starts (but does not end or activate) a span with options.
start(Instant) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Sets the range start.
startMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the startMicros record component.
startMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the startMicros record component.
status() - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns the value of the status record component.
status() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the HTTP status.
status() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the status record component.
status(Span.StatusCode, String) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets the status.
Status(Span.StatusCode, Optional<String>) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.Span.Status
Validates the status.
step() - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns the current step.
Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.datadogapm.testing.Scenario.Step
Creates a step; the list is copied.
StepContext - Class in codes.grow.packages.datadogapm.testing
Everything an OpHandler needs for one step.
StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Creates an instance of a StepResult record class.
steps() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns the value of the steps record component.
steps() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns the value of the steps record component.
string(String, String...) - Method in class codes.grow.packages.datadogapm.core.EnvReader
Reads a string.
stringify(Object) - Static method in class codes.grow.packages.datadogapm.core.Json
Encodes a value as a JSON string.
substitute(String) - Method in class codes.grow.packages.datadogapm.testing.StepContext
Substitutes ${name} variables in a string.
substitute(String, Map<String, String>) - Static method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Replaces ${name} placeholders; unknown names are kept as they are.
substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.datadogapm.testing.ConformanceRunner
Substitutes placeholders in every string (and object key) of a JSON tree.
summarize(Trace) - Static method in class codes.grow.packages.datadogapm.tracing.query.Traces
Summarises a trace.
summary() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns a multi-line summary listing every scenario.
system() - Static method in class codes.grow.packages.datadogapm.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over the process environment.

T

tag(String, String) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Adds a tag (extra resource attribute).
tag(String, String) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Adds an extra resource attribute (merged over DD_TAGS).
tag(String, String) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Adds a tag filter.
tags() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Extra resource attributes (DD_TAGS).
tags() - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Tag (attribute) filters.
tags(Map<String, String>) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Adds extra resource attributes.
tags(Map<String, String>) - Method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery.Builder
Adds tag filters.
TAGS_HEADER - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
x-datadog-tags: propagated tags, e.g.
target() - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns the scenario target.
target(Class<T>) - Method in class codes.grow.packages.datadogapm.testing.StepContext
Returns the target cast to a type.
target(String, TargetFactory) - Method in class codes.grow.packages.datadogapm.testing.ConformanceRunner.Builder
Sets the target factory of a category; categories without a target do not run.
TargetFactory - Interface in codes.grow.packages.datadogapm.testing
Creates the object a scenario runs against (client, provider, log client, tracing handle).
terminatedContext(Context) - Static method in class codes.grow.packages.datadogapm.DatadogPropagator
The W3C context that lost against Datadog headers during extract.
TerminatedContext(SpanContext, String) - Constructor for record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Creates an instance of a TerminatedContext record class.
terminatedContextLinks(Context) - Static method in class codes.grow.packages.datadogapm.DatadogPropagator
The span links for a span started from an extracted context: one link to the terminated W3C context (reason=terminated_context, context_headers=tracecontext), or none.
text() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
Returns the body decoded as UTF-8.
ThrowingRunnable<E> - Interface in codes.grow.packages.datadogapm.tracing
A runnable that may throw.
ThrowingSupplier<T,E> - Interface in codes.grow.packages.datadogapm.tracing
A supplier that may throw.
time() - Method in record class codes.grow.packages.datadogapm.SpanTimeseriesPoint
Returns the value of the time record component.
timeMicros() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Returns the value of the timeMicros record component.
timeout() - Method in class codes.grow.packages.datadogapm.core.TransportRequest
Returns the per-attempt timeout override.
timeout() - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Returns the value of the timeout record component.
timeout(Duration) - Method in class codes.grow.packages.datadogapm.core.TransportRequest.Builder
Overrides the per-attempt timeout for this call.
TIMEOUT - Enum constant in enum class codes.grow.packages.datadogapm.core.ErrorCode
Connect, request or total deadline exceeded, HTTP 408 or 504.
TimeoutException - Exception Class in codes.grow.packages.datadogapm.core
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TimeoutException(String) - Constructor for exception class codes.grow.packages.datadogapm.core.TimeoutException
Creates the exception.
TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.TimeoutException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.TimeoutException
Creates the exception with response details.
TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.datadogapm.core.TimeoutException
Creates the exception with a cause.
times(long, long) - Method in class codes.grow.packages.datadogapm.tracing.query.Span.Builder
Sets start and end.
timeseries(String, String, String) - Static method in record class codes.grow.packages.datadogapm.SpanCompute
A timeseries compute.
timestamp(long) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Formats epoch microseconds as RFC 3339 UTC.
timezone() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns the value of the timezone record component.
timezone() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Timezone for relative dates (default UTC).
timezone(String) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the timezone.
title() - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Returns the value of the title record component.
tls() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the TLS options.
tls() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the TLS options.
tls() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
TLS settings of the exporter.
tls(TlsOptions) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the TLS options; environment TLS variables are then ignored.
tls(TlsOptions) - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig.Builder
Sets the exporter TLS options.
TlsOptions - Class in codes.grow.packages.datadogapm.core
TLS settings: custom CA, client certificate (mutual TLS) and the test-only insecureSkipVerify.
TlsOptions.Builder - Class in codes.grow.packages.datadogapm.core
Builder for TlsOptions.
to() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns the value of the to record component.
to() - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Returns the value of the to record component.
to() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
Window end (default: now, absolute and fixed for all pages).
to(DatadogTime) - Method in class codes.grow.packages.datadogapm.SearchSpansOptions.Builder
Sets the window end.
toBuilder() - Method in class codes.grow.packages.datadogapm.core.RetryPolicy
Returns a builder initialised from this policy.
toBuilder() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
Returns a builder initialised from these options.
toBuilder() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns a builder with these values.
toBuilder() - Method in class codes.grow.packages.datadogapm.SearchSpansOptions
A copy builder.
toBuilder() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Returns a builder with these values.
toDatadogSpanId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Converts an OpenTelemetry span id (up to 16 hex characters) to Datadog's unsigned decimal.
toDatadogTraceId(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
Splits an OpenTelemetry trace id (up to 32 hex characters, left-padded) into Datadog's form.
toJson(Span) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Serialises a span.
toJson(Trace) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Serialises a trace.
toMap(Span) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Wire form of a span.
toMap(Trace) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceJson
Wire form of a trace.
toMicros(Instant) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceSearchQuery
Converts an instant to epoch microseconds.
toSpan(SpanData) - Static method in class codes.grow.packages.datadogapm.testing.tracing.SpanDataConverter
Converts one span.
toString() - Method in record class codes.grow.packages.datadogapm.AgentInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.AggregateSpansOptions
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.core.HealthStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.core.Hooks.RequestInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ResponseInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.datadogapm.core.RetryPolicy
 
toString() - Method in class codes.grow.packages.datadogapm.core.Secret
Always "[REDACTED]".
toString() - Method in class codes.grow.packages.datadogapm.core.TlsOptions
 
toString() - Method in class codes.grow.packages.datadogapm.core.TransportResponse
 
toString() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
 
toString() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
 
toString() - Method in record class codes.grow.packages.datadogapm.DatadogIds.DatadogTraceId
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.datadogapm.DatadogPropagator
 
toString() - Method in record class codes.grow.packages.datadogapm.DatadogQueryWarning
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.DatadogSpan
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.datadogapm.DatadogSpanExporter
 
toString() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
 
toString() - Method in class codes.grow.packages.datadogapm.DatadogTime
The wire form: ISO-8601 for an instant, the expression otherwise.
toString() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
 
toString() - Method in record class codes.grow.packages.datadogapm.GetTraceOptions
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanAggregateBucket
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanCompute
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Histogram
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.SpanTimeseriesPoint
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.ScenarioResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport.StepResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.Scenario.Step
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.Scenario
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.DependencyLink
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Event
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Status
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.SpanNode
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.datadogapm.tracing.TracingConfig.BatchSettings
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.datadogapm.tracing.TracingConfig
Header values are redacted when the header name is sensitive.
total() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy
Returns the value of the total record component.
totalTimeout() - Method in class codes.grow.packages.datadogapm.core.TransportConfig
Returns the budget of a whole call including retries and backoff.
totalTimeout() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Returns the total timeout per call including retries.
totalTimeout(Duration) - Method in class codes.grow.packages.datadogapm.core.TransportConfig.Builder
Sets the total budget per call.
totalTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmClient.Builder
Sets the total timeout.
totalTimeout(Duration) - Method in class codes.grow.packages.datadogapm.DatadogApmConfig.Builder
Sets the total timeout per call including retries (default 120 s).
toTransportConfig() - Method in class codes.grow.packages.datadogapm.DatadogApmConfig
Transport settings for the Agent (DatadogApmConfig.url()).
Trace - Record Class in codes.grow.packages.datadogapm.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.datadogapm.tracing.query.Trace
Normalises the id and sorts the spans.
TRACE_ID - Static variable in class codes.grow.packages.datadogapm.DatadogLogCorrelation
dd.trace_id.
TRACE_ID_HEADER - Static variable in class codes.grow.packages.datadogapm.DatadogPropagator
x-datadog-trace-id: low 64 bits of the trace id, unsigned decimal.
Traced - Class in codes.grow.packages.datadogapm.tracing
Tracing of plain functions: Traced.run(String, Callable) and the Traced.Method annotation honoured by TracedProxy.
Traced.Method - Annotation Interface in codes.grow.packages.datadogapm.tracing
Marks an interface method (or its implementation) to run in a span when called through a TracedProxy.
TracedHttpClient - Class in codes.grow.packages.datadogapm.tracing
Wraps a HttpClient: every request runs in a client span and carries the propagation headers.
TracedProxy - Class in codes.grow.packages.datadogapm.tracing
Proxy-based interceptor that runs methods annotated with Traced.Method (on the interface or on the implementation) in a span.
traceFields() - Static method in class codes.grow.packages.datadogapm.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.datadogapm.tracing.query.TraceJson
Parses a trace.
traceId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span.Link
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Span
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.datadogapm.tracing.query.Trace
Returns the value of the traceId record component.
traceId() - Method in record class codes.grow.packages.datadogapm.tracing.query.TraceSummary
Returns the value of the traceId record component.
traceId(String) - Static method in class codes.grow.packages.datadogapm.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()).
traceIdForPath(String) - Static method in class codes.grow.packages.datadogapm.DatadogIds
The id to put in a GET /api/v2/trace/{id} path.
TRACEIDRATIO - Enum constant in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Sample a ratio of trace ids.
TraceIds - Class in codes.grow.packages.datadogapm.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.datadogapm.tracing.query
Converts Trace and Span to and from the normalized JSON form ( spec/schemas/trace.schema.json): integer startMicros/endMicros/ durationMicros, status as {code, message?}, events as {name, timeMicros, attributes}.
TraceQueryClient - Interface in codes.grow.packages.datadogapm.tracing.query
Reads traces back from the service.
tracer() - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions
Tracer to use.
tracer() - Static method in class codes.grow.packages.datadogapm.tracing.Spans
The tracer the helpers use by default.
tracer(Tracer) - Method in class codes.grow.packages.datadogapm.tracing.SpanOptions.Builder
Sets the tracer.
tracer(String) - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
Returns a tracer.
tracer(String) - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Returns a tracer.
tracer(String, String) - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
Returns a tracer with a scope version.
tracer(String, String) - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
Returns a tracer with a scope version.
tracerProvider() - Method in class codes.grow.packages.datadogapm.DatadogTracingHandle
The tracer provider.
tracerProvider() - Method in class codes.grow.packages.datadogapm.tracing.TracingHandle
The tracer provider.
Traces - Class in codes.grow.packages.datadogapm.tracing.query
Span ordering and tree helpers.
TraceSearchQuery - Class in codes.grow.packages.datadogapm.tracing.query
TraceSearchQuery.Builder - Class in codes.grow.packages.datadogapm.tracing.query
Builder for TraceSearchQuery.
traceSearchQueryString(TraceSearchQuery) - Static method in class codes.grow.packages.datadogapm.DatadogSpansQuery
The Datadog query string for a SPEC trace search: service:, resource_name:, @<tag>: and @duration:>= / <= (nanoseconds).
traceSpanToSpan(JsonNode) - Static method in class codes.grow.packages.datadogapm.DatadogMapping
Maps a Datadog trace span to a span: the Agent's format (trace_id, span_id, parent_id, start, duration, meta, metrics) or the trace-by-id API format (traceID, traceIDFull, spanID, parentID, startTime, endTime, duration).
traceSpanToSpan(Map<String, ?>) - Static method in class codes.grow.packages.datadogapm.DatadogMapping
TraceSummary - Record Class in codes.grow.packages.datadogapm.tracing.query
Search result entry.
TraceSummary(String, String, String, long, long, int) - Constructor for record class codes.grow.packages.datadogapm.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.datadogapm.tracing.query.TraceSummary
Normalises the id and optionals.
Tracing - Class in codes.grow.packages.datadogapm.tracing
Sets up the OpenTelemetry SDK from a TracingConfig.
tracingConfig(DatadogApmConfig) - Static method in class codes.grow.packages.datadogapm.DatadogTracing
A tracing config builder prefilled from a DatadogApmConfig: service name, version, environment, OTLP endpoint and protocol, DD_TAGS as resource attributes, TLS and the Datadog default propagators.
TracingConfig - Class in codes.grow.packages.datadogapm.tracing
TracingConfig.BatchSettings - Record Class in codes.grow.packages.datadogapm.tracing
Span batch processor settings.
TracingConfig.Builder - Class in codes.grow.packages.datadogapm.tracing
Builder for TracingConfig.
TracingConfig.Compression - Enum Class in codes.grow.packages.datadogapm.tracing
Export body compression.
TracingConfig.Protocol - Enum Class in codes.grow.packages.datadogapm.tracing
Export protocol.
TracingConfig.SamplerType - Enum Class in codes.grow.packages.datadogapm.tracing
Sampler (OpenTelemetry OTEL_TRACES_SAMPLER names).
TracingFilter - Class in codes.grow.packages.datadogapm.tracing
Jakarta Servlet filter that continues the caller's trace (W3C/B3 headers per the configured propagators) and records one server span per request (Servlet API is a provided dependency).
TracingFilter() - Constructor for class codes.grow.packages.datadogapm.tracing.TracingFilter
Uses the helpers' tracer and propagators (Tracing.openTelemetry()).
TracingFilter(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.datadogapm.tracing.TracingFilter
Uses an explicit tracer and propagators.
TracingHandle - Class in codes.grow.packages.datadogapm.tracing
TracingHandle(OpenTelemetrySdk, TracingConfig) - Constructor for class codes.grow.packages.datadogapm.tracing.TracingHandle
Wraps an OpenTelemetry SDK a service package built itself.
TracingInterceptor - Class in codes.grow.packages.datadogapm.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.datadogapm.tracing.TracingInterceptor
Uses the helpers' tracer and propagators.
TracingInterceptor(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.datadogapm.tracing.TracingInterceptor
Uses an explicit tracer and propagators.
TracingOps - Class in codes.grow.packages.datadogapm.testing.tracing
Conformance operations of the tracing category: span, flush, getTraceUntil, listServices.
TracingOps() - Constructor for class codes.grow.packages.datadogapm.testing.tracing.TracingOps
Creates the operations.
TracingTarget - Record Class in codes.grow.packages.datadogapm.testing.tracing
Target of the tracing conformance scenarios.
TracingTarget(TracingHandle, Optional<TraceQueryClient>) - Constructor for record class codes.grow.packages.datadogapm.testing.tracing.TracingTarget
Validates the target.
transport() - Method in class codes.grow.packages.datadogapm.DatadogApmClient
Returns the HTTP transport to the Agent.
TransportConfig - Class in codes.grow.packages.datadogapm.core
Settings of one HttpTransport.
TransportConfig.Builder - Class in codes.grow.packages.datadogapm.core
Builder for TransportConfig.
TransportRequest - Class in codes.grow.packages.datadogapm.core
One logical HTTP call executed by HttpTransport (with retries).
TransportRequest.Builder - Class in codes.grow.packages.datadogapm.core
Builder for TransportRequest.
TransportResponse - Class in codes.grow.packages.datadogapm.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.datadogapm.core.TransportResponse
Creates a response (used by the transport and by tests).
tree() - Method in class codes.grow.packages.datadogapm.testing.OpResult
Returns the tree view.
tree(byte[]) - Static method in class codes.grow.packages.datadogapm.core.Json
Parses JSON bytes into a tree.
truncate(String, int) - Static method in class codes.grow.packages.datadogapm.core.Redaction
Truncates text to max characters, appending an ellipsis when cut.
type() - Method in record class codes.grow.packages.datadogapm.SpanCompute
Returns the value of the type record component.
type() - Method in record class codes.grow.packages.datadogapm.SpanGroupBy.Sort
Returns the value of the type record component.

U

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

V

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

W

waitForTrace(String) - Method in class codes.grow.packages.datadogapm.DatadogSpansQuery
Polls DatadogSpansQuery.getTrace(String) every 2 s (Datadog allows 50 searches per minute) for up to 30 s until the trace has a span.
waitForTrace(String) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
waitForTrace(String, WaitForTraceOptions) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
Polls TraceQueryClient.getTrace(java.lang.String) until the trace has at least minSpans spans.
waitForTraceAsync(String, WaitForTraceOptions) - Method in interface codes.grow.packages.datadogapm.tracing.query.TraceQueryClient
WaitForTraceOptions - Record Class in codes.grow.packages.datadogapm.tracing.query
WaitForTraceOptions(Duration, Duration, int) - Constructor for record class codes.grow.packages.datadogapm.tracing.query.WaitForTraceOptions
Fills defaults for null durations.
warn(String) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at warn level without fields.
warn(String, Map<String, Object>) - Method in interface codes.grow.packages.datadogapm.core.Logger
Logs at warn level.
warnings() - Method in record class codes.grow.packages.datadogapm.DatadogSpansPage
Returns the value of the warnings record component.
warnings() - Method in record class codes.grow.packages.datadogapm.SpanAggregateResult
Returns the value of the warnings record component.
willRetry() - Method in record class codes.grow.packages.datadogapm.core.Hooks.ErrorInfo
Returns the value of the willRetry record component.
window(DatadogTime, DatadogTime) - Static method in record class codes.grow.packages.datadogapm.GetTraceOptions
Search mode over a window.
winnerSpanId() - Method in record class codes.grow.packages.datadogapm.DatadogPropagator.TerminatedContext
Returns the value of the winnerSpanId record component.
wireValue() - Method in enum class codes.grow.packages.datadogapm.core.ErrorCode
Returns the wire value used in conformance scenarios and JSON.
wireValue() - Method in enum class codes.grow.packages.datadogapm.tracing.query.Span.Kind
Wire value.
wireValue() - Method in enum class codes.grow.packages.datadogapm.tracing.query.Span.StatusCode
Wire value.
wireValue() - Method in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Compression
Wire value.
wireValue() - Method in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.Protocol
Wire value.
wireValue() - Method in enum class codes.grow.packages.datadogapm.tracing.TracingConfig.SamplerType
Wire value.
with(ConformanceReport.Status) - Method in record class codes.grow.packages.datadogapm.testing.ConformanceReport
Returns the scenarios with a status.
withCount(int) - Method in class codes.grow.packages.datadogapm.testing.OpResult
Returns a copy with an explicit count (e.g. the number of spans of a trace).
withDatadogErrorAttributes(SpanData) - Static method in class codes.grow.packages.datadogapm.DatadogSpanErrors
span with the DatadogSpanErrors.derivedErrorAttributes(SpanData) added, or span itself when there is nothing to add.
withNativeIds(boolean, Supplier<T>) - Static method in class codes.grow.packages.datadogapm.tracing.query.TraceIds
Runs body with native ids accepted (or not) on the current thread only; the previous policy is restored when the body returns or throws.
withSpan(String, SpanOptions, ThrowingRunnable<E>) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Runs fn in a new span with options.
withSpan(String, SpanOptions, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Runs fn in a new span with options.
withSpan(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Runs fn in a new internal span.
withSpan(String, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.datadogapm.tracing.Spans
Runs fn in a new internal span that is current while it runs.
withTerminatedContextLinks(SpanData) - Static method in class codes.grow.packages.datadogapm.DatadogSpanExporter
span with the terminated-context link of its remote parent added (see DatadogPropagator), or span itself.
withTree(Map<String, List<String>>) - Method in class codes.grow.packages.datadogapm.testing.OpResult
Returns a copy with a parent-name to child-names view (span trees).
wrap(HttpClient) - Static method in class codes.grow.packages.datadogapm.tracing.TracedHttpClient
Wraps a client using the helpers' tracer and propagators.
wrap(HttpClient, Tracer, ContextPropagators) - Static method in class codes.grow.packages.datadogapm.tracing.TracedHttpClient
Wraps a client with an explicit tracer and propagators.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form