Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptAnyStatus() - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Returns every status to the caller (health probes); no status is retried.
- acceptNativeIds(boolean) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
Sets the package-wide default: whether
TraceIds.traceId(String)andTraceIds.spanId(String)keep native (non-hex) ids verbatim instead of rejecting them, on every thread that has no scoped policy (TraceIds.withNativeIds(boolean, java.util.function.Supplier<T>)). - accepts(int) - Method in class codes.grow.packages.tempo.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.tempo.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.tempo.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.tempo.tracing.Spans
-
Adds an event to the current span.
- addEvent(String, Map<String, ?>) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Adds an event with attributes to the current span.
- all() - Static method in class codes.grow.packages.tempo.SearchTagsOptions
-
Options without filters (every scope that has data).
- ALWAYS_OFF - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Sample nothing.
- ALWAYS_ON - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Sample everything.
- ancestor(TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
structural("<<", other): spans of other that are ancestors. - and(String, String, Object) - Method in class codes.grow.packages.tempo.TraceQL
-
Adds
&& field op valueto the last span-set filter. - arg(String) - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns a required string argument.
- args() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns the value of the
argsrecord component. - args() - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns the arguments with
${...}variables substituted (#{i}is kept). - asSdkException(Throwable, String) - Static method in class codes.grow.packages.tempo.core.HttpTransport
-
Converts any throwable from a future into the matching SDK exception.
- assertPassed() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Throws when any scenario failed.
- attempt() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
attemptrecord component. - attempts() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the number of attempts the call needed.
- attribute(String, Object) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Adds one attribute.
- attribute(String, Object) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Adds one attribute.
- attributes() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Returns the value of the
attributesrecord component. - attributes() - Method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Attributes set at span start.
- attributes(Attributes) - Static method in class codes.grow.packages.tempo.testing.tracing.SpanDataConverter
-
Converts OpenTelemetry attributes into attribute values (arrays become lists).
- attributes(Map<String, ?>) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Adds attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Adds attributes.
- AUTHENTICATION - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
HTTP 401: missing or invalid credentials.
- AuthenticationException - Exception Class in codes.grow.packages.tempo.core
-
Missing or invalid credentials (HTTP 401).
- AuthenticationException(String) - Constructor for exception class codes.grow.packages.tempo.core.AuthenticationException
-
Creates the exception.
- AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.AuthenticationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.AuthenticationException
-
Creates the exception with response details.
- AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.AuthenticationException
-
Creates the exception with a cause.
- await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.tempo.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.tempo.core.RetryPolicy
-
Computes the full-jitter backoff for retry
n. - backoffCap(int) - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the upper bound of the jitter window for retry
n. - baseUrl() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the base URL.
- batch() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Batch processor settings.
- batch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the batch processor settings.
- batch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the batch processor settings.
- batchOptions() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the
batchOptionsobject of a logging scenario. - BatchSettings(int, int, Duration, Duration) - Constructor for record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Creates an instance of a
BatchSettingsrecord class. - between(Instant, Instant) - Static method in class codes.grow.packages.tempo.GetTraceOptions
-
A window.
- body() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns a copy of the body.
- body(byte[], String) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Sets a raw body.
- bool(String, String...) - Method in class codes.grow.packages.tempo.core.EnvReader
-
Reads a boolean (
true/false/1/0/yes/no/on/off, case-insensitive). - branch() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
branchrecord component. - build() - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Validates and builds the policy.
- build() - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Builds the configuration.
- build() - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Builds the request.
- build() - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Builds the range.
- build() - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Builds the request.
- build() - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.tempo.SearchTagValuesOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Builds the configuration and the client.
- build() - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Builds and validates the configuration.
- build() - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Builds the (unresolved) settings.
- build() - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Builds the runner.
- build() - Method in class codes.grow.packages.tempo.TraceQL
-
The TraceQL text (same as
TraceQL.toString()). - build() - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Builds the span.
- build() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Builds the query.
- build() - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Validates and builds.
- buildDate() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
buildDaterecord component. - builder() - Static method in class codes.grow.packages.tempo.core.RetryPolicy
-
Starts a builder with the defaults.
- builder() - Static method in class codes.grow.packages.tempo.core.TlsOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.tempo.MetricsRange
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.tempo.SearchRequest
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.tempo.SearchTagsOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.tempo.TempoClient
-
Starts a client builder.
- builder() - Static method in class codes.grow.packages.tempo.TempoConfig
-
Starts an empty builder (every field at its default).
- builder() - Static method in class codes.grow.packages.tempo.TempoTracingConfig
-
Starts an empty builder (every field from the environment or the default).
- builder() - Static method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Starts a builder with
CoreOpsand the built-in category operations registered. - builder() - Static method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Returns a builder.
- builder(String) - Static method in class codes.grow.packages.tempo.core.TransportConfig
-
Starts a builder with the SPEC defaults.
- builder(String) - Static method in class codes.grow.packages.tempo.TempoTracingConfig
-
Starts a builder with a service name.
- builder(String) - Static method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns a builder.
- builder(String, String) - Static method in class codes.grow.packages.tempo.core.TransportRequest
-
Starts a request.
- builder(String, String, String) - Static method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns a builder.
- buildInfo() - Method in class codes.grow.packages.tempo.TempoClient
-
Build information (
GET /api/status/buildinfo); same asquery().buildInfo(). - buildInfo() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
GET /api/status/buildinfo→ version, revision, branch, build user/date, Go version. - BuildInfo - Record Class in codes.grow.packages.tempo
-
Build information from
GET /api/status/buildinfo. - BuildInfo(String, String, String, String, String, String) - Constructor for record class codes.grow.packages.tempo.BuildInfo
-
Creates an instance of a
BuildInforecord class. - buildInfoAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.buildInfo(). - buildInfoAsync() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.buildInfo(). - buildTree(List<Span>) - Static method in class codes.grow.packages.tempo.tracing.query.Traces
-
Builds the span tree.
- buildUser() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
buildUserrecord component.
C
- caCertPath() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns the CA bundle path.
- caCertPath(Path) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Trusts the CA certificates in a PEM file instead of the system trust store.
- caCertPem() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns the inline CA bundle.
- caCertPem(String) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Trusts the CA certificates in inline PEM text.
- callCount() - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Returns the value of the
callCountrecord component. - CANCELLED - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
The caller cancelled the operation.
- CancelledException - Exception Class in codes.grow.packages.tempo.core
-
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
- CancelledException(String) - Constructor for exception class codes.grow.packages.tempo.core.CancelledException
-
Creates the exception.
- CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.CancelledException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.CancelledException
-
Creates the exception with response details.
- CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.CancelledException
-
Creates the exception with a cause.
- capabilities(String...) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Declares capabilities of the target (
write,delete,versions,query,version, ...). - category() - Method in interface codes.grow.packages.tempo.testing.ConformanceOps
-
Returns the category these operations serve.
- category() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.tempo.testing.CoreOps
- category() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.tempo.testing.tracing.TracingOps
- check(HttpTransport, String) - Static method in class codes.grow.packages.tempo.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.tempo.testing.Expectations
-
Checks a step outcome.
- check(String, String) - Static method in class codes.grow.packages.tempo.TraceQL
-
Light client-side check of a TraceQL text: it must start with an opening brace, and quotes, braces and parentheses must balance.
- checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.tempo.core.HealthCheck
-
Asynchronous variant of
HealthCheck.check(codes.grow.packages.tempo.core.HttpTransport, java.lang.String). - child() - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Returns the value of the
childrecord component. - child(TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
structural(">", other): spans of other that are direct children. - children() - Method in record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Returns the value of the
childrenrecord component. - clear() - Method in class codes.grow.packages.tempo.core.Secret
-
Overwrites the characters with zeros; later
Secret.reveal()calls throw. - client() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
The underlying client.
- CLIENT - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"client". - clientCertPath() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns the client certificate path.
- clientCertPath(Path) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Sets the client certificate file (mutual TLS); requires a key.
- clientCertPem(String) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Sets the client certificate as inline PEM.
- clientKeyPath() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns the client key path.
- clientKeyPath(Path) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Sets the client key file (unencrypted PKCS#8 PEM).
- clientKeyPem(Secret) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Sets the client key as inline PEM.
- clock() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the clock used for
Retry-Afterdates. - clock(Clock) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the clock (tests).
- close() - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Cancels pending calls and releases the client.
- close() - Method in class codes.grow.packages.tempo.TempoClient
-
Closes registered resources and releases connections; later calls fail with
CancelledException. - close() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Closes the underlying client when this query client owns it.
- close() - Method in interface codes.grow.packages.tempo.testing.CoreTarget
-
Releases the target; idempotent.
- close() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Same as
TracingHandle.shutdown(). - code() - Method in exception class codes.grow.packages.tempo.core.TempoException
-
Returns the canonical error code.
- code() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Returns the value of the
coderecord component. - codes.grow.packages.tempo - package codes.grow.packages.tempo
-
Grow Codes SDK for Grafana Tempo.
- codes.grow.packages.tempo.core - package codes.grow.packages.tempo.core
- codes.grow.packages.tempo.testing - package codes.grow.packages.tempo.testing
- codes.grow.packages.tempo.testing.tracing - package codes.grow.packages.tempo.testing.tracing
- codes.grow.packages.tempo.tracing - package codes.grow.packages.tempo.tracing
- codes.grow.packages.tempo.tracing.query - package codes.grow.packages.tempo.tracing.query
- compression() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Export compression.
- compression(TracingConfig.Compression) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the export compression.
- compression(TracingConfig.Compression) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the export compression.
- compressionExplicit() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns whether
TracingConfig.compression()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - config() - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Returns the configuration.
- config() - Method in class codes.grow.packages.tempo.TempoClient
-
Returns the configuration.
- config() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
The config this handle was created from.
- CONFIG - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
Invalid or missing configuration.
- ConfigException - Exception Class in codes.grow.packages.tempo.core
-
Invalid or missing configuration.
- ConfigException(String) - Constructor for exception class codes.grow.packages.tempo.core.ConfigException
-
Creates the exception.
- ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConfigException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConfigException
-
Creates the exception with response details.
- ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConfigException
-
Creates the exception with a cause.
- CONFLICT - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
HTTP 409, 412 or a check-and-set mismatch.
- ConflictException - Exception Class in codes.grow.packages.tempo.core
-
Conflicting write or check-and-set mismatch (HTTP 409, 412).
- ConflictException(String) - Constructor for exception class codes.grow.packages.tempo.core.ConflictException
-
Creates the exception.
- ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConflictException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConflictException
-
Creates the exception with response details.
- ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ConflictException
-
Creates the exception with a cause.
- ConformanceOps - Interface in codes.grow.packages.tempo.testing
-
The operations of one scenario category (
core,secrets,logging,tracing) for theConformanceRunner. - ConformanceReport - Record Class in codes.grow.packages.tempo.testing
-
Results of a conformance run.
- ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.tempo.testing.ConformanceReport
-
Creates a report; the list is copied.
- ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.tempo.testing
-
Result of one scenario.
- ConformanceReport.Status - Enum Class in codes.grow.packages.tempo.testing
-
Outcome of a scenario or step.
- ConformanceReport.StepResult - Record Class in codes.grow.packages.tempo.testing
-
Result of one step.
- ConformanceRunner - Class in codes.grow.packages.tempo.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.tempo.testing
-
Builder for
ConformanceRunner. - connectTimeout() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the connection setup timeout.
- connectTimeout() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the connect timeout (default 10 s).
- CONSUMER - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"consumer". - contentType() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the body content type.
- CoreOps - Class in codes.grow.packages.tempo.testing
-
Conformance operations of the
corecategory:health,ping,serverVersion,close. - CoreOps() - Constructor for class codes.grow.packages.tempo.testing.CoreOps
-
Creates the operations.
- CoreTarget - Interface in codes.grow.packages.tempo.testing
-
A target of the
coreconformance category that is not the service client: a fake for unit tests of the runner, or an adapter for a client whose core methods differ. - count() - Method in class codes.grow.packages.tempo.testing.OpResult
-
Returns the explicit count.
- create(TempoConfig) - Static method in class codes.grow.packages.tempo.TempoClient
-
Creates a client.
- create(TempoConfig) - Static method in class codes.grow.packages.tempo.TempoQueryClient
-
Builds a query client that owns its
TempoClient. - create(Scenario) - Method in interface codes.grow.packages.tempo.testing.TargetFactory
-
Creates or returns the target for one scenario.
- create(TracingConfig) - Static method in class codes.grow.packages.tempo.tracing.OtlpExporters
-
Creates an OTLP exporter for the config's protocol.
- create(TracingConfig) - Method in interface codes.grow.packages.tempo.tracing.SpanExporterFactory
-
Creates the exporter.
- create(Class<T>, T) - Static method in class codes.grow.packages.tempo.tracing.TracedProxy
-
Wraps
targetusing the helpers' default tracer. - create(Class<T>, T, Tracer) - Static method in class codes.grow.packages.tempo.tracing.TracedProxy
-
Wraps
targetwith an explicit tracer. - createExporter(TracingConfig) - Static method in class codes.grow.packages.tempo.TempoTracing
-
Builds the official OTLP exporter:
grpc→ OTLP/gRPC (lower-case metadata, e.g. - currentSpan() - Static method in class codes.grow.packages.tempo.tracing.Spans
-
The current span (an invalid no-op span when none is active).
- currentSpanId() - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Span id of the current span.
- currentTraceId() - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Trace id of the current span.
D
- debug(String) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at debug level without fields.
- debug(String, Map<String, Object>) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at debug level.
- decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.tempo.core.Json
-
Decodes JSON bytes into a generic type.
- decode(byte[], Class<T>) - Static method in class codes.grow.packages.tempo.core.Json
-
Decodes JSON bytes into a type.
- deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.tempo.testing.Expectations
-
Deep JSON equality where objects in
expectedare matched as subsets and numbers compare by value (42 == 42.0). - DEFAULT_GRPC_ENDPOINT - Static variable in class codes.grow.packages.tempo.tracing.OtlpExporters
-
Default OTLP/gRPC endpoint.
- DEFAULT_HTTP_ENDPOINT - Static variable in class codes.grow.packages.tempo.tracing.OtlpExporters
-
Default OTLP/HTTP traces endpoint.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
The interval used when none is given.
- DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.tempo.core.RetryPolicy
-
Default maximum number of retries (so up to 4 attempts).
- DEFAULT_OTLP_GRPC_ENDPOINT - Static variable in class codes.grow.packages.tempo.TempoTracingConfig
-
Default OTLP/gRPC endpoint (Tempo's OTLP gRPC receiver).
- DEFAULT_OTLP_HTTP_ENDPOINT - Static variable in class codes.grow.packages.tempo.TempoTracingConfig
-
Default OTLP/HTTP endpoint (Tempo's OTLP HTTP receiver).
- DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Pause between repeated steps.
- DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.tempo.testing.ConformanceRunner
-
How long
listServicessteps are repeated until their expectation passes. - DEFAULT_PREFIX - Static variable in class codes.grow.packages.tempo.core.EnvReader
-
Prefix of every variable of this SDK.
- DEFAULT_PREFIX - Static variable in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Default value of
${prefix}. - DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.tempo.tracing.TracingConfig
-
Default propagators.
- DEFAULT_URL - Static variable in class codes.grow.packages.tempo.TempoConfig
-
Default endpoint of the query API (HTTP port 3200).
- defaults() - Static method in class codes.grow.packages.tempo.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.tempo.core.TlsOptions
-
Returns options without any customisation (system trust store).
- defaults() - Static method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Defaults: 30 s, 1 s, 1 span.
- defaults() - Static method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Defaults: internal span, no attributes, current context as parent, the helpers' tracer.
- defaults() - Static method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
The defaults.
- delegate() - Method in class codes.grow.packages.tempo.tracing.TracedHttpClient
-
The wrapped client.
- delete(String) - Static method in class codes.grow.packages.tempo.core.TransportRequest
-
Starts a DELETE request.
- DependencyLink - Record Class in codes.grow.packages.tempo.tracing.query
-
A service dependency edge.
- DependencyLink(String, String, long) - Constructor for record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Creates an instance of a
DependencyLinkrecord class. - descendant(TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
structural(">>", other): spans of other that are descendants. - describe() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns a one-line description.
- description() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
descriptionrecord component. - details() - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Returns the value of the
detailsrecord component. - doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.tempo.tracing.TracingFilter
- duration() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the call duration including retries.
- duration(String, String...) - Method in class codes.grow.packages.tempo.core.EnvReader
-
Reads a duration (integer milliseconds or Go-style units such as
1m30s). - duration(Duration) - Static method in class codes.grow.packages.tempo.TraceQL
-
Renders a duration with the largest exact unit (
1h,90s,200ms,1500us,7ns). - durationMicros() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns the value of the
durationMicrosrecord component. - durationMicros() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
durationMicrosrecord component. - durationMicros() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
durationMicrosrecord component. - durationMicros() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
durationMicrosrecord component. - durationMicros(long) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets an explicit duration.
- durationMs() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
durationMsrecord component. - dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.tempo.testing.JUnitConformance
-
Creates one dynamic test per selected scenario.
E
- echo() - Method in class codes.grow.packages.tempo.TempoClient
-
GET /api/echo→"echo"; same asquery().echo(). - echo() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
GET /api/echo→"echo"(no tenant needed). - echoAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.echo(). - echoAsync() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.echo(). - encode(Object) - Static method in class codes.grow.packages.tempo.core.Json
-
Encodes a value as UTF-8 JSON.
- end() - Method in class codes.grow.packages.tempo.GetTraceOptions
-
Window end.
- end() - Method in class codes.grow.packages.tempo.MetricsRange
-
Window end.
- end() - Method in class codes.grow.packages.tempo.SearchRequest
-
Window end.
- end() - Method in class codes.grow.packages.tempo.SearchTagsOptions
-
Window end.
- end() - Method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
Window end.
- end() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Range end.
- end(Instant) - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Sets the window end (epoch seconds).
- end(Instant) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the window end (sent as epoch seconds, rounded up).
- end(Instant) - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Sets the window end.
- end(Instant) - Method in class codes.grow.packages.tempo.SearchTagValuesOptions.Builder
-
Sets the window end.
- end(Instant) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the range end.
- endMicros() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
endMicrosrecord component. - endpoint() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Export endpoint.
- endpoint(String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the OTLP endpoint (
http://host:4318or a full…/v1/tracesURL;http://host:4317for gRPC). - endpoint(String) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the export endpoint.
- environment() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
deployment.environment.name(and the legacydeployment.environment). - environment(String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets
deployment.environment. - environment(String) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets
deployment.environment.nameand the legacydeployment.environment. - EnvReader - Class in codes.grow.packages.tempo.core
-
Reads configuration from environment variables (SPEC section 2.2).
- EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.tempo.core.EnvReader
-
Creates a reader over an explicit environment map.
- equals(Object) - Method in record class codes.grow.packages.tempo.BuildInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.MetricSample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.MetricSeries
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.MetricsResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.SearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.SearchSpan
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.SearchTrace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.ServiceStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.SpanSet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.TagValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class codes.grow.packages.tempo.TraceQL
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns the value of the
errorrecord component. - error(String) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at error level without fields.
- error(String, Map<String, Object>) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at error level.
- ERROR - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.StatusCode
-
"error". - ErrorCode - Enum Class in codes.grow.packages.tempo.core
-
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
- errorCount() - Method in record class codes.grow.packages.tempo.ServiceStats
-
Returns the value of the
errorCountrecord component. - ErrorInfo(String, String, TempoException, int, boolean) - Constructor for record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Creates an instance of a
ErrorInforecord class. - errorMapper() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the service error mapper.
- errorMapper(ErrorMapper) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the service error mapper (see
ErrorMapper). - ErrorMapper - Interface in codes.grow.packages.tempo.core
-
Service hook that replaces the error
HttpTransportderived from a failed response, for vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says the request will never succeed). - errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.tempo.core.HttpTransport
-
Builds an error message
"<operation>: <reason> (HTTP <status>)"with redacted, truncated vendor text. - event(Span.Event) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Adds an event.
- Event(String, long, Map<String, Object>) - Constructor for record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Copies the attributes.
- EVENT - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Event attributes (
event). - events() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
eventsrecord component. - exemplars() - Method in record class codes.grow.packages.tempo.MetricSeries
-
Returns the value of the
exemplarsrecord component. - exemplars() - Method in class codes.grow.packages.tempo.MetricsRange
-
Maximum number of exemplars.
- exemplars(int) - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Sets the maximum number of exemplars.
- expect() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns the value of the
expectrecord component. - Expectations - Class in codes.grow.packages.tempo.testing
-
Evaluates the
expectobject of a scenario step (SPEC section 6). - explicitInterval() - Method in record class codes.grow.packages.tempo.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.tempo.testing.tracing.InMemorySpanExporter
- exporterFactory() - Static method in class codes.grow.packages.tempo.TempoTracing
-
The Tempo exporter factory for
Tracing.initWith(codes.grow.packages.tempo.tracing.TracingConfig, codes.grow.packages.tempo.tracing.SpanExporterFactory): applies the Tempo defaults and builds the official OTLP exporter. - exportTimeout() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns the value of the
exportTimeoutrecord component. - extract(Map<String, String>) - Static method in class codes.grow.packages.tempo.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.tempo.tracing.Spans
-
Extracts with explicit propagators.
- extractHeaders(Map<String, List<String>>) - Static method in class codes.grow.packages.tempo.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.tempo.tracing.Spans
-
Extracts from a multi-valued header map with explicit propagators.
F
- factory() - Static method in class codes.grow.packages.tempo.tracing.OtlpExporters
-
Returns a factory that creates an OTLP exporter for the config's protocol.
- FAILED - Enum constant in enum class codes.grow.packages.tempo.testing.ConformanceReport.Status
-
An expectation failed or the step raised an unexpected error.
- field(String) - Static method in class codes.grow.packages.tempo.TraceQL
-
Renders a field name: validates the scope or intrinsic and quotes odd attribute names.
- fields(ContextPropagators) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Names of the propagation fields of the given propagators.
- flush() - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
- forceFlush() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Exports all finished spans, waiting at most the export timeout.
- forceFlush(Duration) - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Exports all finished spans.
- forceFlushAsync(Duration) - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Asynchronous
TracingHandle.forceFlush(Duration). - forService(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Query for one service.
- forStatus(int) - Static method in enum class codes.grow.packages.tempo.core.ErrorCode
-
Maps an HTTP status to its canonical code.
- from(TracingConfig) - Static method in class codes.grow.packages.tempo.TempoTracingConfig
-
Takes every field of a generic config as explicit; only an unset endpoint and a missing tenant header are filled from the environment.
- from(Map<String, ?>) - Static method in class codes.grow.packages.tempo.tracing.OtelAttributes
-
Converts a map.
- fromAnyValue(JsonNode) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Converts an OTLP
AnyValue: strings, booleans,Long(intValue),Double(doubleValue), lists (arrayValue), maps (kvlistValue) and base64 text (bytesValue). - fromEnv() - Static method in class codes.grow.packages.tempo.TempoClient
-
Creates a client from
GROW_GRAFANA_TEMPO_*, thenTEMPO_URL,TEMPO_TENANT_IDand theGROW_TEMPO_*aliases. - fromEnv() - Static method in class codes.grow.packages.tempo.TempoConfig
-
Reads the configuration from the process environment.
- fromEnv() - Static method in class codes.grow.packages.tempo.TempoQueryClient
-
Builds an owned query client from
GROW_GRAFANA_TEMPO_*/TEMPO_*variables. - fromEnv(EnvReader) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Fills unset fields from an environment reader.
- fromEnv(EnvReader) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Fills every field that was not set explicitly from the environment.
- fromEnv(Map<String, String>) - Static method in class codes.grow.packages.tempo.TempoConfig
-
Reads the configuration from an explicit variable map (tests).
- fromError(TempoException) - Static method in class codes.grow.packages.tempo.core.HealthCheck
-
Maps a transport error to
unreachable. - fromKeyValues(JsonNode) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Converts an OTLP attribute list (
[{key, value}]) to a map; empty values are dropped. - fromResponse(TransportResponse) - Static method in class codes.grow.packages.tempo.core.HealthCheck
-
Maps a health response: 2xx is healthy; the word comes from a JSON
statusfield (ok/unhealthywhen absent); other string fields become details.
G
- get() - Method in interface codes.grow.packages.tempo.tracing.ThrowingSupplier
-
Computes the result.
- get(String) - Static method in class codes.grow.packages.tempo.core.TransportRequest
-
Starts a GET request.
- getDependencies(Instant, Instant) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Always
UnsupportedException: Tempo has no dependency-graph API (service graphs need the metrics-generator plus a Prometheus backend). - getDependencies(Instant, Instant) - Method in class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
- getDependencies(Instant, Instant) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Service dependency graph in a time range.
- getDependenciesAsync(Instant, Instant) - Method in class codes.grow.packages.tempo.TempoQueryClient
- getDependenciesAsync(Instant, Instant) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
- getTrace(String) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Fetches a trace by id:
GET /api/v2/traces/{id}(falls back to v1/api/traces/{id}when the v2 route answers 404). - getTrace(String) - Method in class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
- getTrace(String) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Fetches one trace.
- getTrace(String, GetTraceOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
TempoQueryClient.getTrace(String)with a time window that narrows the backend blocks searched (recent data is returned anyway). - getTraceAsync(String) - Method in class codes.grow.packages.tempo.TempoQueryClient
- getTraceAsync(String) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.getTrace(java.lang.String); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - getTraceAsync(String, GetTraceOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.getTrace(String, GetTraceOptions). - GetTraceOptions - Class in codes.grow.packages.tempo
-
Options of
TempoQueryClient.getTrace(String, GetTraceOptions): a time window that narrows the backend blocks Tempo searches (sent as epoch seconds). - goVersion() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
goVersionrecord component. - GRPC - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.Protocol
-
OTLP over gRPC (
"grpc"). - GZIP - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.Compression
-
gzip (default).
H
- handle() - Method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Returns the value of the
handlerecord component. - hashCode() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.MetricSample
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.MetricSeries
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.MetricsResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.SearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.ServiceStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.SpanSet
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.TagValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Returns a hash code value for this object.
- hashCode() - Method in class codes.grow.packages.tempo.TraceQL
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns a hash code value for this object.
- header(String) - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the first value of a header.
- header(String, String) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Sets a header.
- header(String, String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Adds a header.
- header(String, String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Adds a header sent with every request.
- header(String, String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Adds an export header.
- header(String, String) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Adds an export header.
- headers() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns the value of the
headersrecord component. - headers() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the extra headers sent with every request.
- headers() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the request headers.
- headers() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the response headers (case-insensitive keys).
- headers() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the extra request headers.
- headers() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Extra export headers (for example authentication).
- headers(Map<String, String>) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Adds headers sent with every request.
- headers(Map<String, String>) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Replaces the export headers (for example a proxy
Authorization). - headers(Map<String, String>) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Replaces the export headers.
- headersFor(ContextPropagators) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
The headers a request should carry for the current context.
- health() - Method in class codes.grow.packages.tempo.TempoClient
-
Readiness:
GET /ready(no tenant needed). - health() - Method in interface codes.grow.packages.tempo.testing.CoreTarget
-
Checks liveness; never throws for an unhealthy service.
- healthAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.health(). - HealthCheck - Class in codes.grow.packages.tempo.core
-
Implements the
health()contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only forCancelledExceptionandConfigException. - HealthStatus - Record Class in codes.grow.packages.tempo.core
-
Result of
health()(SPEC section 2.4). - HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.tempo.core.HealthStatus
-
Creates a status; details are copied.
- healthy() - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Returns the value of the
healthyrecord component. - hooks() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the hooks.
- hooks() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets hooks.
- hooks(Hooks) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets request hooks.
- Hooks - Interface in codes.grow.packages.tempo.core
-
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
- Hooks.ErrorInfo - Record Class in codes.grow.packages.tempo.core
-
Data passed to
Hooks.onError(codes.grow.packages.tempo.core.Hooks.ErrorInfo). - Hooks.RequestInfo - Record Class in codes.grow.packages.tempo.core
- Hooks.ResponseInfo - Record Class in codes.grow.packages.tempo.core
- HTTP_PROTOBUF - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.Protocol
-
OTLP over HTTP with protobuf bodies (
"http/protobuf"). - httpEndpoint(TracingConfig) - Static method in class codes.grow.packages.tempo.tracing.OtlpExporters
-
The HTTP endpoint: the configured URL, with
/v1/tracesappended when it has no path. - httpStatus() - Method in exception class codes.grow.packages.tempo.core.TempoException
-
Returns the HTTP status when the error came from a response.
- HttpTransport - Class in codes.grow.packages.tempo.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.tempo.core.HttpTransport
-
Creates a transport.
I
- id() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
idrecord component. - idempotent() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns whether the request may be replayed after an uncertain send.
- idempotent(boolean) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Marks the request idempotent (or not), overriding the method default.
- idToHex(String, int) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Converts an id from the trace-by-id JSON (base64 protobuf bytes) to lower-case hex, left-padded to
hexLength. - index() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns the value of the
indexrecord component. - info(String) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at info level without fields.
- info(String, Map<String, Object>) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at info level.
- initialBackoff() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the backoff cap for the first retry.
- initialBackoff(Duration) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Sets the backoff cap of the first retry.
- initTracing(TempoTracingConfig) - Static method in class codes.grow.packages.tempo.TempoTracing
-
Starts tracing: settings from
config, then the process environment, then Tempo defaults (seeTempoTracingConfig). - initTracing(TempoTracingConfig, EnvReader) - Static method in class codes.grow.packages.tempo.TempoTracing
-
TempoTracing.initTracing(TempoTracingConfig)with an explicit environment. - initTracing(TracingConfig) - Static method in class codes.grow.packages.tempo.TempoTracing
-
Starts tracing from a generic config: every field is used as given; only an unset endpoint and a missing
X-Scope-OrgIDheader are filled from the environment, andnativemeans OTLP over HTTP. - initWith(TracingConfig, SpanExporterFactory) - Static method in class codes.grow.packages.tempo.tracing.Tracing
-
Builds and starts the tracer provider: resource from the config, sampler, batch span processor and propagators; registers it globally when
setGlobalis true. - initWith(TracingConfig, SpanExporterFactory, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.tempo.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.tempo.tracing.Tracing
-
Like
Tracing.initWith(TracingConfig, SpanExporterFactory, Map)with a sampler override (for example a remote sampler) and extra span processors. - inject(Context, Map<String, String>, ContextPropagators) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Injects a context with explicit propagators.
- inject(Map<String, String>) - Static method in class codes.grow.packages.tempo.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.tempo.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.tempo.tracing.Spans
-
Injects the current context into a multi-valued header map (as used by
java.net.http.HttpHeadersor servlet APIs); existing propagation headers are replaced. - InMemorySpanExporter - Class in codes.grow.packages.tempo.testing.tracing
-
SpanExporterthat keeps finished spans in memory. - InMemorySpanExporter() - Constructor for class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
-
Creates an empty exporter.
- InMemoryTraceQueryClient - Class in codes.grow.packages.tempo.testing.tracing
-
TraceQueryClientover in-memory spans (usuallyInMemorySpanExporter.spans()), including a dependency graph computed from parent/child spans of different services. - InMemoryTraceQueryClient(InMemorySpanExporter) - Constructor for class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
-
Reads the spans of an exporter.
- InMemoryTraceQueryClient(Supplier<List<Span>>) - Constructor for class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
-
Reads normalized spans from a supplier.
- insecureSkipVerify() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns whether certificate and host name verification is disabled (tests only).
- insecureSkipVerify(boolean) - Method in class codes.grow.packages.tempo.core.TlsOptions.Builder
-
Disables certificate and host name verification.
- INSTRUMENTATION - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Instrumentation scope attributes (
instrumentation). - INSTRUMENTATION_NAME - Static variable in class codes.grow.packages.tempo.tracing.Tracing
-
Instrumentation scope name used by the helpers in this package.
- integer(String, String...) - Method in class codes.grow.packages.tempo.core.EnvReader
-
Reads an integer.
- intercept(Interceptor.Chain) - Method in class codes.grow.packages.tempo.tracing.TracingInterceptor
- INTERNAL - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"internal". - interval() - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns the value of the
intervalrecord component. - intervalOr(Duration) - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - INTRINSIC - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Intrinsics such as
name,status,duration(intrinsic). - invoke(Object, Method, Object[]) - Method in class codes.grow.packages.tempo.tracing.TracedProxy
- isCleared() - Method in class codes.grow.packages.tempo.core.Secret
-
Returns whether
Secret.clear()was called. - isClosed() - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Returns whether
HttpTransport.close()was called. - isClosed() - Method in class codes.grow.packages.tempo.TempoClient
-
Returns whether
TempoClient.close()was called. - isCustom() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns whether any option differs from the system defaults.
- isEmpty() - Method in class codes.grow.packages.tempo.core.Secret
-
Returns whether the value is empty.
- isRoot() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Whether the span is a root (no parent).
- isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.tempo.core.Redaction
-
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
- isSensitiveHeader(String) - Static method in class codes.grow.packages.tempo.core.Redaction
-
Returns whether a header name is sensitive (case-insensitive).
- isShutdown() - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
-
Whether
InMemorySpanExporter.shutdown()was called. - isShutdown() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Whether
TracingHandle.shutdown()was called. - isValidTraceId(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
Whether
idis a valid (normalised or normalisable) trace id.
J
- json(TypeReference<T>) - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Decodes the JSON body into a generic type.
- json(Class<T>) - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Decodes the JSON body.
- json(Object) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Sets a JSON body encoded with Jackson.
- Json - Class in codes.grow.packages.tempo.core
-
Shared Jackson configuration of the SDK.
- jsonNode() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Parses the JSON body into a tree.
- JUnitConformance - Class in codes.grow.packages.tempo.testing
-
JUnit 5 adapter: one dynamic test per scenario.
K
- KEY - Static variable in class codes.grow.packages.tempo.core.SdkInfo
-
Catalog key of the service, e.g.
- kind() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
kindrecord component. - kind() - Method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Span kind.
- kind() - Element in annotation interface codes.grow.packages.tempo.tracing.Traced.Method
-
Span kind.
- kind(Span.Kind) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets the kind.
- kind(SpanKind) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Sets the span kind.
- knownSecrets() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the secret values removed from every error message, hook and log line.
- knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the supplier of secret values to redact from errors, hooks and logs.
L
- labels() - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Returns the value of the
labelsrecord component. - labels() - Method in record class codes.grow.packages.tempo.MetricSeries
-
Returns the value of the
labelsrecord component. - LANGUAGE - Static variable in class codes.grow.packages.tempo.core.SdkInfo
-
Language token in the
User-Agent. - limit() - Method in class codes.grow.packages.tempo.SearchRequest
-
Maximum number of traces (Tempo default 20).
- limit() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Maximum results.
- limit(int) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the maximum number of traces.
- limit(int) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the result limit.
- link(Span.Link) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Adds a link.
- link(SpanContext) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Adds a link.
- Link(String, String, Map<String, Object>) - Constructor for record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Normalises the ids and copies the attributes.
- LINK - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Link attributes (
link). - links() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
linksrecord component. - links() - Method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Links to other spans.
- listOperations(String) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Span names of one service (
namevalues filtered by the service), sorted. - listOperations(String) - Method in class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
- listOperations(String) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Lists operations (span names) of a service.
- listOperationsAsync(String) - Method in class codes.grow.packages.tempo.TempoQueryClient
- listOperationsAsync(String) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.listOperations(java.lang.String). - listServices() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Service names (
resource.service.namevalues seen recently), sorted. - listServices() - Method in class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
- listServices() - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Lists services that reported spans.
- listServicesAsync() - Method in class codes.grow.packages.tempo.TempoQueryClient
- listServicesAsync() - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.listServices(). - logger() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the logger.
- logger() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the logger.
- logger(Logger) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the logger (default silent).
- Logger - Interface in codes.grow.packages.tempo.core
-
Minimal logger used by the transport (SPEC section 2.5).
- longValue(JsonNode) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Reads a 64-bit integer that protobuf JSON may send as a string or a number.
M
- map(TransportResponse, TempoException) - Method in interface codes.grow.packages.tempo.core.ErrorMapper
-
Maps a failed response.
- mapper() - Static method in class codes.grow.packages.tempo.core.Json
-
Returns the shared mapper.
- matched() - Method in record class codes.grow.packages.tempo.SpanSet
-
Returns the value of the
matchedrecord component. - matchesTiming(TraceSummary) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Whether a summary passes the service/operation-independent filters (duration and time range).
- MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.tempo.core.Redaction
-
Maximum length of vendor error text kept in error messages.
- maxBackoff() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the upper bound of any backoff.
- maxBackoff(Duration) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Sets the upper bound of every backoff.
- maxDurationMicros() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Maximum duration.
- maxDurationMicros(Long) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the maximum duration.
- maxExportBatchSize() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns the value of the
maxExportBatchSizerecord component. - maxQueueSize() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns the value of the
maxQueueSizerecord component. - maxRetries() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the maximum number of retries after the first attempt.
- maxRetries() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the retry limit override.
- maxRetries(int) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Sets the maximum number of retries.
- maxRetries(int) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Overrides the retry limit for this call.
- maxRetryAfter() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the longest
Retry-Afterwait the client accepts. - maxRetryAfter(Duration) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Sets the longest accepted
Retry-After. - message() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns the value of the
messagerecord component. - message() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Returns the value of the
messagerecord component. - method() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
methodrecord component. - method() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the HTTP method.
- MetricExemplar - Record Class in codes.grow.packages.tempo
-
An exemplar span behind a metrics series (labels include
trace:id). - MetricExemplar(Map<String, Object>, double, long) - Constructor for record class codes.grow.packages.tempo.MetricExemplar
-
Copies the labels.
- metrics() - Method in record class codes.grow.packages.tempo.SearchResult
-
Returns the value of the
metricsrecord component. - MetricSample - Record Class in codes.grow.packages.tempo
-
One sample of a TraceQL metrics series.
- MetricSample(long, double) - Constructor for record class codes.grow.packages.tempo.MetricSample
-
Creates an instance of a
MetricSamplerecord class. - MetricSeries - Record Class in codes.grow.packages.tempo
-
One series of a TraceQL metrics query.
- MetricSeries(Map<String, Object>, List<MetricSample>, List<MetricExemplar>) - Constructor for record class codes.grow.packages.tempo.MetricSeries
-
Copies the collections.
- MetricsRange - Class in codes.grow.packages.tempo
-
Window and resolution of
TempoQueryClient.traceQLMetrics(String, MetricsRange): eitherstart/endorsince(a window ending now), plus an optionalstepand exemplar count. - MetricsRange.Builder - Class in codes.grow.packages.tempo
-
Builder of
MetricsRange. - MetricsResult - Record Class in codes.grow.packages.tempo
- MetricsResult(List<MetricSeries>, Optional<Duration>) - Constructor for record class codes.grow.packages.tempo.MetricsResult
-
Copies the list.
- micros(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Parses an RFC 3339 timestamp into epoch microseconds.
- minDurationMicros() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Minimum duration.
- minDurationMicros(Long) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the minimum duration.
- minSpans() - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns the value of the
minSpansrecord component. - multiplier() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns the exponential growth factor.
- multiplier(double) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Sets the exponential growth factor.
N
- name() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns the value of the
namerecord component. - name() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Returns the value of the
namerecord component. - name() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
namerecord component. - nanosToMicros(JsonNode) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Converts a decimal nanosecond value (string or number node) to whole microseconds.
- NATIVE - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.Protocol
-
The service's own ingest API (
"native"). - nativeIdsAccepted() - Static method in class codes.grow.packages.tempo.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.tempo.tracing.query.TraceIds
-
Returns the package-wide default set with
TraceIds.acceptNativeIds(boolean), ignoring any scoped policy of the current thread. - none() - Static method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns a policy that never retries.
- none() - Static method in class codes.grow.packages.tempo.GetTraceOptions
-
No window.
- none() - Static method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
Options without filters.
- NONE - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.Compression
-
No compression.
- NONE - Static variable in interface codes.grow.packages.tempo.core.ErrorMapper
-
Keeps the default error.
- NONE - Static variable in interface codes.grow.packages.tempo.core.Hooks
-
Hooks that do nothing.
- NOOP - Static variable in interface codes.grow.packages.tempo.core.Logger
-
A logger that discards everything.
- normalizeSpanId(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
Normalises a span id (16 lower-hex characters, shorter ids left-padded).
- normalizeSpanIdOrNative(String) - Static method in class codes.grow.packages.tempo.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.tempo.tracing.query.TraceIds
-
Normalises a trace id: trims, strips a
0xprefix, lower-cases and left-pads 1–31 hex digits (for example 64-bit Zipkin/Datadog ids) to 32. - normalizeTraceIdOrNative(String) - Static method in class codes.grow.packages.tempo.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.tempo.core.ErrorCode
-
HTTP 404 or a missing record.
- NotFoundException - Exception Class in codes.grow.packages.tempo.core
-
The record does not exist (HTTP 404).
- NotFoundException(String) - Constructor for exception class codes.grow.packages.tempo.core.NotFoundException
-
Creates the exception.
- NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.NotFoundException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.NotFoundException
-
Creates the exception with response details.
- NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.NotFoundException
-
Creates the exception with a cause.
O
- of(char[]) - Static method in class codes.grow.packages.tempo.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.tempo.core.TempoException
-
Like
TempoException.of(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code. - of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.tempo.core.TempoException
-
Creates the subclass that matches
code. - of(TracingHandle, TraceQueryClient) - Static method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Creates a target.
- of(Object) - Static method in class codes.grow.packages.tempo.testing.OpResult
-
Wraps a value.
- of(String) - Static method in class codes.grow.packages.tempo.core.Secret
-
Wraps a string value.
- of(String) - Static method in class codes.grow.packages.tempo.SearchRequest
-
Request for one TraceQL query with Tempo's defaults.
- of(Throwable) - Static method in enum class codes.grow.packages.tempo.core.ErrorCode
-
Returns the code of an SDK exception.
- of(Map<String, String>) - Static method in class codes.grow.packages.tempo.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover an explicit map. - ok() - Static method in record class codes.grow.packages.tempo.core.HealthStatus
-
A healthy
okstatus without details. - OK - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.StatusCode
-
"ok". - onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.tempo.core.Hooks
-
Called when an attempt failed (network error, timeout or error status).
- only(String...) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Restricts the run to these scenario ids.
- onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.tempo.core.Hooks
-
Called before each attempt.
- onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.tempo.core.Hooks
-
Called when an attempt received a response (any status).
- op() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns the value of the
oprecord component. - op() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns the value of the
oprecord component. - op(String, String, OpHandler) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Registers one operation.
- openTelemetry() - Static method in class codes.grow.packages.tempo.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.tempo.tracing.TracingHandle
-
The OpenTelemetry SDK instance.
- operation() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the operation name used in error messages.
- operation() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Operation (span name) filter.
- operation(String) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Sets the operation name used in error messages.
- operation(String) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the operation filter.
- OPERATORS - Static variable in class codes.grow.packages.tempo.TraceQL
-
Comparison operators accepted by
TraceQL.and(java.lang.String, java.lang.String, java.lang.Object)andTraceQL.or(java.lang.String, java.lang.String, java.lang.Object). - OpHandler - Interface in codes.grow.packages.tempo.testing
-
Executes one scenario step and returns its result (or an
OpResult). - OpResult - Class in codes.grow.packages.tempo.testing
-
A step result with optional extra views for the expectations
countandtree. - ops() - Method in interface codes.grow.packages.tempo.testing.ConformanceOps
-
Returns the handlers by operation name.
- ops() - Method in class codes.grow.packages.tempo.testing.CoreOps
- ops() - Method in class codes.grow.packages.tempo.testing.tracing.TracingOps
- optArg(String) - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns an optional argument.
- or(String, String, Object) - Method in class codes.grow.packages.tempo.TraceQL
-
Adds
|| field op valueto the last span-set filter. - OtelAttributes - Class in codes.grow.packages.tempo.tracing
-
Converts SDK attribute values (
AttrValue: String, numbers, Boolean, lists, maps) into OpenTelemetryAttributes. - OtlpExporters - Class in codes.grow.packages.tempo.tracing
-
OTLP span exporters (gRPC and HTTP/protobuf) configured from a
TracingConfig: endpoint, headers, compression, export timeout and TLS. - OtlpJson - Class in codes.grow.packages.tempo
-
Converts the OTLP JSON that Tempo returns for a trace by id (protobuf JSON: ids in base64, times as decimal nanosecond strings, enums as names) into the normalized
Spanmodel.
P
- parent() - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Returns the value of the
parentrecord component. - parent() - Method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Explicit parent context.
- parent(TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
structural("<", other): spans of other that are direct parents. - parent(Context) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Sets the parent context (default: the current context).
- PARENTBASED_ALWAYS_OFF - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Follow the parent, drop roots.
- PARENTBASED_ALWAYS_ON - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Follow the parent, sample roots (default).
- PARENTBASED_TRACEIDRATIO - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Follow the parent, sample a ratio of roots.
- parentSpanId() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
parentSpanIdrecord component. - parentSpanId(String) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets the parent span id.
- parse(JsonNode) - Static method in record class codes.grow.packages.tempo.testing.Scenario
-
Parses a scenario document.
- parse(String) - Static method in enum class codes.grow.packages.tempo.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.tempo.tracing.query.Span.StatusCode
-
Parses a wire value or vendor spelling (
"STATUS_CODE_ERROR","Error", …). - parseBool(String) - Static method in class codes.grow.packages.tempo.core.EnvReader
-
Parses a boolean:
true/false/1/0/yes/no/on/off, case-insensitive. - parseDuration(String) - Static method in class codes.grow.packages.tempo.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.tempo.core.RetryPolicy
-
Parses a vendor rate-limit reset header such as
X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least1000000000) or an HTTP-date. - parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.tempo.core.RetryPolicy
-
Parses a
Retry-Afterheader: delay seconds or an HTTP-date. - passed() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns whether no scenario failed.
- PASSED - Enum constant in enum class codes.grow.packages.tempo.testing.ConformanceReport.Status
-
Every expectation held.
- path() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the path.
- PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
HTTP 403: the credentials lack a permission.
- PermissionDeniedException - Exception Class in codes.grow.packages.tempo.core
-
The credentials lack a permission (HTTP 403).
- PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.tempo.core.PermissionDeniedException
-
Creates the exception.
- PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.PermissionDeniedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.PermissionDeniedException
-
Creates the exception with response details.
- PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.PermissionDeniedException
-
Creates the exception with a cause.
- ping() - Method in class codes.grow.packages.tempo.TempoClient
-
Tenant-aware round trip:
GET /api/v2/search/tags?scope=intrinsic. - ping() - Method in interface codes.grow.packages.tempo.testing.CoreTarget
-
Performs an authenticated round trip.
- pingAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.ping(). - poll(String, Duration) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Repeats a failing step of
opuntil its expectation passes ortimeout(or the step'stimeoutMsargument) runs out, for eventually consistent backends. - Poll - Class in codes.grow.packages.tempo.core
-
Generic polling helper (
pollUntil): used bywaitForLog,waitForTraceand service waiters. - pollInterval(Duration) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Sets the pause between repeated steps (default
ConformanceRunner.DEFAULT_POLL_INTERVAL). - post(String) - Static method in class codes.grow.packages.tempo.core.TransportRequest
-
Starts a POST request.
- prefix(String) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Sets the
${prefix}template (may contain${run}). - PRODUCER - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"producer". - propagators() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Propagator names.
- propagators() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
The configured propagators.
- propagators(List<String>) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the propagators.
- propagators(List<String>) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the propagators (
tracecontext,baggage,b3,b3multi,noneor names the service package registers). - propagators(List<String>, Map<String, TextMapPropagator>) - Static method in class codes.grow.packages.tempo.tracing.Tracing
-
Resolves propagator names.
- propagatorsExplicit() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns whether
TracingConfig.propagators()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - protocol() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Export protocol.
- protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the export protocol.
- protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the export protocol (default
http/protobufunless the service changes it). - protocolExplicit() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns whether
TracingConfig.protocol()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - proxy() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the proxy URL.
- proxy() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the explicit proxy URL.
- proxy(String) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets an explicit HTTP proxy URL, e.g.
- proxy(String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the proxy URL.
- proxy(String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets an explicit proxy URL; environment proxies (
HTTPS_PROXY) are never used. - put(String) - Static method in class codes.grow.packages.tempo.core.TransportRequest
-
Starts a PUT request.
Q
- query() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the query parameters in insertion order.
- query() - Method in class codes.grow.packages.tempo.SearchTagsOptions
-
TraceQL filter: only tags present on matching spans.
- query() - Method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
TraceQL filter: only values on matching spans.
- query() - Method in class codes.grow.packages.tempo.TempoClient
-
Query API (
getTrace,search,searchTags,traceQLMetrics, …) sharing this client. - query() - Method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Returns the value of the
queryrecord component. - query(TraceQL) - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Sets the TraceQL filter from a builder.
- query(TraceQL) - Method in class codes.grow.packages.tempo.SearchTagValuesOptions.Builder
-
Sets the TraceQL filter from a builder.
- query(String) - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Sets the TraceQL filter.
- query(String) - Method in class codes.grow.packages.tempo.SearchTagValuesOptions.Builder
-
Sets the TraceQL filter.
- query(String) - Static method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
Options with a TraceQL filter.
- query(String, Object) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Adds a query parameter (repeatable).
- quote(String) - Static method in class codes.grow.packages.tempo.TraceQL
-
Quotes text as a TraceQL string literal:
"…"with\,", newline, tab and carriage return escaped; other characters (including Unicode) pass through.
R
- random(RandomGenerator) - Method in class codes.grow.packages.tempo.core.RetryPolicy.Builder
-
Injects the random source used for jitter (tests).
- RATE_LIMITED - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
HTTP 429.
- RateLimitException - Exception Class in codes.grow.packages.tempo.core
-
The service rate-limited the call (HTTP 429); see
TempoException.retryAfter(). - RateLimitException(String) - Constructor for exception class codes.grow.packages.tempo.core.RateLimitException
-
Creates the exception.
- RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.RateLimitException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.RateLimitException
-
Creates the exception with response details.
- RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.RateLimitException
-
Creates the exception with a cause.
- raw() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
rawrecord component. - ready() - Method in class codes.grow.packages.tempo.TempoClient
-
GET /ready→ true when ready, false while starting; throws on network errors. - ready() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
GET /ready: true when Tempo answersready, false while it is starting (HTTP 503) or reports another state. - readyAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.ready(). - readyAsync() - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.ready(). - reason() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
reasonrecord component. - recordException(Throwable) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Records an exception event on the current span (status unchanged).
- REDACTED - Static variable in class codes.grow.packages.tempo.core.Redaction
-
Replacement for every redacted value.
- redactFields(Map<String, ?>) - Static method in class codes.grow.packages.tempo.core.Redaction
-
Same as
Redaction.redactFields(Map, Collection)without extra keys. - redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.tempo.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.tempo.core.Redaction
-
Returns a copy of multi-valued headers with sensitive values replaced.
- redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.tempo.core.Redaction
-
Returns a copy of single-valued headers with sensitive values replaced.
- Redaction - Class in codes.grow.packages.tempo.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.tempo.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.tempo.core.Redaction
-
Redacts user-info passwords and the values of sensitive query parameters in a URL.
- register(ConformanceOps) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Registers (or overrides) operations of a category.
- register(AutoCloseable) - Method in class codes.grow.packages.tempo.TempoClient
-
Registers a resource (for example a
TracingHandle) closed with the client. - REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.tempo.core.HttpTransport
-
Response headers that carry a vendor request id, in lookup order.
- requestId() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
requestIdrecord component. - requestId() - Method in exception class codes.grow.packages.tempo.core.TempoException
-
Returns the vendor request id header of the failed response.
- requestId() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the vendor request id header.
- RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Creates an instance of a
RequestInforecord class. - requestTimeout() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the per-attempt timeout.
- requestTimeout() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the per-attempt timeout (default 30 s).
- requires() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
requiresrecord component. - requires() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns the value of the
requiresrecord component. - reset() - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
-
Forgets exported spans.
- resolve() - Method in class codes.grow.packages.tempo.TempoTracingConfig
-
Resolves the settings against the process environment.
- resolve(EnvReader) - Method in class codes.grow.packages.tempo.TempoTracingConfig
-
Resolves the settings against an environment reader.
- resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Resolves a request path and query against the base URL.
- resource(TracingConfig) - Static method in class codes.grow.packages.tempo.tracing.Tracing
-
Builds the resource: SDK defaults plus
service.name,service.version,deployment.environment.name(current semantic conventions) together with the legacydeployment.environment, and the extra resource attributes. - RESOURCE - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Resource attributes (
resource). - resourceAttributes() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Extra resource attributes.
- resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Replaces the extra resource attributes.
- resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Replaces the extra resource attributes.
- ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Creates an instance of a
ResponseInforecord class. - retry() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the retry policy.
- retry() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the retry policy (default
RetryPolicy.defaults()). - retryable() - Method in enum class codes.grow.packages.tempo.core.ErrorCode
-
Returns whether errors with this code are retryable by default.
- retryable() - Method in exception class codes.grow.packages.tempo.core.TempoException
-
Returns whether retrying the same call may succeed.
- retryAfter() - Method in exception class codes.grow.packages.tempo.core.TempoException
-
Returns the wait the server asked for (
Retry-After). - retryAfterHeaders() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset), parsed withRetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant). - retryAfterHeaders(String...) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Adds vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset). - RetryPolicy - Class in codes.grow.packages.tempo.core
-
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
- RetryPolicy.Builder - Class in codes.grow.packages.tempo.core
-
Builder for
RetryPolicy. - reveal() - Method in class codes.grow.packages.tempo.core.Secret
-
Returns the credential as a string.
- revealChars() - Method in class codes.grow.packages.tempo.core.Secret
-
Returns a copy of the credential characters.
- revision() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
revisionrecord component. - root() - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
The first root span (no parent, or a parent outside the trace).
- rootName() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
rootNamerecord component. - rootServiceName() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
rootServiceNamerecord component. - rootServiceName() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
rootServiceNamerecord component. - rootTraceName() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
rootTraceNamerecord component. - run() - Method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Runs every selected scenario.
- run() - Method in interface codes.grow.packages.tempo.tracing.ThrowingRunnable
-
Runs.
- run(StepContext) - Method in interface codes.grow.packages.tempo.testing.OpHandler
-
Runs the step.
- run(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.tempo.tracing.Traced
-
Runs
fnin a new span. - run(String, Callable<T>) - Static method in class codes.grow.packages.tempo.tracing.Traced
-
Runs
fnin a new span (seeSpans.withSpan(String, ThrowingSupplier)). - runScenario(Scenario) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Runs one scenario.
- runWithNativeIds(boolean, Runnable) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
TraceIds.withNativeIds(boolean, Supplier)for code without a result.
S
- sameValue(Secret) - Method in class codes.grow.packages.tempo.core.Secret
-
Compares the values in constant time.
- sampler() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Sampler.
- sampler(TracingConfig) - Static method in class codes.grow.packages.tempo.tracing.Tracing
-
Builds the sampler.
- sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the sampler.
- sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the sampler.
- samplerExplicit() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns whether
TracingConfig.sampler()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - samplerRatio() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Ratio of the ratio samplers.
- samplerRatio(double) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the ratio of the ratio samplers.
- samplerRatio(double) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the ratio of the ratio samplers.
- samplerRatioExplicit() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns whether
TracingConfig.samplerRatio()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - samples() - Method in record class codes.grow.packages.tempo.MetricSeries
-
Returns the value of the
samplesrecord component. - save() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns the value of the
saverecord component. - scenario() - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns the running scenario.
- Scenario - Record Class in codes.grow.packages.tempo.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.tempo.testing.Scenario
-
Creates a scenario; lists are copied.
- Scenario.Step - Record Class in codes.grow.packages.tempo.testing
-
One step of a scenario.
- scenarioDir(Path) - Method in class codes.grow.packages.tempo.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.tempo.testing.ConformanceReport.ScenarioResult
-
Creates a result; the list is copied.
- scenarios() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns the value of the
scenariosrecord component. - scenarios() - Method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Returns the scenarios of the categories that have a target, sorted by id.
- scheduledDelay() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns the value of the
scheduledDelayrecord component. - scope() - Method in class codes.grow.packages.tempo.SearchTagsOptions
-
Scope filter.
- scope(TagScope) - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Sets the scope.
- scope(TagScope) - Static method in class codes.grow.packages.tempo.SearchTagsOptions
-
Options for one scope.
- SCOPE - Static variable in class codes.grow.packages.tempo.testing.tracing.TracingOps
-
Instrumentation scope of the spans the
spanop creates. - SCOPES - Static variable in class codes.grow.packages.tempo.TraceQL
-
Attribute scopes (
""is the unscoped.nameform). - SdkInfo - Class in codes.grow.packages.tempo.core
-
Package identity used in the
User-Agentheader. - search(SearchRequest) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Runs a TraceQL search:
GET /api/search?q=…&start&end&limit&spss(noqwithout a query). - searchAsync(SearchRequest) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.search(SearchRequest). - SearchRequest - Class in codes.grow.packages.tempo
-
Request of
TempoQueryClient.search(SearchRequest): a TraceQL query plus window and limits. - SearchRequest.Builder - Class in codes.grow.packages.tempo
-
Builder of
SearchRequest. - SearchResult - Record Class in codes.grow.packages.tempo
-
Result of
TempoQueryClient.search(SearchRequest). - SearchResult(List<SearchTrace>, Map<String, Long>) - Constructor for record class codes.grow.packages.tempo.SearchResult
-
Copies the collections.
- SearchSpan - Record Class in codes.grow.packages.tempo
-
One span of a search spanset.
- SearchSpan(String, Optional<String>, long, long, Map<String, Object>) - Constructor for record class codes.grow.packages.tempo.SearchSpan
-
Copies the attributes.
- searchTags(SearchTagsOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Tag names per scope:
GET /api/v2/search/tags→{resource: [...], span: [...], …}. - searchTagsAsync(SearchTagsOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.searchTags(SearchTagsOptions). - SearchTagsOptions - Class in codes.grow.packages.tempo
-
Options of
TempoQueryClient.searchTags(SearchTagsOptions). - SearchTagsOptions.Builder - Class in codes.grow.packages.tempo
-
Builder of
SearchTagsOptions. - searchTagValues(String) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
TempoQueryClient.searchTagValues(String, SearchTagValuesOptions)without filters. - searchTagValues(String, SearchTagValuesOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Values of one tag:
GET /api/v2/search/tag/{tag}/values. - searchTagValuesAsync(String, SearchTagValuesOptions) - Method in class codes.grow.packages.tempo.TempoQueryClient
- SearchTagValuesOptions - Class in codes.grow.packages.tempo
- SearchTagValuesOptions.Builder - Class in codes.grow.packages.tempo
-
Builder of
SearchTagValuesOptions. - SearchTrace - Record Class in codes.grow.packages.tempo
-
One trace found by
TempoQueryClient.search(SearchRequest). - SearchTrace(String, Optional<String>, Optional<String>, long, long, List<SpanSet>, Map<String, ServiceStats>) - Constructor for record class codes.grow.packages.tempo.SearchTrace
-
Copies the collections.
- searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
SPEC search: builds one TraceQL spanset (
resource.service.name,name, unscoped.tagfilters,trace:durationbounds in µs) and maps hits toTraceSummary(duration has millisecond precision). - searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.tempo.testing.tracing.InMemoryTraceQueryClient
- searchTraces(TraceSearchQuery) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Searches traces.
- searchTracesAsync(TraceSearchQuery) - Method in class codes.grow.packages.tempo.TempoQueryClient
- searchTracesAsync(TraceSearchQuery) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.searchTraces(codes.grow.packages.tempo.tracing.query.TraceSearchQuery); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - searchTracesTraceQL(TraceSearchQuery) - Static method in class codes.grow.packages.tempo.TempoQueryClient
-
The TraceQL query
TempoQueryClient.searchTraces(codes.grow.packages.tempo.tracing.query.TraceSearchQuery)sends for aTraceSearchQuery. - Secret - Class in codes.grow.packages.tempo.core
-
A credential held in a
char[]that never prints itself. - select(String...) - Method in class codes.grow.packages.tempo.TraceQL
-
Adds fields to
| select(…)so search returns them on each matched span. - selects() - Method in class codes.grow.packages.tempo.TraceQL
-
The selected fields.
- send(TransportRequest) - Method in class codes.grow.packages.tempo.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.tempo.tracing.TracedHttpClient
-
Sends synchronously in a client span.
- sendAsync(TransportRequest) - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Executes a request with retries asynchronously.
- sendAsync(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.tempo.tracing.TracedHttpClient
-
Sends asynchronously in a client span that ends when the response arrives.
- sendJson(TransportRequest) - Method in class codes.grow.packages.tempo.core.HttpTransport
-
Convenience: sends a request and decodes the JSON body.
- series() - Method in record class codes.grow.packages.tempo.MetricsResult
-
Returns the value of the
seriesrecord component. - SERVER - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"server". - serverVersion() - Method in class codes.grow.packages.tempo.TempoClient
-
Server version (
"3.1.1") from/api/status/buildinfo, falling back to the text of/status/version. - serverVersion() - Method in interface codes.grow.packages.tempo.testing.CoreTarget
-
Returns the server version.
- serverVersionAsync() - Method in class codes.grow.packages.tempo.TempoClient
-
Asynchronous
TempoClient.serverVersion(). - service() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Service filter.
- service(String) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the service filter.
- serviceName() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
serviceNamerecord component. - serviceName() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
service.name. - serviceName(String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets
service.name(defaultOTEL_SERVICE_NAME). - serviceName(String) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Sets
${serviceName}(the tracing service name the factory configured). - serviceName(String) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets the service name.
- serviceName(String) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets
service.name. - serviceStats() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
serviceStatsrecord component. - ServiceStats - Record Class in codes.grow.packages.tempo
-
Spans and errors of one service in a search hit.
- ServiceStats(int, int) - Constructor for record class codes.grow.packages.tempo.ServiceStats
-
Creates an instance of a
ServiceStatsrecord class. - serviceVersion() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
service.version. - serviceVersion(String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets
service.version. - serviceVersion(String) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets
service.version. - setError(Span, Throwable) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Records the exception and sets status ERROR on
span. - setError(String) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Sets status ERROR with a message on the current span.
- setError(Throwable) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Records the exception and sets status ERROR on the current span.
- setFailExports(boolean) - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
-
Makes every following export fail (or succeed again).
- setGlobal() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Whether
Tracing.initWith(codes.grow.packages.tempo.tracing.TracingConfig, codes.grow.packages.tempo.tracing.SpanExporterFactory)registers the SDK as the global OpenTelemetry. - setGlobal(boolean) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Whether to register the SDK as the global OpenTelemetry (default true).
- setGlobal(boolean) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Whether to register the SDK globally (default true).
- shutdown() - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
- shutdown() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Flushes and shuts the tracer provider down; idempotent.
- shutdownAsync() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Asynchronous
TracingHandle.shutdown(). - sibling(TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
structural("~", other): spans of other that are siblings. - since() - Method in class codes.grow.packages.tempo.MetricsRange
-
Relative window ending now.
- since(Duration) - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Sets a relative window ending now.
- since(Duration) - Static method in class codes.grow.packages.tempo.MetricsRange
-
A window ending now.
- SKIPPED - Enum constant in enum class codes.grow.packages.tempo.testing.ConformanceReport.Status
-
A required capability was not declared.
- sortSpans(List<Span>) - Static method in class codes.grow.packages.tempo.tracing.query.Traces
-
Sorts spans by
startMicros, thenspanId. - source(String, String...) - Method in class codes.grow.packages.tempo.core.EnvReader
-
Returns the name of the first variable that is set, for error messages.
- span() - Static method in class codes.grow.packages.tempo.TraceQL
-
An empty span-set filter (
{}, every span). - span() - Method in record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Returns the value of the
spanrecord component. - span(Map<String, ?>) - Static method in class codes.grow.packages.tempo.TraceQL
-
A span-set filter with one
field = valuecondition per entry, joined with&&. - Span - Record Class in codes.grow.packages.tempo.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.tempo.tracing.query.Span
-
Normalises ids, copies collections and checks the times.
- SPAN - Enum constant in enum class codes.grow.packages.tempo.TagScope
-
Span attributes (
span). - Span.Builder - Class in codes.grow.packages.tempo.tracing.query
- Span.Event - Record Class in codes.grow.packages.tempo.tracing.query
-
Span event.
- Span.Kind - Enum Class in codes.grow.packages.tempo.tracing.query
-
Span kind (wire values are lower case).
- Span.Link - Record Class in codes.grow.packages.tempo.tracing.query
-
Span link.
- Span.Status - Record Class in codes.grow.packages.tempo.tracing.query
-
Span status.
- Span.StatusCode - Enum Class in codes.grow.packages.tempo.tracing.query
-
Status code (wire values are lower case).
- spanCount() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Total spans of the trace (sum of
serviceStatsspan counts). - spanCount() - Method in record class codes.grow.packages.tempo.ServiceStats
-
Returns the value of the
spanCountrecord component. - spanCount() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
spanCountrecord component. - SpanDataConverter - Class in codes.grow.packages.tempo.testing.tracing
-
Converts OpenTelemetry SDK
SpanDatainto the normalized querySpan. - SpanExporterFactory - Interface in codes.grow.packages.tempo.tracing
-
Creates the span exporter for a
TracingConfig(seeOtlpExporters.factory()). - spanFromJson(JsonNode) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Parses a span from a Jackson tree.
- spanFromJson(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Parses a span.
- spanId() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns the value of the
spanIdrecord component. - spanId() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Returns the value of the
spanIdrecord component. - spanId() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
spanIdrecord component. - spanId(String) - Static method in class codes.grow.packages.tempo.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.tempo.tracing.query
-
A span with its children (see
Traces.buildTree(java.util.List<codes.grow.packages.tempo.tracing.query.Span>)). - SpanNode(Span, List<SpanNode>) - Constructor for record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Copies the children.
- SpanOptions - Class in codes.grow.packages.tempo.tracing
-
Options of
Spans.withSpan(java.lang.String, codes.grow.packages.tempo.tracing.ThrowingSupplier<T, E>): attributes, kind, links, tracer, parent context. - SpanOptions.Builder - Class in codes.grow.packages.tempo.tracing
-
Builder for
SpanOptions. - spans() - Method in record class codes.grow.packages.tempo.SpanSet
-
Returns the value of the
spansrecord component. - spans() - Method in class codes.grow.packages.tempo.testing.tracing.InMemorySpanExporter
-
Exported spans in export order.
- spans() - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Returns the value of the
spansrecord component. - Spans - Class in codes.grow.packages.tempo.tracing
-
Span helpers on top of the OpenTelemetry API.
- SpanSet - Record Class in codes.grow.packages.tempo
-
Spans of one trace that matched a search.
- SpanSet(List<SearchSpan>, int) - Constructor for record class codes.grow.packages.tempo.SpanSet
-
Copies the list.
- spanSets() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
spanSetsrecord component. - spansFromResourceSpans(JsonNode) - Static method in class codes.grow.packages.tempo.OtlpJson
-
Flattens OTLP
resourceSpans → scopeSpans → spans(v2trace.resourceSpans, v1batches) into model spans: ids base64 → hex, nanoseconds → microseconds, enums → model values,serviceNamefrom the resourceservice.name. - spansNamed(String) - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Spans with a given name.
- spss() - Method in class codes.grow.packages.tempo.SearchRequest
-
Maximum spans per spanset (Tempo default 3).
- spss(int) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the maximum spans returned per spanset (
matchedstill counts all). - sslContext() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Builds the SSL context for these options.
- start() - Method in class codes.grow.packages.tempo.GetTraceOptions
-
Window start.
- start() - Method in class codes.grow.packages.tempo.MetricsRange
-
Window start.
- start() - Method in class codes.grow.packages.tempo.SearchRequest
-
Window start.
- start() - Method in class codes.grow.packages.tempo.SearchTagsOptions
-
Window start.
- start() - Method in class codes.grow.packages.tempo.SearchTagValuesOptions
-
Window start.
- start() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Range start.
- start(String, SpanOptions) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Starts (but does not end or activate) a span with options.
- start(Instant) - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Sets the window start (epoch seconds).
- start(Instant) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the window start (sent as epoch seconds, rounded down).
- start(Instant) - Method in class codes.grow.packages.tempo.SearchTagsOptions.Builder
-
Sets the window start.
- start(Instant) - Method in class codes.grow.packages.tempo.SearchTagValuesOptions.Builder
-
Sets the window start.
- start(Instant) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Sets the range start.
- startMicros() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns the value of the
startMicrosrecord component. - startMicros() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
startMicrosrecord component. - startMicros() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
startMicrosrecord component. - startMicros() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
startMicrosrecord component. - status() - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
statusrecord component. - status() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the HTTP status.
- status() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
statusrecord component. - status(Span.StatusCode, String) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets the status.
- Status(Span.StatusCode, Optional<String>) - Constructor for record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Validates the status.
- step() - Method in class codes.grow.packages.tempo.MetricsRange
-
Step between samples (Tempo picks one when unset).
- step() - Method in record class codes.grow.packages.tempo.MetricsResult
-
Returns the value of the
steprecord component. - step() - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns the current step.
- step(Duration) - Method in class codes.grow.packages.tempo.MetricsRange.Builder
-
Sets the step between samples.
- Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.tempo.testing.Scenario.Step
-
Creates a step; the list is copied.
- StepContext - Class in codes.grow.packages.tempo.testing
-
Everything an
OpHandlerneeds for one step. - StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Creates an instance of a
StepResultrecord class. - steps() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
stepsrecord component. - steps() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns the value of the
stepsrecord component. - string(String, String...) - Method in class codes.grow.packages.tempo.core.EnvReader
-
Reads a string.
- stringify(Object) - Static method in class codes.grow.packages.tempo.core.Json
-
Encodes a value as a JSON string.
- structural(String, TraceQL) - Method in class codes.grow.packages.tempo.TraceQL
-
Joins another query's span sets with a span-set operator:
>(child),>>(descendant),<(parent),<<(ancestor),~(sibling),&&or||. - STRUCTURAL_OPERATORS - Static variable in class codes.grow.packages.tempo.TraceQL
-
Span-set operators accepted by
TraceQL.structural(String, TraceQL). - substitute(String) - Method in class codes.grow.packages.tempo.testing.StepContext
-
Substitutes
${name}variables in a string. - substitute(String, Map<String, String>) - Static method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Replaces
${name}placeholders; unknown names are kept as they are. - substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.tempo.testing.ConformanceRunner
-
Substitutes placeholders in every string (and object key) of a JSON tree.
- summarize(Trace) - Static method in class codes.grow.packages.tempo.tracing.query.Traces
-
Summarises a trace.
- summary() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns a multi-line summary listing every scenario.
- system() - Static method in class codes.grow.packages.tempo.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover the process environment.
T
- tag(String, String) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Adds a tag filter.
- tags() - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Tag (attribute) filters.
- tags(Map<String, String>) - Method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery.Builder
-
Adds tag filters.
- TagScope - Enum Class in codes.grow.packages.tempo
-
Attribute scope accepted by
TempoQueryClient.searchTags(SearchTagsOptions). - TagValue - Record Class in codes.grow.packages.tempo
-
One tag value from
TempoQueryClient.searchTagValues(String, SearchTagValuesOptions). - TagValue(String, String) - Constructor for record class codes.grow.packages.tempo.TagValue
-
Creates an instance of a
TagValuerecord class. - target() - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns the scenario target.
- target(Class<T>) - Method in class codes.grow.packages.tempo.testing.StepContext
-
Returns the target cast to a type.
- target(String, TargetFactory) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Sets the target factory of a category; categories without a target do not run.
- TargetFactory - Interface in codes.grow.packages.tempo.testing
-
Creates the object a scenario runs against (client, provider, log client, tracing handle).
- TempoClient - Class in codes.grow.packages.tempo
-
Client for Grafana Tempo's HTTP API (port 3200): health, ping, version and the query API through
TempoClient.query(). - TempoClient.Builder - Class in codes.grow.packages.tempo
-
Builder that configures and creates a client in one chain.
- TempoConfig - Class in codes.grow.packages.tempo
-
Immutable configuration of a
TempoClient(SPEC section 2.2). - TempoConfig.Builder - Class in codes.grow.packages.tempo
-
Builder of the configuration.
- TempoException - Exception Class in codes.grow.packages.tempo.core
-
Base class of every error raised by the Grafana Tempo SDK (SPEC section 2.1).
- TempoException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.TempoException
-
Creates an exception.
- TempoQueryClient - Class in codes.grow.packages.tempo
-
Client for Tempo's HTTP query API (port 3200).
- TempoQueryClient(TempoClient) - Constructor for class codes.grow.packages.tempo.TempoQueryClient
-
Wraps an existing client (not closed by
TempoQueryClient.close()). - TempoTracing - Class in codes.grow.packages.tempo
-
OpenTelemetry tracing that exports to Grafana Tempo over OTLP (SPEC section 5), built on the official OpenTelemetry Java SDK.
- TempoTracingConfig - Class in codes.grow.packages.tempo
-
Tempo tracing settings whose unset fields come from the environment, then Tempo defaults.
- TempoTracingConfig.Builder - Class in codes.grow.packages.tempo
-
Builder of
TempoTracingConfig; every field is optional. - TENANT_HEADER - Static variable in class codes.grow.packages.tempo.TempoConfig
-
Header that selects the tenant on a multi-tenant Tempo (query and OTLP ingest; gRPC metadata
x-scope-orgid). - tenantId() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the tenant sent as
X-Scope-OrgIDon every query call. - tenantId() - Method in class codes.grow.packages.tempo.TempoTracingConfig
-
The explicit tenant.
- tenantId(String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the tenant sent as
X-Scope-OrgID. - tenantId(String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the tenant sent as
X-Scope-OrgIDon every query call. - tenantId(String) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the tenant sent as
X-Scope-OrgID(gRPC metadatax-scope-orgid); an empty string removes the header. - text() - Method in class codes.grow.packages.tempo.core.TransportResponse
-
Returns the body decoded as UTF-8.
- ThrowingRunnable<E> - Interface in codes.grow.packages.tempo.tracing
-
A runnable that may throw.
- ThrowingSupplier<T,
E> - Interface in codes.grow.packages.tempo.tracing -
A supplier that may throw.
- timeMicros() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Returns the value of the
timeMicrosrecord component. - timeout() - Method in class codes.grow.packages.tempo.core.TransportRequest
-
Returns the per-attempt timeout override.
- timeout() - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns the value of the
timeoutrecord component. - timeout(Duration) - Method in class codes.grow.packages.tempo.core.TransportRequest.Builder
-
Overrides the per-attempt timeout for this call.
- TIMEOUT - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
Connect, request or total deadline exceeded, HTTP 408 or 504.
- TimeoutException - Exception Class in codes.grow.packages.tempo.core
-
A connect, request or total deadline was exceeded (or HTTP 408, 504).
- TimeoutException(String) - Constructor for exception class codes.grow.packages.tempo.core.TimeoutException
-
Creates the exception.
- TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.TimeoutException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.TimeoutException
-
Creates the exception with response details.
- TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.TimeoutException
-
Creates the exception with a cause.
- times(long, long) - Method in class codes.grow.packages.tempo.tracing.query.Span.Builder
-
Sets start and end.
- timestamp(long) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Formats epoch microseconds as RFC 3339 UTC.
- timestampMs() - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Returns the value of the
timestampMsrecord component. - timestampMs() - Method in record class codes.grow.packages.tempo.MetricSample
-
Returns the value of the
timestampMsrecord component. - tls() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
TLS settings of the exporter.
- tls(TlsOptions) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the TLS options; environment TLS variables are then ignored.
- tls(TlsOptions) - Method in class codes.grow.packages.tempo.TempoTracingConfig.Builder
-
Sets the exporter TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.tempo.tracing.TracingConfig.Builder
-
Sets the exporter TLS options.
- TlsOptions - Class in codes.grow.packages.tempo.core
-
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify. - TlsOptions.Builder - Class in codes.grow.packages.tempo.core
-
Builder for
TlsOptions. - toBuilder() - Method in class codes.grow.packages.tempo.core.RetryPolicy
-
Returns a builder initialised from this policy.
- toBuilder() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Returns a builder initialised from these options.
- toBuilder() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Returns a builder with these values.
- toJson(Span) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Serialises a span.
- toJson(Trace) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Serialises a trace.
- token() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the bearer token for an authenticating reverse proxy (Tempo itself has no auth).
- token(Secret) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets a bearer token for an authenticating reverse proxy.
- token(Secret) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets a bearer token sent as
Authorization: Bearer <token>; only useful behind an authenticating reverse proxy (Tempo itself has no authentication). - token(String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets a bearer token for an authenticating reverse proxy.
- token(String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets a bearer token for an authenticating reverse proxy.
- toMap(Span) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Wire form of a span.
- toMap(Trace) - Static method in class codes.grow.packages.tempo.tracing.query.TraceJson
-
Wire form of a trace.
- toMicros(Instant) - Static method in class codes.grow.packages.tempo.tracing.query.TraceSearchQuery
-
Converts an instant to epoch microseconds.
- toSpan(SpanData) - Static method in class codes.grow.packages.tempo.testing.tracing.SpanDataConverter
-
Converts one span.
- toString() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.core.HealthStatus
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.tempo.core.RetryPolicy
- toString() - Method in class codes.grow.packages.tempo.core.Secret
-
Always "[REDACTED]".
- toString() - Method in class codes.grow.packages.tempo.core.TlsOptions
- toString() - Method in class codes.grow.packages.tempo.core.TransportResponse
- toString() - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.MetricSample
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.MetricSeries
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.MetricsResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.SearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.SearchSpan
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.ServiceStats
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.SpanSet
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.TagValue
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.tempo.TempoClient
- toString() - Method in class codes.grow.packages.tempo.TempoConfig
- toString() - Method in class codes.grow.packages.tempo.TempoQueryClient
- toString() - Method in class codes.grow.packages.tempo.TempoTracingConfig
- toString() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.ScenarioResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport.StepResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.testing.Scenario.Step
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.testing.Scenario
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.tempo.TraceQL
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.DependencyLink
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Event
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.SpanNode
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.tempo.tracing.TracingConfig.BatchSettings
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.tempo.tracing.TracingConfig
-
Header values are redacted when the header name is sensitive.
- totalTimeout() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the budget of a whole call including retries and backoff.
- totalTimeout() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the total timeout per call including retries.
- totalTimeout(Duration) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the total budget per call.
- totalTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the total timeout.
- totalTimeout(Duration) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the total timeout per call including retries (default 120 s).
- toTransportConfig() - Method in class codes.grow.packages.tempo.TempoConfig
-
Translates the common fields into transport settings.
- Trace - Record Class in codes.grow.packages.tempo.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.tempo.tracing.query.Trace
-
Normalises the id and sorts the spans.
- Traced - Class in codes.grow.packages.tempo.tracing
-
Tracing of plain functions:
Traced.run(String, Callable)and theTraced.Methodannotation honoured byTracedProxy. - Traced.Method - Annotation Interface in codes.grow.packages.tempo.tracing
-
Marks an interface method (or its implementation) to run in a span when called through a
TracedProxy. - TracedHttpClient - Class in codes.grow.packages.tempo.tracing
-
Wraps a
HttpClient: every request runs in a client span and carries the propagation headers. - TracedProxy - Class in codes.grow.packages.tempo.tracing
-
Proxy-based interceptor that runs methods annotated withTraced.Method(on the interface or on the implementation) in a span. - traceFields() - Static method in class codes.grow.packages.tempo.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.tempo.tracing.query.TraceJson
-
Parses a trace.
- traceId() - Method in record class codes.grow.packages.tempo.SearchTrace
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.tempo.tracing.query.Span.Link
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.tempo.tracing.query.Span
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.tempo.tracing.query.Trace
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.tempo.tracing.query.TraceSummary
-
Returns the value of the
traceIdrecord component. - traceId(String) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
Normalises a trace id of the query model:
TraceIds.normalizeTraceId(java.lang.String)by default,TraceIds.normalizeTraceIdOrNative(java.lang.String)when native ids are accepted (TraceIds.nativeIdsAccepted()). - TRACEIDRATIO - Enum constant in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Sample a ratio of trace ids.
- TraceIds - Class in codes.grow.packages.tempo.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.tempo.tracing.query
- traceql() - Method in class codes.grow.packages.tempo.SearchRequest
-
TraceQL query, trimmed.
- traceql(TraceQL) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the TraceQL query from a builder.
- traceql(String) - Method in class codes.grow.packages.tempo.SearchRequest.Builder
-
Sets the TraceQL query text.
- TraceQL - Class in codes.grow.packages.tempo
-
Immutable TraceQL query builder with escaping.
- traceQLMetrics(TraceQL, MetricsRange) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
TempoQueryClient.traceQLMetrics(String, MetricsRange)with a builder query. - traceQLMetrics(String, MetricsRange) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
TraceQL metrics over a range:
GET /api/metrics/query_range(for example{ resource.service.name = "api" } | rate()). - traceQLMetricsAsync(String, MetricsRange) - Method in class codes.grow.packages.tempo.TempoQueryClient
-
Asynchronous
TempoQueryClient.traceQLMetrics(String, MetricsRange). - TraceQueryClient - Interface in codes.grow.packages.tempo.tracing.query
-
Reads traces back from the service.
- tracer() - Method in class codes.grow.packages.tempo.tracing.SpanOptions
-
Tracer to use.
- tracer() - Static method in class codes.grow.packages.tempo.tracing.Spans
-
The tracer the helpers use by default.
- tracer(Tracer) - Method in class codes.grow.packages.tempo.tracing.SpanOptions.Builder
-
Sets the tracer.
- tracer(String) - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Returns a tracer.
- tracer(String, String) - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
Returns a tracer with a scope version.
- tracerProvider() - Method in class codes.grow.packages.tempo.tracing.TracingHandle
-
The tracer provider.
- traces() - Method in record class codes.grow.packages.tempo.SearchResult
-
Returns the value of the
tracesrecord component. - Traces - Class in codes.grow.packages.tempo.tracing.query
-
Span ordering and tree helpers.
- TraceSearchQuery - Class in codes.grow.packages.tempo.tracing.query
-
Filter of
TraceQueryClient.searchTraces(codes.grow.packages.tempo.tracing.query.TraceSearchQuery)(limit defaults to 20). - TraceSearchQuery.Builder - Class in codes.grow.packages.tempo.tracing.query
-
Builder for
TraceSearchQuery. - TraceSummary - Record Class in codes.grow.packages.tempo.tracing.query
-
Search result entry.
- TraceSummary(String, String, String, long, long, int) - Constructor for record class codes.grow.packages.tempo.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.tempo.tracing.query.TraceSummary
-
Normalises the id and optionals.
- Tracing - Class in codes.grow.packages.tempo.tracing
-
Sets up the OpenTelemetry SDK from a
TracingConfig. - TracingConfig - Class in codes.grow.packages.tempo.tracing
-
Immutable tracing setup used by
Tracing.initWith(codes.grow.packages.tempo.tracing.TracingConfig, codes.grow.packages.tempo.tracing.SpanExporterFactory). - TracingConfig.BatchSettings - Record Class in codes.grow.packages.tempo.tracing
-
Span batch processor settings.
- TracingConfig.Builder - Class in codes.grow.packages.tempo.tracing
-
Builder for
TracingConfig. - TracingConfig.Compression - Enum Class in codes.grow.packages.tempo.tracing
-
Export body compression.
- TracingConfig.Protocol - Enum Class in codes.grow.packages.tempo.tracing
-
Export protocol.
- TracingConfig.SamplerType - Enum Class in codes.grow.packages.tempo.tracing
-
Sampler (OpenTelemetry
OTEL_TRACES_SAMPLERnames). - TracingFilter - Class in codes.grow.packages.tempo.tracing
-
Jakarta Servlet filter that continues the caller's trace (W3C/B3 headers per the configured propagators) and records one server span per request (Servlet API is a
provideddependency). - TracingFilter() - Constructor for class codes.grow.packages.tempo.tracing.TracingFilter
-
Uses the helpers' tracer and propagators (
Tracing.openTelemetry()). - TracingFilter(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.tempo.tracing.TracingFilter
-
Uses an explicit tracer and propagators.
- TracingHandle - Class in codes.grow.packages.tempo.tracing
-
Running tracing setup returned by
Tracing.initWith(codes.grow.packages.tempo.tracing.TracingConfig, codes.grow.packages.tempo.tracing.SpanExporterFactory). - TracingHandle(OpenTelemetrySdk, TracingConfig) - Constructor for class codes.grow.packages.tempo.tracing.TracingHandle
-
Wraps an OpenTelemetry SDK a service package built itself.
- TracingInterceptor - Class in codes.grow.packages.tempo.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.tempo.tracing.TracingInterceptor
-
Uses the helpers' tracer and propagators.
- TracingInterceptor(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.tempo.tracing.TracingInterceptor
-
Uses an explicit tracer and propagators.
- TracingOps - Class in codes.grow.packages.tempo.testing.tracing
-
Conformance operations of the
tracingcategory:span,flush,getTraceUntil,listServices. - TracingOps() - Constructor for class codes.grow.packages.tempo.testing.tracing.TracingOps
-
Creates the operations.
- TracingTarget - Record Class in codes.grow.packages.tempo.testing.tracing
-
Target of the
tracingconformance scenarios. - TracingTarget(TracingHandle, Optional<TraceQueryClient>) - Constructor for record class codes.grow.packages.tempo.testing.tracing.TracingTarget
-
Validates the target.
- transport() - Method in class codes.grow.packages.tempo.TempoClient
-
Returns the HTTP transport, for service modules built on this client.
- TransportConfig - Class in codes.grow.packages.tempo.core
-
Settings of one
HttpTransport. - TransportConfig.Builder - Class in codes.grow.packages.tempo.core
-
Builder for
TransportConfig. - TransportRequest - Class in codes.grow.packages.tempo.core
-
One logical HTTP call executed by
HttpTransport(with retries). - TransportRequest.Builder - Class in codes.grow.packages.tempo.core
-
Builder for
TransportRequest. - TransportResponse - Class in codes.grow.packages.tempo.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.tempo.core.TransportResponse
-
Creates a response (used by the transport and by tests).
- tree() - Method in class codes.grow.packages.tempo.testing.OpResult
-
Returns the tree view.
- tree(byte[]) - Static method in class codes.grow.packages.tempo.core.Json
-
Parses JSON bytes into a tree.
- truncate(String, int) - Static method in class codes.grow.packages.tempo.core.Redaction
-
Truncates text to
maxcharacters, appending an ellipsis when cut. - type() - Method in record class codes.grow.packages.tempo.TagValue
-
Returns the value of the
typerecord component.
U
- UNAVAILABLE - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
Network error or HTTP 500, 502, 503.
- UnavailableException - Exception Class in codes.grow.packages.tempo.core
-
Network error or HTTP 500, 502, 503.
- UnavailableException(String) - Constructor for exception class codes.grow.packages.tempo.core.UnavailableException
-
Creates the exception.
- UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnavailableException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnavailableException
-
Creates the exception with response details.
- UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnavailableException
-
Creates the exception with a cause.
- unreachable(String) - Static method in record class codes.grow.packages.tempo.core.HealthStatus
-
The status for a service that could not be reached.
- UNSET - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.StatusCode
-
"unset". - UNSET - Static variable in record class codes.grow.packages.tempo.tracing.query.Span.Status
-
Unset status.
- UNSPECIFIED - Enum constant in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
"unspecified". - UNSUPPORTED - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
A capability the service or deployment does not offer (HTTP 501).
- UnsupportedException - Exception Class in codes.grow.packages.tempo.core
-
The service or deployment does not offer this capability (HTTP 501).
- UnsupportedException(String) - Constructor for exception class codes.grow.packages.tempo.core.UnsupportedException
-
Creates the exception.
- UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnsupportedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnsupportedException
-
Creates the exception with response details.
- UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.UnsupportedException
-
Creates the exception with a cause.
- until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.tempo.core.Poll
-
Calls
attempteveryintervaluntil it returns a value ortimeoutpasses. - untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.tempo.core.Poll
-
Asynchronous variant of
Poll.until(java.lang.String, java.time.Duration, java.time.Duration, java.util.concurrent.Callable<java.util.Optional<T>>): no thread blocks between attempts. - url() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.tempo.core.Hooks.RequestInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.tempo.core.Hooks.ResponseInfo
-
Returns the value of the
urlrecord component. - url() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the endpoint base URL.
- url(String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the endpoint base URL.
- url(String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the endpoint base URL.
- userAgent() - Static method in class codes.grow.packages.tempo.core.SdkInfo
-
Returns the standard user agent:
grow-codes-<key>/<version> (java). - userAgent() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the full
User-Agentheader value. - userAgentSuffix() - Method in class codes.grow.packages.tempo.core.TransportConfig
-
Returns the user agent suffix.
- userAgentSuffix() - Method in class codes.grow.packages.tempo.TempoConfig
-
Returns the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.tempo.core.TransportConfig.Builder
-
Sets the text appended to the standard user agent.
- userAgentSuffix(String) - Method in class codes.grow.packages.tempo.TempoClient.Builder
-
Sets the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.tempo.TempoConfig.Builder
-
Sets the text appended to the
User-Agent.
V
- validate() - Method in class codes.grow.packages.tempo.core.TlsOptions
-
Checks that certificate and key come together.
- validate() - Method in class codes.grow.packages.tempo.TempoConfig
-
Checks URL scheme, positive timeouts, retry limits and TLS pairs.
- validateTenantId(String) - Static method in class codes.grow.packages.tempo.TempoConfig
-
Checks a Tempo tenant id: per tenant 1-150 characters of letters, digits and
!-_.*'()(not.or..);|joins tenants of a federated query. - VALIDATION - Enum constant in enum class codes.grow.packages.tempo.core.ErrorCode
-
HTTP 400, 413, 422, other 4xx or bad input caught client side.
- ValidationException - Exception Class in codes.grow.packages.tempo.core
-
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
- ValidationException(String) - Constructor for exception class codes.grow.packages.tempo.core.ValidationException
-
Creates the exception.
- ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ValidationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ValidationException
-
Creates the exception with response details.
- ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.tempo.core.ValidationException
-
Creates the exception with a cause.
- value() - Method in record class codes.grow.packages.tempo.MetricExemplar
-
Returns the value of the
valuerecord component. - value() - Method in record class codes.grow.packages.tempo.MetricSample
-
Returns the value of the
valuerecord component. - value() - Method in record class codes.grow.packages.tempo.TagValue
-
Returns the value of the
valuerecord component. - value() - Method in class codes.grow.packages.tempo.testing.OpResult
-
Returns the wrapped value.
- value() - Element in annotation interface codes.grow.packages.tempo.tracing.Traced.Method
-
Span name; empty means
<SimpleInterfaceName>.<method>. - value(String, Object) - Static method in class codes.grow.packages.tempo.TraceQL
-
Renders a value for a field already rendered by
TraceQL.field(String). - valueOf(String) - Static method in enum class codes.grow.packages.tempo.core.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.tempo.TagScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.tempo.testing.ConformanceReport.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.tempo.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.tempo.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.tempo.tracing.TracingConfig.Compression
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.tempo.tracing.TracingConfig.Protocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class codes.grow.packages.tempo.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.tempo.TagScope
-
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.tempo.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.tempo.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.tempo.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.tempo.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.tempo.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.tempo.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.tempo.testing.StepContext
-
Returns a variable (
run,prefix,serviceNameor a saved name). - variable(String, String) - Method in class codes.grow.packages.tempo.testing.ConformanceRunner.Builder
-
Sets an extra variable, e.g.
- version() - Method in record class codes.grow.packages.tempo.BuildInfo
-
Returns the value of the
versionrecord component. - VERSION - Static variable in class codes.grow.packages.tempo.core.SdkInfo
-
Package version (from the Maven build).
- view(Object) - Static method in class codes.grow.packages.tempo.testing.Expectations
-
Returns the JSON view of a value used by
equals,contains,typeandsorted.
W
- waitForTrace(String) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
TraceQueryClient.waitForTrace(String, WaitForTraceOptions)with defaults. - waitForTrace(String, WaitForTraceOptions) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Polls
TraceQueryClient.getTrace(java.lang.String)until the trace has at leastminSpansspans. - waitForTraceAsync(String, WaitForTraceOptions) - Method in interface codes.grow.packages.tempo.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.waitForTrace(String, WaitForTraceOptions); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - WaitForTraceOptions - Record Class in codes.grow.packages.tempo.tracing.query
- WaitForTraceOptions(Duration, Duration, int) - Constructor for record class codes.grow.packages.tempo.tracing.query.WaitForTraceOptions
-
Fills defaults for
nulldurations. - warn(String) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at warn level without fields.
- warn(String, Map<String, Object>) - Method in interface codes.grow.packages.tempo.core.Logger
-
Logs at warn level.
- where(String, String, Object) - Static method in class codes.grow.packages.tempo.TraceQL
-
A span-set filter with one condition:
{ field op value }. - willRetry() - Method in record class codes.grow.packages.tempo.core.Hooks.ErrorInfo
-
Returns the value of the
willRetryrecord component. - wireValue() - Method in enum class codes.grow.packages.tempo.core.ErrorCode
-
Returns the wire value used in conformance scenarios and JSON.
- wireValue() - Method in enum class codes.grow.packages.tempo.TagScope
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.tempo.tracing.query.Span.Kind
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.tempo.tracing.query.Span.StatusCode
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.tempo.tracing.TracingConfig.Compression
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.tempo.tracing.TracingConfig.Protocol
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.tempo.tracing.TracingConfig.SamplerType
-
Wire value.
- with(ConformanceReport.Status) - Method in record class codes.grow.packages.tempo.testing.ConformanceReport
-
Returns the scenarios with a status.
- withCount(int) - Method in class codes.grow.packages.tempo.testing.OpResult
-
Returns a copy with an explicit count (e.g. the number of spans of a trace).
- withDefaults(TracingConfig) - Static method in class codes.grow.packages.tempo.TempoTracing
-
Applies the Tempo defaults:
native→http/protobuf, unset endpoint →http://127.0.0.1:4318(:4317for gRPC), gRPC header names lower-cased. - withNativeIds(boolean, Supplier<T>) - Static method in class codes.grow.packages.tempo.tracing.query.TraceIds
-
Runs
bodywith native ids accepted (or not) on the current thread only; the previous policy is restored when the body returns or throws. - withSpan(String, SpanOptions, ThrowingRunnable<E>) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Runs
fnin a new span with options. - withSpan(String, SpanOptions, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Runs
fnin a new span with options. - withSpan(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Runs
fnin a new internal span. - withSpan(String, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.tempo.tracing.Spans
-
Runs
fnin a new internal span that is current while it runs. - withTenant(TracingConfig, String) - Static method in class codes.grow.packages.tempo.TempoTracing
-
Returns a copy of
configthat sendstenantIdasX-Scope-OrgIDwith every export. - withTree(Map<String, List<String>>) - Method in class codes.grow.packages.tempo.testing.OpResult
-
Returns a copy with a parent-name to child-names view (span trees).
- wrap(HttpClient) - Static method in class codes.grow.packages.tempo.tracing.TracedHttpClient
-
Wraps a client using the helpers' tracer and propagators.
- wrap(HttpClient, Tracer, ContextPropagators) - Static method in class codes.grow.packages.tempo.tracing.TracedHttpClient
-
Wraps a client with an explicit tracer and propagators.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form