Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptAnyStatus() - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Returns every status to the caller (health probes); no status is retried.
- accepted() - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Returns the value of the
acceptedrecord component. - acceptNativeIds(boolean) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.core.TransportRequest.Builder
-
Returns these statuses to the caller instead of raising an error (no retries for them).
- add(LogRecord) - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Queues a record.
- addEvent(String) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Adds an event to the current span.
- addEvent(String, Map<String, ?>) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Adds an event with attributes to the current span.
- addKeys(String...) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor.Builder
-
Adds key fragments to the current list.
- ALIAS_ENV_PREFIX - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Alias prefix accepted after
EnvReader.DEFAULT_PREFIX(ticket wording). - ALWAYS_OFF - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Sample nothing.
- ALWAYS_ON - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Sample everything.
- append(ILoggingEvent) - Method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
- append(LogEvent) - Method in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
- applyTls(TlsOptions, BiConsumer<SSLContext, X509TrustManager>, Consumer<byte[]>, BiConsumer<byte[], byte[]>) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Applies
TlsOptionsto an OpenTelemetry exporter builder: trusted CA certificates, client certificate and key, or a trust-all context forinsecureSkipVerify(tests only). - arg(String) - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns a required string argument.
- args() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns the value of the
argsrecord component. - args() - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns the arguments with
${...}variables substituted (#{i}is kept). - ASC - Enum constant in enum class codes.grow.packages.otelcollector.logging.SortOrder
-
Oldest first (
"asc"). - asSdkException(Throwable, String) - Static method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Converts any throwable from a future into the matching SDK exception.
- assertPassed() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Throws when any scenario failed.
- attempt() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
attemptrecord component. - attempts() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the number of attempts the call needed.
- attribute(String, Object) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Adds an attribute.
- attribute(String, Object) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Adds one attribute.
- attribute(String, Object) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Adds one attribute.
- attribute(String, Object) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Adds one attribute.
- attributes() - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Fixed attributes (including
logger.name). - attributes() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Attributes.
- attributes() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Attributes.
- attributes() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Returns the value of the
attributesrecord component. - attributes() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Attributes set at span start.
- attributes(Attributes) - Static method in class codes.grow.packages.otelcollector.testing.tracing.SpanDataConverter
-
Converts OpenTelemetry attributes into attribute values (arrays become lists).
- attributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Replaces the attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Replaces all attributes.
- attributes(Map<String, ?>) - Static method in class codes.grow.packages.otelcollector.OtelValues
-
Converts an attribute map.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Adds attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Adds attributes.
- AttrValues - Class in codes.grow.packages.otelcollector.logging
-
Normalises attribute values (
AttrValue) into the kinds the SDK accepts. - AUTHENTICATION - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
HTTP 401: missing or invalid credentials.
- AuthenticationException - Exception Class in codes.grow.packages.otelcollector.core
-
Missing or invalid credentials (HTTP 401).
- AuthenticationException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.AuthenticationException
-
Creates the exception.
- AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.AuthenticationException
-
Creates the exception with response details.
- AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.AuthenticationException
-
Creates the exception with a cause.
- await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.RetryPolicy
-
Computes the full-jitter backoff for retry
n. - backoffCap(int) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the upper bound of the jitter window for retry
n. - baseUrl() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the base URL.
- batch() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Batch processor settings.
- batch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the batch processor settings.
- BatchingLogClient - Class in codes.grow.packages.otelcollector.logging
- BatchingLogClient.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
BatchingLogClient. - batchOptions() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the
batchOptionsobject of a logging scenario. - batchOptions(BatchOptions) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient.Builder
-
Sets the batch options.
- batchOptions(Scenario, BatchOptions) - Static method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Applies a scenario's
batchOptions(maxQueueSize,maxBatchSize,maxBatchBytes,flushIntervalMs,exportTimeoutMs,dropPolicy,gzip) on top ofbase; factories call this when building the client. - BatchOptions - Class in codes.grow.packages.otelcollector.logging
-
Options of a
BatchProcessor. - BatchOptions.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
BatchOptions. - BatchProcessor - Class in codes.grow.packages.otelcollector.logging
-
Queues log records and exports them in batches from one background thread (a single-threaded
ScheduledExecutorService). - BatchProcessor(LogExporter) - Constructor for class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Creates a processor with default options.
- BatchProcessor(LogExporter, BatchOptions) - Constructor for class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Creates a processor and starts its worker thread.
- BatchSettings(int, int, Duration, Duration) - Constructor for record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Creates an instance of a
BatchSettingsrecord class. - batchSizes() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Sizes of all export calls.
- BatchStats - Record Class in codes.grow.packages.otelcollector.logging
-
Counters of a
BatchProcessor. - BatchStats(long, long, long, long, long) - Constructor for record class codes.grow.packages.otelcollector.logging.BatchStats
-
Creates an instance of a
BatchStatsrecord class. - BLOCK - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropPolicy
-
Block the caller until there is room (
"block"); never drops for a full queue (an interrupted caller drops its record withDropReason.QUEUE_FULL). - body() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Message; structured bodies are JSON-encoded strings.
- body(byte[], String) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Sets a raw body.
- body(String) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the message.
- bool(String, String...) - Method in class codes.grow.packages.otelcollector.core.EnvReader
-
Reads a boolean (
true/false/1/0/yes/no/on/off, case-insensitive). - boundaries() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns the value of the
boundariesrecord component. - boundaries(Double...) - Static method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Histogram options with explicit bucket boundaries.
- build() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Validates and builds the policy.
- build() - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Builds the configuration.
- build() - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Builds the request.
- build() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient.Builder
-
Builds the client and starts its worker thread.
- build() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Validates and builds the options.
- build() - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Builds the input.
- build() - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Builds the record.
- build() - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor.Builder
-
Builds the processor.
- build() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Builds the configuration and the client.
- build() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Builds and validates the configuration.
- build() - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Builds the runner.
- build() - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Builds the span.
- build() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Builds the query.
- build() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Validates and builds.
- builder() - Static method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Starts a builder with the defaults.
- builder() - Static method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Returns a new builder.
- builder() - Static method in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Starts a client builder.
- builder() - Static method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Starts an empty builder (every field at its default).
- builder() - Static method in class codes.grow.packages.otelcollector.TelemetryOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Starts a builder with
CoreOpsand the built-in category operations registered. - builder() - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Returns a builder.
- builder(LogExporter) - Static method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
-
Returns a builder.
- builder(String) - Static method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Starts a builder with the SPEC defaults.
- builder(String) - Static method in class codes.grow.packages.otelcollector.logging.LogInput
-
Returns a builder for
message. - builder(String) - Static method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Returns a builder.
- builder(String, String) - Static method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Starts a request.
- builder(String, String, String) - Static method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns a builder.
- buildTree(List<Span>) - Static method in class codes.grow.packages.otelcollector.tracing.query.Traces
-
Builds the span tree.
- byteSize(LogRecord) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Returns the UTF-8 size of the record's JSON form (the unit of
maxBatchBytes).
C
- caCertPath() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns the CA bundle path.
- caCertPath(Path) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Trusts the CA certificates in a PEM file instead of the system trust store.
- caCertPem() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns the inline CA bundle.
- caCertPem(String) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Trusts the CA certificates in inline PEM text.
- callCount() - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Returns the value of the
callCountrecord component. - CANCELLED - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
The caller cancelled the operation.
- CancelledException - Exception Class in codes.grow.packages.otelcollector.core
-
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
- CancelledException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.CancelledException
-
Creates the exception.
- CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.CancelledException
-
Creates the exception with response details.
- CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.CancelledException
-
Creates the exception with a cause.
- capabilities(String...) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Declares capabilities of the target (
write,delete,versions,query,version, ...). - category() - Method in interface codes.grow.packages.otelcollector.testing.ConformanceOps
-
Returns the category these operations serve.
- category() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.otelcollector.testing.CoreOps
- category() - Method in class codes.grow.packages.otelcollector.testing.logging.LoggingOps
- category() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.otelcollector.testing.tracing.TracingOps
- check(HttpTransport, String) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.testing.Expectations
-
Checks a step outcome.
- checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.otelcollector.core.HealthCheck
-
Asynchronous variant of
HealthCheck.check(codes.grow.packages.otelcollector.core.HttpTransport, java.lang.String). - child() - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Returns the value of the
childrecord component. - child(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Returns a logger with more fixed attributes (they win over the parent's).
- children() - Method in record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Returns the value of the
childrenrecord component. - clear() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Overwrites the characters with zeros; later
Secret.reveal()calls throw. - client() - Method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Returns the value of the
clientrecord component. - CLIENT - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"client". - clientCertPath() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns the client certificate path.
- clientCertPath(Path) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Sets the client certificate file (mutual TLS); requires a key.
- clientCertPem(String) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Sets the client certificate as inline PEM.
- clientKeyPath() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns the client key path.
- clientKeyPath(Path) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Sets the client key file (unencrypted PKCS#8 PEM).
- clientKeyPem(Secret) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Sets the client key as inline PEM.
- clock() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the clock used for
Retry-Afterdates. - clock(Clock) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the clock (tests).
- clock(Clock) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient.Builder
-
Sets the clock used for default timestamps (tests).
- close() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Releases connections.
- close() - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Cancels pending calls and releases the client.
- close() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- close() - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Same as
BatchProcessor.shutdown(). - close() - Method in class codes.grow.packages.otelcollector.logging.GrowJulHandler
- close() - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Flushes and shuts down; idempotent.
- close() - Method in interface codes.grow.packages.otelcollector.logging.TailHandle
-
Same as
TailHandle.stop(). - close() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Flushes and shuts down every handle, log client and exporter this client created (newest first), then releases connections.
- close() - Method in class codes.grow.packages.otelcollector.RuntimeMetrics
-
Stops the observation.
- close() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Same as
TelemetryHandle.shutdown(). - close() - Method in interface codes.grow.packages.otelcollector.testing.CoreTarget
-
Releases the target; idempotent.
- close() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Same as
TracingHandle.shutdown(). - closeAsync() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- closeAsync() - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Asynchronous
LogClient.close(). - code() - Method in exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Returns the canonical error code.
- code() - Method in record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Returns the value of the
coderecord component. - code() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Returns the value of the
coderecord component. - codeForGrpcStatus(int) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Maps a gRPC status code to an SDK
ErrorCode. - codes.grow.packages.otelcollector - package codes.grow.packages.otelcollector
-
Grow Codes SDK for OpenTelemetry Collector.
- codes.grow.packages.otelcollector.core - package codes.grow.packages.otelcollector.core
- codes.grow.packages.otelcollector.logging - package codes.grow.packages.otelcollector.logging
- codes.grow.packages.otelcollector.testing - package codes.grow.packages.otelcollector.testing
- codes.grow.packages.otelcollector.testing.logging - package codes.grow.packages.otelcollector.testing.logging
- codes.grow.packages.otelcollector.testing.tracing - package codes.grow.packages.otelcollector.testing.tracing
- codes.grow.packages.otelcollector.tracing - package codes.grow.packages.otelcollector.tracing
- codes.grow.packages.otelcollector.tracing.query - package codes.grow.packages.otelcollector.tracing.query
- collectorHealth() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Returns the health client (closed with this client).
- CollectorHealthClient - Class in codes.grow.packages.otelcollector
-
Health of an OpenTelemetry Collector:
GET {healthUrl}(health_checkextension, port 13133) and, when that endpoint is unreachable (stock Grow stacks bind it to localhost),GET {zpagesUrl}/debug/servicez(port 55679). - CollectorLogQueryClient - Class in codes.grow.packages.otelcollector
-
LogQueryClientof the collector: the collector stores nothing and has no query API, so every method throwsUnsupportedException. - CollectorLogQueryClient() - Constructor for class codes.grow.packages.otelcollector.CollectorLogQueryClient
-
Creates the client.
- CollectorTraceQueryClient - Class in codes.grow.packages.otelcollector
-
TraceQueryClientof the collector: the collector stores nothing and has no query API, so every method throwsUnsupportedException. - CollectorTraceQueryClient() - Constructor for class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Creates the client.
- compression() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the export compression.
- compression() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Export compression.
- compression(TracingConfig.Compression) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the export compression (default gzip).
- compression(TracingConfig.Compression) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the export compression.
- compressionExplicit() - Method in class codes.grow.packages.otelcollector.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.otelcollector.CollectorHealthClient
-
Returns the configuration.
- config() - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Returns the configuration.
- config() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Returns the configuration.
- config() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the collector config in use.
- config() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
The config this handle was created from.
- CONFIG - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Invalid or missing configuration.
- ConfigException - Exception Class in codes.grow.packages.otelcollector.core
-
Invalid or missing configuration.
- ConfigException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.ConfigException
-
Creates the exception.
- ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.ConfigException
-
Creates the exception with response details.
- ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.ConfigException
-
Creates the exception with a cause.
- CONFLICT - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
HTTP 409, 412 or a check-and-set mismatch.
- ConflictException - Exception Class in codes.grow.packages.otelcollector.core
-
Conflicting write or check-and-set mismatch (HTTP 409, 412).
- ConflictException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.ConflictException
-
Creates the exception.
- ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.ConflictException
-
Creates the exception with response details.
- ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.ConflictException
-
Creates the exception with a cause.
- ConformanceOps - Interface in codes.grow.packages.otelcollector.testing
-
The operations of one scenario category (
core,secrets,logging,tracing) for theConformanceRunner. - ConformanceReport - Record Class in codes.grow.packages.otelcollector.testing
-
Results of a conformance run.
- ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Creates a report; the list is copied.
- ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.otelcollector.testing
-
Result of one scenario.
- ConformanceReport.Status - Enum Class in codes.grow.packages.otelcollector.testing
-
Outcome of a scenario or step.
- ConformanceReport.StepResult - Record Class in codes.grow.packages.otelcollector.testing
-
Result of one step.
- ConformanceRunner - Class in codes.grow.packages.otelcollector.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.otelcollector.testing
-
Builder for
ConformanceRunner. - connectTimeout() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the connection setup timeout.
- connectTimeout() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the connect timeout (default 10 s).
- CONSUMER - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"consumer". - containerId() - Method in class codes.grow.packages.otelcollector.ResourceDetector
-
Container id from
/proc/self/cgroup(cgroup v1) or/proc/self/mountinfo(cgroup v2). - contentType() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the body content type.
- CoreOps - Class in codes.grow.packages.otelcollector.testing
-
Conformance operations of the
corecategory:health,ping,serverVersion,close. - CoreOps() - Constructor for class codes.grow.packages.otelcollector.testing.CoreOps
-
Creates the operations.
- CoreTarget - Interface in codes.grow.packages.otelcollector.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.otelcollector.testing.OpResult
-
Returns the explicit count.
- counter(String) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Monotonic counter without options.
- counter(String, InstrumentOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Monotonic counter (OTLP
sum,isMonotonic, cumulative) on the global provider. - counter(String, InstrumentOptions) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Monotonic counter (OTLP
sum, cumulative). - create(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Creates a health client.
- create(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Creates a client.
- create(Scenario) - Method in interface codes.grow.packages.otelcollector.testing.TargetFactory
-
Creates or returns the target for one scenario.
- create(TracingConfig) - Static method in class codes.grow.packages.otelcollector.tracing.OtlpExporters
-
Creates an OTLP exporter for the config's protocol.
- create(TracingConfig) - Method in interface codes.grow.packages.otelcollector.tracing.SpanExporterFactory
-
Creates the exporter.
- create(Class<T>, T) - Static method in class codes.grow.packages.otelcollector.tracing.TracedProxy
-
Wraps
targetusing the helpers' default tracer. - create(Class<T>, T, Tracer) - Static method in class codes.grow.packages.otelcollector.tracing.TracedProxy
-
Wraps
targetwith an explicit tracer. - create(String, LogClient) - Static method in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
-
Creates an appender bound to
client(start it and add it to a configuration). - createAppender(String, Filter) - Static method in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
-
Plugin factory used by configuration files.
- createLogClient(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorLogs
-
A log client exporting OTLP logs to the collector.
- createLogClient(OtelCollectorConfig, BatchOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorLogs
-
A log client exporting OTLP logs to the collector with explicit batch options.
- createSpanExporter(TracingConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Builds the official OTLP span exporter for a tracing config:
http/protobuf→OtlpHttpSpanExporter,grpc→OtlpGrpcSpanExporter. - currentSpan() - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
The current span (an invalid no-op span when none is active).
- currentSpanId() - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Span id of the current span.
- currentTraceId() - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Trace id of the current span.
- cursor() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Page cursor from a previous result.
- cursor(String) - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Sets the page cursor.
D
- debug(String) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at debug level without fields.
- debug(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, Object>) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at debug level.
- DEBUG - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 5.
- decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.otelcollector.core.Json
-
Decodes JSON bytes into a generic type.
- decode(byte[], Class<T>) - Static method in class codes.grow.packages.otelcollector.core.Json
-
Decodes JSON bytes into a type.
- decodePartialSuccess(byte[]) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Decodes the
partial_success(field 1) of a protobufExport*ServiceResponse. - decodeRpcStatus(byte[]) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Decodes a binary
google.rpc.Status(field 1code, field 2message). - deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.otelcollector.testing.Expectations
-
Deep JSON equality where objects in
expectedare matched as subsets and numbers compare by value (42 == 42.0). - DEFAULT_EXPORT_TIMEOUT - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Default deadline of one OTLP export including the exporter's own retries.
- DEFAULT_FLUSH_TIMEOUT - Static variable in class codes.grow.packages.otelcollector.TelemetryHandle
-
Default deadline of
TelemetryHandle.forceFlush(). - DEFAULT_GRPC_ENDPOINT - Static variable in class codes.grow.packages.otelcollector.tracing.OtlpExporters
-
Default OTLP/gRPC endpoint.
- DEFAULT_GRPC_URL - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Default OTLP/gRPC target (port 4317).
- DEFAULT_HTTP_ENDPOINT - Static variable in class codes.grow.packages.otelcollector.tracing.OtlpExporters
-
Default OTLP/HTTP traces endpoint.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.otelcollector.logging.TailOptions
-
The interval used when none is given.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
The interval used when none is given.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
The interval used when none is given.
- DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Default maximum number of retries (so up to 4 attempts).
- DEFAULT_METER_NAME - Static variable in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Meter name used by the helpers when none is given.
- DEFAULT_METRIC_EXPORT_INTERVAL - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Default interval of the periodic metric reader.
- DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Pause between repeated steps.
- DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
How long
listServicessteps are repeated until their expectation passes. - DEFAULT_PREFIX - Static variable in class codes.grow.packages.otelcollector.core.EnvReader
-
Prefix of every variable of this SDK.
- DEFAULT_PREFIX - Static variable in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Default value of
${prefix}. - DEFAULT_PROPAGATORS - Static variable in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Default propagators.
- DEFAULT_READY_INTERVAL - Static variable in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Pause between probes of
CollectorHealthClient.waitUntilReady(). - DEFAULT_READY_TIMEOUT - Static variable in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Default deadline of
CollectorHealthClient.waitUntilReady(). - DEFAULT_REDACT_KEYS - Static variable in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Default sensitive attribute name fragments (SPEC section 4).
- DEFAULT_REPLACEMENT - Static variable in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Default replacement text.
- DEFAULT_SERVICE_NAME - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Default
service.namewhen none is configured (OpenTelemetry Java default). - DEFAULT_URL - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Default OTLP/HTTP base URL (port 4318).
- defaults() - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.TlsOptions
-
Returns options without any customisation (system trust store).
- defaults() - Static method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Returns the defaults.
- defaults() - Static method in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Returns a processor with the default keys, no patterns and
"[REDACTED]". - defaults() - Static method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Default options (no range, limit 100, newest first).
- defaults() - Static method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Defaults: from now, 1 s interval, errors ignored.
- defaults() - Static method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Defaults: 30 s timeout, 1 s interval, any record.
- defaults() - Static method in class codes.grow.packages.otelcollector.TelemetryOptions
-
The defaults: signals from the config, global registration on.
- defaults() - Static method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Defaults: 30 s, 1 s, 1 span.
- defaults() - Static method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Defaults: internal span, no attributes, current context as parent, the helpers' tracer.
- defaults() - Static method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
The defaults.
- delegate() - Method in class codes.grow.packages.otelcollector.tracing.TracedHttpClient
-
The wrapped client.
- delete(String) - Static method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Starts a DELETE request.
- DependencyLink - Record Class in codes.grow.packages.otelcollector.tracing.query
-
A service dependency edge.
- DependencyLink(String, String, long) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Creates an instance of a
DependencyLinkrecord class. - DESC - Enum constant in enum class codes.grow.packages.otelcollector.logging.SortOrder
-
Newest first (
"desc", default). - describe() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns a one-line description.
- description() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns the value of the
descriptionrecord component. - description() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
descriptionrecord component. - details() - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Returns the value of the
detailsrecord component. - detect(Collection<String>) - Method in class codes.grow.packages.otelcollector.ResourceDetector
-
Runs the given detectors.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.otelcollector.tracing.TracingFilter
- DROP_NEWEST - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropPolicy
-
Drop the record being added (
"drop_newest", default). - DROP_OLDEST - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropPolicy
-
Drop the oldest queued record to make room (
"drop_oldest"). - dropped() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns the value of the
droppedrecord component. - dropPolicy() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Queue-full behaviour (default
DropPolicy.DROP_NEWEST). - dropPolicy(DropPolicy) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the drop policy.
- DropPolicy - Enum Class in codes.grow.packages.otelcollector.logging
-
What
BatchProcessor.add(codes.grow.packages.otelcollector.logging.LogRecord)does when the queue is full. - DropReason - Enum Class in codes.grow.packages.otelcollector.logging
-
Why records were dropped (argument of
BatchOptions.Builder.onDrop). - duration() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the call duration including retries.
- duration(String, String...) - Method in class codes.grow.packages.otelcollector.core.EnvReader
-
Reads a duration (integer milliseconds or Go-style units such as
1m30s). - durationMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
durationMicrosrecord component. - durationMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
durationMicrosrecord component. - durationMicros(long) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets an explicit duration.
- durationMs() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
durationMsrecord component. - dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.otelcollector.testing.JUnitConformance
-
Creates one dynamic test per selected scenario.
E
- encode(Object) - Static method in class codes.grow.packages.otelcollector.core.Json
-
Encodes a value as UTF-8 JSON.
- end() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Range end (exclusive).
- end() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Range end.
- end(Instant) - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Sets the range end.
- end(Instant) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the range end.
- endMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
endMicrosrecord component. - endpoint() - Method in class codes.grow.packages.otelcollector.OtlpLogExporter
-
Returns the endpoint records are sent to (
logsUrlfor HTTP,grpcUrlfor gRPC). - endpoint() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Export endpoint.
- endpoint(String) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the export endpoint.
- endpointFor(Signal) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
The export endpoint of a signal for the configured protocol: the explicit per-signal URL when set, else
OtelCollectorConfig.grpcUrl()for gRPC andOtelCollectorConfig.signalUrl(Signal)for HTTP. - enqueueOutcome(Function<List<LogRecord>, CompletableFuture<ExportResult>>) - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Scripts the outcome of the next export call (FIFO).
- environment() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns
deployment.environment.name. - environment() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
deployment.environment.name(and the legacydeployment.environment). - environment(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets
deployment.environment.name. - environment(String) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets
deployment.environment.nameand the legacydeployment.environment. - EnvReader - Class in codes.grow.packages.otelcollector.core
-
Reads configuration from environment variables (SPEC section 2.2).
- EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.otelcollector.core.EnvReader
-
Creates a reader over an explicit environment map.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class codes.grow.packages.otelcollector.logging.LogRecord
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns the value of the
errorrecord component. - error() - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Returns the value of the
errorrecord component. - error(String) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at error level without fields.
- error(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, Object>) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at error level.
- ERROR - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 17.
- ERROR - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.StatusCode
-
"error". - ErrorCode - Enum Class in codes.grow.packages.otelcollector.core
-
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
- ErrorInfo(String, String, OtelCollectorException, int, boolean) - Constructor for record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Creates an instance of a
ErrorInforecord class. - errorMapper() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the service error mapper.
- errorMapper(ErrorMapper) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the service error mapper (see
ErrorMapper). - ErrorMapper - Interface in codes.grow.packages.otelcollector.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.otelcollector.core.HttpTransport
-
Builds an error message
"<operation>: <reason> (HTTP <status>)"with redacted, truncated vendor text. - errorText(byte[]) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Human text of an OTLP error body: JSON
{"code","message"}, a binarygoogle.rpc.Status, or printable text. - event(Span.Event) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Adds an event.
- Event(String, long, Map<String, Object>) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Copies the attributes.
- events() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
eventsrecord component. - expect() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns the value of the
expectrecord component. - Expectations - Class in codes.grow.packages.otelcollector.testing
-
Evaluates the
expectobject of a scenario step (SPEC section 6). - explicitInterval() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
TailOptions.DEFAULT_INTERVAL). - explicitInterval() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
WaitForLogOptions.DEFAULT_INTERVAL). - explicitInterval() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
WaitForTraceOptions.DEFAULT_INTERVAL). - explicitSignalUrl(Signal) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the explicit per-signal URL (used as is, no path appended).
- export(Collection<SpanData>) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
- export(List<LogRecord>, ExportOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogExporter
-
Exports a batch.
- export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.otelcollector.OtlpLogExporter
-
Exports
recordsin one OTLP request. - export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
- EXPORT_FAILED - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropReason
-
The exporter failed or rejected the records (
"export_failed"). - exporterRetryPolicy(RetryPolicy) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Exporter retry policy derived from the SDK retry policy (
maxRetries + 1attempts, clamped to 2..5 as the OpenTelemetry exporters require); empty when retries are off. - ExportOptions - Record Class in codes.grow.packages.otelcollector.logging
- ExportOptions(boolean, Duration) - Constructor for record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Validates the options.
- ExportResult - Record Class in codes.grow.packages.otelcollector.logging
- ExportResult(int, int, Optional<OtelCollectorException>) - Constructor for record class codes.grow.packages.otelcollector.logging.ExportResult
-
Validates the result.
- exportTimeout() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Time budget per export including retries; also the default flush/shutdown timeout (default 30 s).
- exportTimeout() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the deadline of one OTLP export.
- exportTimeout() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns the value of the
exportTimeoutrecord component. - exportTimeout(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the export timeout.
- exportTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the deadline of one OTLP export including the exporter's retries (default 10 s).
- extract(Map<String, String>) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.Spans
-
Extracts with explicit propagators.
- extractHeaders(Map<String, List<String>>) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.Spans
-
Extracts from a multi-valued header map with explicit propagators.
F
- factory() - Static method in class codes.grow.packages.otelcollector.tracing.OtlpExporters
-
Returns a factory that creates an OTLP exporter for the config's protocol.
- failed() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns the value of the
failedrecord component. - FAILED - Enum constant in enum class codes.grow.packages.otelcollector.testing.ConformanceReport.Status
-
An expectation failed or the step raised an unexpected error.
- failure(int, int, OtelCollectorException) - Static method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Some or all records failed.
- fatal(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at FATAL.
- fatal(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at FATAL.
- FATAL - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 21.
- fields(ContextPropagators) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Names of the propagation fields of the given propagators.
- flush() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- flush() - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Exports everything queued now, waiting at most the export timeout.
- flush() - Method in class codes.grow.packages.otelcollector.logging.GrowJulHandler
- flush() - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Exports everything queued now, waiting at most the export timeout.
- flush() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
- flush(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- flush(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Exports everything queued now.
- flush(Duration) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Exports everything queued now.
- flushAsync(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- flushAsync(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Exports everything queued now, asynchronously.
- flushAsync(Duration) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Asynchronous
LogClient.flush(Duration). - flushInterval() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Interval of the background flush (default 1 s).
- flushInterval(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the background flush interval.
- forceFlush() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Exports everything buffered in every enabled signal, waiting at most
TelemetryHandle.DEFAULT_FLUSH_TIMEOUT. - forceFlush() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Exports all finished spans, waiting at most the export timeout.
- forceFlush(Duration) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Exports everything buffered in every enabled signal.
- forceFlush(Duration) - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Exports all finished spans.
- forceFlushAsync(Duration) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Asynchronous
TelemetryHandle.forceFlush(Duration). - forceFlushAsync(Duration) - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Asynchronous
TracingHandle.forceFlush(Duration). - forService(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Query for one service.
- forStatus(int) - Static method in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Maps an HTTP status to its canonical code.
- from(Map<String, ?>) - Static method in class codes.grow.packages.otelcollector.tracing.OtelAttributes
-
Converts a map.
- fromEnv() - Static method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Creates a health client from the environment (see
OtelCollectorConfig.fromEnv()). - fromEnv() - Static method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Creates a client from
GROW_OPENTELEMETRY_COLLECTOR_*,GROW_OTEL_*and the standardOTEL_*variables. - fromEnv() - Static method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Reads the configuration from the process environment.
- fromEnv(EnvReader) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Fills unset fields from an environment reader.
- fromEnv(EnvReader) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Fills every field that was not set explicitly from the environment:
GROW_OPENTELEMETRY_COLLECTOR_*, thenGROW_OTEL_*, then the standardOTEL_*variables. - fromEnv(Map<String, String>) - Static method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Reads the configuration from an explicit variable map (tests).
- fromError(OtelCollectorException) - Static method in class codes.grow.packages.otelcollector.core.HealthCheck
-
Maps a transport error to
unreachable. - fromJson(String) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Parses one record from JSON text.
- fromJsonNode(JsonNode) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Parses one record from a Jackson tree.
- fromNumber(int) - Static method in enum class codes.grow.packages.otelcollector.logging.Severity
-
Maps any OpenTelemetry severity number (1–24) to its severity range; 0 or less maps to
Severity.INFO(unspecified) and numbers above 24 toSeverity.FATAL. - fromResponse(TransportResponse) - Static method in class codes.grow.packages.otelcollector.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
- gauge(String, InstrumentOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Synchronous gauge (OTLP
gauge, last value) on the global provider. - gauge(String, InstrumentOptions) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Synchronous gauge (OTLP
gauge). - get() - Method in interface codes.grow.packages.otelcollector.tracing.ThrowingSupplier
-
Computes the result.
- get(String) - Static method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Starts a GET request.
- getDependencies(Instant, Instant) - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- getDependencies(Instant, Instant) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
- getDependencies(Instant, Instant) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Service dependency graph in a time range.
- getDependenciesAsync(Instant, Instant) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
- getLogClient() - Method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Returns the destination.
- getTrace(String) - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- getTrace(String) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
- getTrace(String) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Fetches one trace.
- getTraceAsync(String) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.getTrace(java.lang.String); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - GrowJulHandler - Class in codes.grow.packages.otelcollector.logging
-
java.util.logginghandler that forwards records to aLogClient. - GrowJulHandler(LogClient) - Constructor for class codes.grow.packages.otelcollector.logging.GrowJulHandler
-
Creates the handler.
- GrowLog4j2Appender - Class in codes.grow.packages.otelcollector.logging
-
Log4j 2 appender plugin (
<GrowLog name="grow"/>) that forwards events to aLogClient(Log4j is an optional,provideddependency). - GrowLogbackAppender - Class in codes.grow.packages.otelcollector.logging
-
Logback appender that forwards events to a
LogClient(Logback is an optional,provideddependency). - GrowLogbackAppender() - Constructor for class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Creates an appender without a client (set it with
GrowLogbackAppender.setLogClient(codes.grow.packages.otelcollector.logging.LogClient)). - GrowLogbackAppender(LogClient) - Constructor for class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Creates an appender for
client. - GRPC - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Protocol
-
OTLP over gRPC (
"grpc"). - GRPC_LOGS_METHOD - Static variable in class codes.grow.packages.otelcollector.Otlp
-
gRPC method of
LogsService/Export. - GRPC_METRICS_METHOD - Static variable in class codes.grow.packages.otelcollector.Otlp
-
gRPC method of
MetricsService/Export. - GRPC_TRACES_METHOD - Static variable in class codes.grow.packages.otelcollector.Otlp
-
gRPC method of
TraceService/Export. - grpcError(String, int, String, Collection<String>) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Builds the SDK exception for a gRPC status:
"<op>: <message> (gRPC <NAME>)", redacted and truncated. - grpcStatusName(int) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Name of a gRPC status code (
UNAUTHENTICATED, …). - grpcUrl() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the OTLP/gRPC target.
- grpcUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the OTLP/gRPC target.
- grpcUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the OTLP/gRPC target (default: host of
OtelCollectorConfig.Builder.url(String), port 4317);https://enables TLS. - gzip() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Whether exports are gzipped (default true).
- gzip() - Method in record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Returns the value of the
gziprecord component. - gzip(boolean) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Enables or disables gzip.
- GZIP - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Compression
-
gzip (default).
- gzipFlags() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Gzip flags of all export calls.
H
- handle() - Method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Returns the value of the
handlerecord component. - hashCode() - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Returns a hash code value for this object.
- hashCode() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns a hash code value for this object.
- header(String) - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the first value of a header.
- header(String, String) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Sets a header.
- header(String, String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Adds an export header (for example
Authorization). - header(String, String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Adds a header sent with every export and with
ping(for exampleAuthorization). - header(String, String) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Adds an export header.
- headers() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns the value of the
headersrecord component. - headers() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the extra headers sent with every request.
- headers() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the request headers.
- headers() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the response headers (case-insensitive keys).
- headers() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the export headers sent with every OTLP request (auth goes here).
- headers() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Extra export headers (for example authentication).
- headers(Map<String, String>) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Adds headers sent with every request.
- headers(Map<String, String>) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Adds headers sent with every export.
- headers(Map<String, String>) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Replaces the export headers.
- headersFor(Signal) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Export headers of a signal:
OtelCollectorConfig.headers()with the per-signal headers on top. - headersFor(ContextPropagators) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
The headers a request should carry for the current context.
- health() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Collector health.
- health() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Unauthenticated health:
GET {healthUrl}(port 13133), falling back to zpages when the health endpoint is unreachable. - health() - Method in interface codes.grow.packages.otelcollector.testing.CoreTarget
-
Checks liveness; never throws for an unhealthy service.
- healthAsync() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Asynchronous
CollectorHealthClient.health(). - healthAsync() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Asynchronous
OtelCollectorClient.health(). - HealthCheck - Class in codes.grow.packages.otelcollector.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.otelcollector.core
-
Result of
health()(SPEC section 2.4). - HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.otelcollector.core.HealthStatus
-
Creates a status; details are copied.
- healthUrl() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the
health_checkURL (default: host ofOtelCollectorConfig.url(), port 13133). - healthUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the
health_checkURL. - healthUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the
health_checkURL. - healthy() - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Returns the value of the
healthyrecord component. - histogram(String, InstrumentOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Histogram with optional explicit bucket boundaries on the global provider.
- histogram(String, InstrumentOptions) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Histogram with optional explicit bucket boundaries.
- hooks() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the hooks.
- hooks() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets hooks.
- hooks(Hooks) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets request hooks.
- Hooks - Interface in codes.grow.packages.otelcollector.core
-
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
- Hooks.ErrorInfo - Record Class in codes.grow.packages.otelcollector.core
- Hooks.RequestInfo - Record Class in codes.grow.packages.otelcollector.core
- Hooks.ResponseInfo - Record Class in codes.grow.packages.otelcollector.core
- HTTP_PROTOBUF - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Protocol
-
OTLP over HTTP with protobuf bodies (
"http/protobuf"). - httpEndpoint(TracingConfig) - Static method in class codes.grow.packages.otelcollector.tracing.OtlpExporters
-
The HTTP endpoint: the configured URL, with
/v1/tracesappended when it has no path. - httpError(String, int, byte[], Collection<String>) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Builds the SDK exception for an HTTP status with an OTLP error body:
"<op>: <phrase>: <message> (HTTP <status>)", redacted and truncated. - httpStatus() - Method in exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Returns the HTTP status when the error came from a response.
- HttpTransport - Class in codes.grow.packages.otelcollector.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.otelcollector.core.HttpTransport
-
Creates a transport.
I
- id() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
idrecord component. - idempotent() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns whether the request may be replayed after an uncertain send.
- idempotent(boolean) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Marks the request idempotent (or not), overriding the method default.
- index() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns the value of the
indexrecord component. - info(String) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at info level without fields.
- info(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at INFO.
- info(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at INFO.
- info(String, Map<String, Object>) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at info level.
- INFO - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 9.
- initialBackoff() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the backoff cap for the first retry.
- initialBackoff(Duration) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Sets the backoff cap of the first retry.
- initTelemetry() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
OtelCollectorTelemetry.initTelemetry(OtelCollectorConfig)with this client's config;OtelCollectorClient.close()shuts the handle down. - initTelemetry() - Static method in class codes.grow.packages.otelcollector.OtelCollectorTelemetry
-
Starts telemetry from the environment (
OtelCollectorConfig.fromEnv()). - initTelemetry(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTelemetry
-
Starts telemetry for a config with the default options.
- initTelemetry(OtelCollectorConfig, TelemetryOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTelemetry
-
Starts telemetry.
- initTelemetry(TelemetryOptions) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
OtelCollectorTelemetry.initTelemetry(OtelCollectorConfig, TelemetryOptions)with this client's config;OtelCollectorClient.close()shuts the handle down. - initTracing() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Tracing with every setting from this client's config;
OtelCollectorClient.close()shuts it down. - initTracing() - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Sets up tracing from the environment (
GROW_OPENTELEMETRY_COLLECTOR_*,GROW_OTEL_*,OTEL_*). - initTracing(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Sets up tracing with every setting taken from a collector config.
- initTracing(TracingConfig) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Tracing with an explicit config over this client's config (see
OtelCollectorTracing.resolve(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.OtelCollectorConfig));OtelCollectorClient.close()shuts it down. - initTracing(TracingConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Sets up tracing with an explicit config over collector defaults from the environment.
- initTracing(TracingConfig, OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Sets up tracing with an explicit config over collector defaults (see
OtelCollectorTracing.resolve(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.OtelCollectorConfig)). - initWith(TracingConfig, SpanExporterFactory) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.tracing.Spans
-
Injects a context with explicit propagators.
- inject(Map<String, String>) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.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.otelcollector.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. - InMemoryLogExporter - Class in codes.grow.packages.otelcollector.testing.logging
-
LogExporterthat keeps every accepted record in memory. - InMemoryLogExporter() - Constructor for class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Creates an empty exporter.
- InMemoryLogQueryClient - Class in codes.grow.packages.otelcollector.testing.logging
-
LogQueryClientover in-memory records (usuallyInMemoryLogExporter.records()). - InMemoryLogQueryClient(InMemoryLogExporter) - Constructor for class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
-
Reads the records of an exporter.
- InMemoryLogQueryClient(Supplier<List<LogRecord>>) - Constructor for class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
-
Reads records from a supplier.
- InMemorySpanExporter - Class in codes.grow.packages.otelcollector.testing.tracing
-
SpanExporterthat keeps finished spans in memory. - InMemorySpanExporter() - Constructor for class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
-
Creates an empty exporter.
- InMemoryTraceQueryClient - Class in codes.grow.packages.otelcollector.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.otelcollector.testing.tracing.InMemoryTraceQueryClient
-
Reads the spans of an exporter.
- InMemoryTraceQueryClient(Supplier<List<Span>>) - Constructor for class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
-
Reads normalized spans from a supplier.
- insecureSkipVerify() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns whether certificate and host name verification is disabled (tests only).
- insecureSkipVerify(boolean) - Method in class codes.grow.packages.otelcollector.core.TlsOptions.Builder
-
Disables certificate and host name verification.
- install(LoggerContext, LogClient) - Static method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Creates, starts and attaches an appender named
"GROW"to the root logger. - INSTRUMENTATION_NAME - Static variable in class codes.grow.packages.otelcollector.tracing.Tracing
-
Instrumentation scope name used by the helpers in this package.
- InstrumentOptions - Record Class in codes.grow.packages.otelcollector
-
Options of the metric instrument helpers (
counter,upDownCounter,histogram,gauge). - InstrumentOptions(String, String, String, List<Double>) - Constructor for record class codes.grow.packages.otelcollector.InstrumentOptions
-
Copies the boundaries.
- integer(String, String...) - Method in class codes.grow.packages.otelcollector.core.EnvReader
-
Reads an integer.
- intercept(Interceptor.Chain) - Method in class codes.grow.packages.otelcollector.tracing.TracingInterceptor
- INTERNAL - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"internal". - interval() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns the value of the
intervalrecord component. - interval() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the value of the
intervalrecord component. - interval() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns the value of the
intervalrecord component. - intervalOr(Duration) - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - intervalOr(Duration) - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - intervalOr(Duration) - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - invoke(Object, Method, Object[]) - Method in class codes.grow.packages.otelcollector.tracing.TracedProxy
- isCleared() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Returns whether
Secret.clear()was called. - isClosed() - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Returns whether
HttpTransport.close()was called. - isClosed() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Returns whether
OtelCollectorClient.close()was called. - isCustom() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns whether any option differs from the system defaults.
- isEmpty() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Returns whether the value is empty.
- isEnabled(Severity) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Whether records of this severity are sent.
- isRoot() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Whether the span is a root (no parent).
- isSensitive(String) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Whether an attribute name matches one of the keys.
- isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.otelcollector.core.Redaction
-
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
- isSensitiveHeader(String) - Static method in class codes.grow.packages.otelcollector.core.Redaction
-
Returns whether a header name is sensitive (case-insensitive).
- isShutdown() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns whether
TelemetryHandle.shutdown()was called. - isShutdown() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
-
Whether
InMemorySpanExporter.shutdown()was called. - isShutdown() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Whether
TracingHandle.shutdown()was called. - isValidTraceId(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceIds
-
Whether
idis a valid (normalised or normalisable) trace id.
J
- json(TypeReference<T>) - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Decodes the JSON body into a generic type.
- json(Class<T>) - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Decodes the JSON body.
- json(Object) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Sets a JSON body encoded with Jackson.
- Json - Class in codes.grow.packages.otelcollector.core
-
Shared Jackson configuration of the SDK.
- jsonNode() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Parses the JSON body into a tree.
- JUnitConformance - Class in codes.grow.packages.otelcollector.testing
-
JUnit 5 adapter: one dynamic test per scenario.
K
- KEY - Static variable in class codes.grow.packages.otelcollector.core.SdkInfo
-
Catalog key of the service, e.g.
- keys(Collection<String>) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor.Builder
-
Replaces the sensitive key fragments.
- kind() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
kindrecord component. - kind() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Span kind.
- kind() - Element in annotation interface codes.grow.packages.otelcollector.tracing.Traced.Method
-
Span kind.
- kind(Span.Kind) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets the kind.
- kind(SpanKind) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Sets the span kind.
- knownSecrets() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the secret values removed from every error message, hook and log line.
- knownSecrets() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Values of sensitive export headers (
authorization,*token*,*key*, …) that are removed from every message. - knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the supplier of secret values to redact from errors, hooks and logs.
L
- LANGUAGE - Static variable in class codes.grow.packages.otelcollector.core.SdkInfo
-
Language token in the
User-Agent. - limit() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Maximum records per page.
- limit() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Maximum results.
- limit(int) - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Sets the page size.
- limit(int) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the result limit.
- link(Span.Link) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Adds a link.
- link(SpanContext) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Adds a link.
- Link(String, String, Map<String, Object>) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Normalises the ids and copies the attributes.
- links() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
linksrecord component. - links() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Links to other spans.
- listLabels() - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Lists the label or field names of the service.
- listLabels() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
- listLabelsAsync() - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listLabels(). - listOperations(String) - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- listOperations(String) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
- listOperations(String) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Lists operations (span names) of a service.
- listOperationsAsync(String) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.listOperations(java.lang.String). - listServices() - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- listServices() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
- listServices() - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Lists services that reported spans.
- listServicesAsync() - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.listServices(). - listStreams() - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Lists the log streams (indexes, streams, data sets) of the service.
- listStreams() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
- listStreamsAsync() - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listStreams(). - log(Severity, String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs a message.
- logClient() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
An OTLP log client with the configured batch options;
OtelCollectorClient.close()flushes and closes it. - logClient() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the OTLP log client (SPEC section 4).
- logClient(BatchOptions) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
An OTLP log client with explicit batch options;
OtelCollectorClient.close()flushes and closes it. - LogClient - Interface in codes.grow.packages.otelcollector.logging
-
Sends log records to the service in the background.
- logClientBuilder(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorLogs
-
A log client builder preset with an
OtlpLogExporter, the service resource and the configured batch options; customise redaction, resource or batching beforebuild(). - logClientBuilder(OtelCollectorConfig, LogExporter) - Static method in class codes.grow.packages.otelcollector.OtelCollectorLogs
-
A log client builder preset like
OtelCollectorLogs.logClientBuilder(OtelCollectorConfig)with another exporter (tests). - LogEntry - Interface in codes.grow.packages.otelcollector.logging
- logExporter() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
A bare OTLP log exporter for this config;
OtelCollectorClient.close()shuts it down. - logExporter(LogExporter) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Replaces the exporter of the
LogClient. - LogExporter - Interface in codes.grow.packages.otelcollector.logging
-
Sends batches of log records to the service.
- logger() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the logger.
- logger() - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Returns a logger facade without a name.
- logger() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the logger.
- logger(Logger) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the logger (default silent).
- logger(String) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Returns a named logger facade.
- logger(String) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A logger writing to
TelemetryHandle.logClient()(drops records when logs are disabled). - logger(String, Map<String, ?>) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Returns a named logger facade with fixed attributes.
- logger(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A logger with fixed attributes.
- Logger - Class in codes.grow.packages.otelcollector.logging
-
Small logging facade on top of a
LogClient. - Logger - Interface in codes.grow.packages.otelcollector.core
-
Minimal logger used by the transport (SPEC section 2.5).
- Logger(LogClient, String, Map<String, ?>, Severity) - Constructor for class codes.grow.packages.otelcollector.logging.Logger
-
Creates a logger.
- loggerProvider() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the OpenTelemetry logger provider for log appenders (no-op when logs are disabled).
- LoggingOps - Class in codes.grow.packages.otelcollector.testing.logging
-
Conformance operations of the
loggingcategory:send,sendBatch,flush,searchUntil,stats. - LoggingOps() - Constructor for class codes.grow.packages.otelcollector.testing.logging.LoggingOps
-
Creates the operations.
- LoggingTarget - Record Class in codes.grow.packages.otelcollector.testing.logging
-
Target of the
loggingconformance scenarios: the client that sends and the (optional) query client that reads back. - LoggingTarget(LogClient, Optional<LogQueryClient>) - Constructor for record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Validates the target.
- LogInput - Class in codes.grow.packages.otelcollector.logging
-
Short form of a log record: a message plus optional severity, attributes, timestamp and trace ids.
- LogInput.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
LogInput. - logQuery() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Log query client: the collector has none, every method throws
UnsupportedException. - LogQueryClient - Interface in codes.grow.packages.otelcollector.logging
-
Reads logs back from the service.
- LogRecord - Class in codes.grow.packages.otelcollector.logging
-
One immutable log record in the normalized SDK form (OpenTelemetry log data model).
- LogRecord.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
LogRecord. - logRecordExporter(LogRecordExporter) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Replaces the OTLP log record exporter of the
LoggerProvider. - LogRecordJson - Class in codes.grow.packages.otelcollector.logging
-
Converts
LogRecordto and from the normalized JSON wire form (spec/schemas/log-record.schema.json). - logs(boolean) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Turns log export on or off (default on).
- logs(boolean) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Turns logs on or off (default: config
logsEnabled). - LOGS - Enum constant in enum class codes.grow.packages.otelcollector.Signal
-
Log records (
/v1/logs,LogsService/Export). - logsBatch() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the log batch settings.
- logsBatch(BatchOptions) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the log batch settings (
OTEL_BLRP_*are then ignored). - LogSearchResult - Record Class in codes.grow.packages.otelcollector.logging
- LogSearchResult(List<LogRecord>, Optional<String>, OptionalLong) - Constructor for record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Copies the list and replaces
nulloptionals by empty ones. - logsEnabled() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns whether logs are exported.
M
- map(TransportResponse, OtelCollectorException) - Method in interface codes.grow.packages.otelcollector.core.ErrorMapper
-
Maps a failed response.
- mapper() - Static method in class codes.grow.packages.otelcollector.core.Json
-
Returns the shared mapper.
- matches(String, LogRecord) - Static method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
-
Whether a record matches a query.
- matchesTiming(TraceSummary) - Method in class codes.grow.packages.otelcollector.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.otelcollector.core.Redaction
-
Maximum length of vendor error text kept in error messages.
- maxBackoff() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the upper bound of any backoff.
- maxBackoff(Duration) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Sets the upper bound of every backoff.
- maxBatchBytes() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Maximum UTF-8 JSON bytes per export (default 1 048 576).
- maxBatchBytes(int) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the batch byte limit.
- maxBatchSize() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Maximum records per export (default 512).
- maxBatchSize(int) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the batch size.
- maxDurationMicros() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Maximum duration.
- maxDurationMicros(Long) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the maximum duration.
- maxExportBatchSize() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns the value of the
maxExportBatchSizerecord component. - maxExportRetries() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Export attempts repeated after a retryable failure (default 2).
- maxExportRetries(int) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets how often a batch is re-exported after a retryable failure.
- maxQueueSize() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Maximum number of queued records (default 2048).
- maxQueueSize() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns the value of the
maxQueueSizerecord component. - maxQueueSize(int) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the queue size.
- maxRetries() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the maximum number of retries after the first attempt.
- maxRetries() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the retry limit override.
- maxRetries(int) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Sets the maximum number of retries.
- maxRetries(int) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Overrides the retry limit for this call.
- maxRetryAfter() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the longest
Retry-Afterwait the client accepts. - maxRetryAfter(Duration) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Sets the longest accepted
Retry-After. - merge(Map<String, ?>...) - Static method in class codes.grow.packages.otelcollector.logging.AttrValues
-
Merges attribute maps; later maps win on key collisions.
- message() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Message.
- message() - Method in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Returns the value of the
messagerecord component. - message() - Method in record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Returns the value of the
messagerecord component. - message() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns the value of the
messagerecord component. - message() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Returns the value of the
messagerecord component. - meter() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns the value of the
meterrecord component. - meter() - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
A meter named
OtelCollectorMetrics.DEFAULT_METER_NAMEfrom the global provider. - meter() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A meter named
OtelCollectorMetrics.DEFAULT_METER_NAME. - meter(String) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
A meter from the global provider.
- meter(String) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A meter.
- meterProvider() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the meter provider (no-op when metrics are disabled).
- method() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
methodrecord component. - method() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the HTTP method.
- metricExporter(OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
The official OTLP metric exporter for a collector config:
http/protobuf→OtlpHttpMetricExporter(metricsUrl),grpc→OtlpGrpcMetricExporter. - metricExporter(MetricExporter) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Replaces the OTLP metric exporter.
- metricExportInterval() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the periodic metric reader interval.
- metricExportInterval(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the periodic metric reader interval (default 60 s).
- metricExportInterval(Duration) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Overrides the metric export interval.
- metrics(boolean) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Turns metric export on or off (default on).
- metrics(boolean) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Turns metrics on or off (default: config
metricsEnabled). - METRICS - Enum constant in enum class codes.grow.packages.otelcollector.Signal
-
Metric points (
/v1/metrics,MetricsService/Export). - metricsEnabled() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns whether metrics are exported.
- micros(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Parses an RFC 3339 timestamp into epoch microseconds.
- minDurationMicros() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Minimum duration.
- minDurationMicros(Long) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the minimum duration.
- minSeverity() - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Minimum severity.
- minSpans() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns the value of the
minSpansrecord component. - multiplier() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns the exponential growth factor.
- multiplier(double) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Sets the exponential growth factor.
N
- name() - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logger name.
- name() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Returns the value of the
namerecord component. - name() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
namerecord component. - NAME_ATTRIBUTE - Static variable in class codes.grow.packages.otelcollector.logging.Logger
-
Attribute that carries the logger name.
- NATIVE - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Protocol
-
The service's own ingest API (
"native"). - nativeIdsAccepted() - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.query.TraceIds
-
Returns the package-wide default set with
TraceIds.acceptNativeIds(boolean), ignoring any scoped policy of the current thread. - networkError(String, Throwable, Collection<String>) - Static method in class codes.grow.packages.otelcollector.Otlp
-
Converts a transport failure without a response (connection refused, timeout) into an SDK exception.
- nextCursor() - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Returns the value of the
nextCursorrecord component. - none() - Static method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns a policy that never retries.
- NONE - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Compression
-
No compression.
- NONE - Static variable in interface codes.grow.packages.otelcollector.core.ErrorMapper
-
Keeps the default error.
- NONE - Static variable in interface codes.grow.packages.otelcollector.core.Hooks
-
Hooks that do nothing.
- NONE - Static variable in record class codes.grow.packages.otelcollector.InstrumentOptions
-
No description, unit, meter or boundaries.
- NONE - Static variable in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
No partial success (everything accepted).
- NOOP - Static variable in interface codes.grow.packages.otelcollector.core.Logger
-
A logger that discards everything.
- normalize(Object) - Static method in class codes.grow.packages.otelcollector.logging.AttrValues
-
Returns the normalised, deeply immutable form of
value. - normalizeMap(Map<?, ?>) - Static method in class codes.grow.packages.otelcollector.logging.AttrValues
-
Normalises every value of a map; keys become strings.
- normalizeSpanId(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceIds
-
Normalises a span id (16 lower-hex characters, shorter ids left-padded).
- normalizeSpanIdOrNative(String) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.core.ErrorCode
-
HTTP 404 or a missing record.
- NotFoundException - Exception Class in codes.grow.packages.otelcollector.core
-
The record does not exist (HTTP 404).
- NotFoundException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.NotFoundException
-
Creates the exception.
- NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.NotFoundException
-
Creates the exception with response details.
- NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.NotFoundException
-
Creates the exception with a cause.
- number() - Method in enum class codes.grow.packages.otelcollector.logging.Severity
-
Returns the OpenTelemetry severity number.
O
- observedTimestamp() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Time the SDK observed the record.
- observedTimestamp(Instant) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the observed time.
- of(char[]) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.OtelCollectorException
-
Like
OtelCollectorException.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.otelcollector.core.OtelCollectorException
-
Creates the subclass that matches
code. - of(LogClient, LogQueryClient) - Static method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Creates a target.
- of(Severity, String, Map<String, ?>) - Static method in class codes.grow.packages.otelcollector.logging.LogInput
-
Creates an input with a severity and attributes.
- of(TracingHandle, TraceQueryClient) - Static method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Creates a target.
- of(Object) - Static method in class codes.grow.packages.otelcollector.testing.OpResult
-
Wraps a value.
- of(String) - Static method in class codes.grow.packages.otelcollector.core.Secret
-
Wraps a string value.
- of(String) - Static method in class codes.grow.packages.otelcollector.logging.LogInput
-
Creates an INFO input with no attributes.
- of(Throwable) - Static method in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Returns the code of an SDK exception.
- of(Duration, Duration) - Static method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Options with a timeout and interval.
- of(List<LogRecord>) - Static method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
A single page without cursor or total.
- of(Map<String, String>) - Static method in class codes.grow.packages.otelcollector.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover an explicit map. - of(Map<String, String>, Function<String, Optional<String>>) - Static method in class codes.grow.packages.otelcollector.ResourceDetector
-
A detector over explicit sources (tests).
- officialExporter(OtelCollectorConfig, boolean) - Static method in class codes.grow.packages.otelcollector.OtlpLogExporter
-
Builds the official OTLP log record exporter for a collector config (also used for the
LoggerProviderofinitTelemetry). - ok() - Static method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
A healthy
okstatus without details. - OK - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.StatusCode
-
"ok". - onDrop() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Drop callback.
- onDrop(BiConsumer<List<LogRecord>, DropReason>) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the drop callback (exceptions it throws are ignored).
- onError() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Export error callback.
- onError() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns the value of the
onErrorrecord component. - onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.otelcollector.core.Hooks
-
Called when an attempt failed (network error, timeout or error status).
- onError(BiConsumer<Throwable, List<LogRecord>>) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the export error callback (exceptions it throws are ignored).
- only(String...) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Restricts the run to these scenario ids.
- onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.otelcollector.core.Hooks
-
Called before each attempt.
- onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.otelcollector.core.Hooks
-
Called when an attempt received a response (any status).
- op() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns the value of the
oprecord component. - op() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns the value of the
oprecord component. - op(String, String, OpHandler) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Registers one operation.
- openTelemetry() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the combined OpenTelemetry instance (tracer, meter and logger providers, propagators).
- openTelemetry() - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.TracingHandle
-
The OpenTelemetry SDK instance.
- operation() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the operation name used in error messages.
- operation() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Operation (span name) filter.
- operation(String) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Sets the operation name used in error messages.
- operation(String) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the operation filter.
- OpHandler - Interface in codes.grow.packages.otelcollector.testing
-
Executes one scenario step and returns its result (or an
OpResult). - OpResult - Class in codes.grow.packages.otelcollector.testing
-
A step result with optional extra views for the expectations
countandtree. - ops() - Method in interface codes.grow.packages.otelcollector.testing.ConformanceOps
-
Returns the handlers by operation name.
- ops() - Method in class codes.grow.packages.otelcollector.testing.CoreOps
- ops() - Method in class codes.grow.packages.otelcollector.testing.logging.LoggingOps
- ops() - Method in class codes.grow.packages.otelcollector.testing.tracing.TracingOps
- optArg(String) - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns an optional argument.
- options() - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
The options.
- order() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Order.
- order(SortOrder) - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Sets the order.
- OtelAttributes - Class in codes.grow.packages.otelcollector.tracing
-
Converts SDK attribute values (
AttrValue: String, numbers, Boolean, lists, maps) into OpenTelemetryAttributes. - OtelCollectorClient - Class in codes.grow.packages.otelcollector
-
Client for an OpenTelemetry Collector: health (
health_checkwith zpages fallback), an authenticated OTLPping, the collector version, and factories for the telemetry bootstrap, tracing, log clients and exporters whose lifetime the client owns (OtelCollectorClient.close()flushes and shuts them down). - OtelCollectorClient.Builder - Class in codes.grow.packages.otelcollector
-
Builder that configures and creates a client in one chain.
- OtelCollectorConfig - Class in codes.grow.packages.otelcollector
-
Immutable configuration of a
OtelCollectorClientand of every OTLP exporter this package builds (traces, logs, metrics). - OtelCollectorConfig.Builder - Class in codes.grow.packages.otelcollector
-
Builder of the configuration.
- OtelCollectorException - Exception Class in codes.grow.packages.otelcollector.core
-
Base class of every error raised by the OpenTelemetry Collector SDK (SPEC section 2.1).
- OtelCollectorException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Creates an exception.
- OtelCollectorLogs - Class in codes.grow.packages.otelcollector
-
OTLP log clients for the collector: a
BatchingLogClient(SPEC section 4) overOtlpLogExporter, with the service resource (service.name, version, environment and the configured resource attributes) and the configured log batch settings (OTEL_BLRP_*). - OtelCollectorMetrics - Class in codes.grow.packages.otelcollector
-
OTLP metrics for the collector: the official OTLP metric exporter (cumulative temporality) and
meter/counter/upDownCounter/histogram/gaugehelpers on the globalMeterProvider(registered byinitTelemetryunlesssetGlobal(false)). - OtelCollectorTelemetry - Class in codes.grow.packages.otelcollector
-
One-call OpenTelemetry bootstrap for every Grow stack (the platform deploys the collector with each stack): traces (
OtelCollectorTracing), logs (an OpenTelemetryLoggerProviderfor log appenders plus aBatchingLogClient) and metrics (MeterProviderwith a periodic reader) with one shared resource and the official OTLP exporters. - OtelCollectorTracing - Class in codes.grow.packages.otelcollector
-
Tracing preset for the OpenTelemetry Collector (SPEC section 5): the official OTLP span exporters (
http/protobuftohttp://127.0.0.1:4318/v1/tracesby default, orgrpctohttp://127.0.0.1:4317) andinitTracingwith collector defaults from the environment. - OtelValues - Class in codes.grow.packages.otelcollector
-
Converts SDK attribute maps (strings, booleans, longs, doubles, lists and nested maps) to OpenTelemetry
Attributes: homogeneous primitive lists become array attributes, nested maps and mixed lists becomeAnyValue(AttributeKey.valueKey(java.lang.String)) attributes. - Otlp - Class in codes.grow.packages.otelcollector
-
Shared OTLP plumbing: gRPC method paths, decoding of
google.rpc.Statusand partial success bodies, mapping of HTTP and gRPC statuses to the SDK exceptions, and exporter settings (retry policy, TLS) for the official OpenTelemetry exporters. - Otlp.PartialSuccess - Record Class in codes.grow.packages.otelcollector
-
A decoded OTLP partial success.
- Otlp.RpcStatus - Record Class in codes.grow.packages.otelcollector
-
A decoded
google.rpc.Status. - OtlpExporters - Class in codes.grow.packages.otelcollector.tracing
-
OTLP span exporters (gRPC and HTTP/protobuf) configured from a
TracingConfig: endpoint, headers, compression, export timeout and TLS. - OtlpLogExporter - Class in codes.grow.packages.otelcollector
-
LogExporter(SPEC section 4) that sends records to the collector over OTLP with the official OpenTelemetry log exporter:POST {logsUrl}(application/x-protobuf) or gRPCLogsService/Export. - OtlpLogExporter(OtelCollectorConfig) - Constructor for class codes.grow.packages.otelcollector.OtlpLogExporter
-
Creates an exporter.
P
- parent() - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Returns the value of the
parentrecord component. - parent() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Explicit parent context.
- parent(Context) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Sets the parent context (default: the current context).
- PARENTBASED_ALWAYS_OFF - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Follow the parent, drop roots.
- PARENTBASED_ALWAYS_ON - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Follow the parent, sample roots (default).
- PARENTBASED_TRACEIDRATIO - Enum constant in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Follow the parent, sample a ratio of roots.
- parentSpanId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
parentSpanIdrecord component. - parentSpanId(String) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets the parent span id.
- parse(JsonNode) - Static method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Parses a scenario document.
- parse(String) - Static method in enum class codes.grow.packages.otelcollector.logging.Severity
-
Parses a severity text case-insensitively.
- parse(String) - Static method in enum class codes.grow.packages.otelcollector.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.otelcollector.tracing.query.Span.StatusCode
-
Parses a wire value or vendor spelling (
"STATUS_CODE_ERROR","Error", …). - parseBool(String) - Static method in class codes.grow.packages.otelcollector.core.EnvReader
-
Parses a boolean:
true/false/1/0/yes/no/on/off, case-insensitive. - parseDuration(String) - Static method in class codes.grow.packages.otelcollector.core.EnvReader
-
Parses a duration: integer milliseconds (
1500) or Go-style units (500ms,10s,2m,1h,1m30s). - parseKeyValueList(String, String) - Static method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Parses
k=v,k2=v2(W3C baggage style, keys and values percent-decoded) as used byOTEL_EXPORTER_OTLP_HEADERSandOTEL_RESOURCE_ATTRIBUTES. - parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.RetryPolicy
-
Parses a
Retry-Afterheader: delay seconds or an HTTP-date. - parseServicezVersion(String) - Static method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Parses the collector version from the zpages
/debug/servicezHTML. - parseTargetInfoVersion(String) - Static method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Parses
service_versionof the Prometheustarget_infoseries. - PartialSuccess(long, String) - Constructor for record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Creates an instance of a
PartialSuccessrecord class. - passed() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns whether no scenario failed.
- PASSED - Enum constant in enum class codes.grow.packages.otelcollector.testing.ConformanceReport.Status
-
Every expectation held.
- path() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the path.
- path() - Method in enum class codes.grow.packages.otelcollector.Signal
-
Lower-case name used in URLs and variable names:
traces,logs,metrics. - pattern(Pattern) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor.Builder
-
Adds a pattern applied to the body and string attribute values.
- PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
HTTP 403: the credentials lack a permission.
- PermissionDeniedException - Exception Class in codes.grow.packages.otelcollector.core
-
The credentials lack a permission (HTTP 403).
- PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.PermissionDeniedException
-
Creates the exception.
- PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.PermissionDeniedException
-
Creates the exception with response details.
- PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.PermissionDeniedException
-
Creates the exception with a cause.
- ping() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Authenticated round trip: an empty OTLP trace export (creates no telemetry) with the configured headers:
POST {tracesUrl}with an empty protobuf body (HTTP) orTraceService/Exportwith a 0-byte message (gRPC). - ping() - Method in interface codes.grow.packages.otelcollector.testing.CoreTarget
-
Performs an authenticated round trip.
- pingAsync() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Asynchronous
OtelCollectorClient.ping(). - PLUGIN_NAME - Static variable in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
-
Plugin element name in
log4j2.xml. - poll(String, Duration) - Method in class codes.grow.packages.otelcollector.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.otelcollector.core
-
Generic polling helper (
pollUntil): used bywaitForLog,waitForTraceand service waiters. - pollInterval(Duration) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Sets the pause between repeated steps (default
ConformanceRunner.DEFAULT_POLL_INTERVAL). - post(String) - Static method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Starts a POST request.
- predicate() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the value of the
predicaterecord component. - prefix(String) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Sets the
${prefix}template (may contain${run}). - process(LogRecord) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Returns a redacted copy of the record.
- processor() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
-
The underlying processor.
- PRODUCER - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"producer". - propagators() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the propagator names.
- propagators() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Propagator names.
- propagators() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
The configured propagators.
- propagators(String...) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the propagators.
- propagators(List<String>) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the propagators (default
tracecontext,baggage). - propagators(List<String>) - Method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.Tracing
-
Resolves propagator names.
- propagatorsExplicit() - Method in class codes.grow.packages.otelcollector.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.otelcollector.OtelCollectorConfig
-
Returns the export protocol (
http/protobufby default). - protocol() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Export protocol.
- protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the export protocol.
- protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the export protocol (
NATIVEis rejected byOtelCollectorConfig.Builder.build()). - protocol(TracingConfig.Protocol) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the export protocol (default
http/protobufunless the service changes it). - protocol(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the export protocol by name:
grpc,http/protobufornative. - protocolExplicit() - Method in class codes.grow.packages.otelcollector.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.otelcollector.core.TransportConfig
-
Returns the proxy URL.
- proxy() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the explicit proxy URL.
- proxy(String) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets an explicit HTTP proxy URL, e.g.
- proxy(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the proxy URL.
- proxy(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets an explicit proxy URL for health, ping and version calls.
- publish(LogRecord) - Method in class codes.grow.packages.otelcollector.logging.GrowJulHandler
- put(String) - Static method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Starts a PUT request.
Q
- query() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the query parameters in insertion order.
- query() - Method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Returns the value of the
queryrecord component. - query() - Method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Returns the value of the
queryrecord component. - query(String, Object) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Adds a query parameter (repeatable).
- QUEUE_FULL - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropReason
-
The queue was full (
"queue_full"). - queued() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns the value of the
queuedrecord component.
R
- random(RandomGenerator) - Method in class codes.grow.packages.otelcollector.core.RetryPolicy.Builder
-
Injects the random source used for jitter (tests).
- RATE_LIMITED - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
HTTP 429.
- RateLimitException - Exception Class in codes.grow.packages.otelcollector.core
-
The service rate-limited the call (HTTP 429); see
OtelCollectorException.retryAfter(). - RateLimitException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.RateLimitException
-
Creates the exception.
- RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.RateLimitException
-
Creates the exception with response details.
- RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.RateLimitException
-
Creates the exception with a cause.
- raw() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
rawrecord component. - reason() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
reasonrecord component. - recordException(Throwable) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Records an exception event on the current span (status unchanged).
- records() - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Returns the value of the
recordsrecord component. - records() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Accepted records in export order.
- REDACTED - Static variable in class codes.grow.packages.otelcollector.core.Redaction
-
Replacement for every redacted value.
- redactFields(Map<String, ?>) - Static method in class codes.grow.packages.otelcollector.core.Redaction
-
Same as
Redaction.redactFields(Map, Collection)without extra keys. - redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.Redaction
-
Returns a copy of multi-valued headers with sensitive values replaced.
- redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.otelcollector.core.Redaction
-
Returns a copy of single-valued headers with sensitive values replaced.
- redaction(RedactionProcessor) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient.Builder
-
Sets the redaction processor;
nulldisables redaction (not recommended). - Redaction - Class in codes.grow.packages.otelcollector.core
-
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
- RedactionProcessor - Class in codes.grow.packages.otelcollector.logging
-
Redacts log records before they are queued.
- RedactionProcessor.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
RedactionProcessor. - redactMap(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor
-
Redacts an attribute map (same rules as for record attributes).
- redactText(String, Collection<String>) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.core.Redaction
-
Redacts user-info passwords and the values of sensitive query parameters in a URL.
- register(ConformanceOps) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Registers (or overrides) operations of a category.
- register(Meter) - Static method in class codes.grow.packages.otelcollector.RuntimeMetrics
-
Registers the runtime metrics on a meter.
- register(AutoCloseable) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Registers a resource closed with the client.
- rejected() - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Returns the value of the
rejectedrecord component. - rejected() - Method in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Returns the value of the
rejectedrecord component. - replacement(String) - Method in class codes.grow.packages.otelcollector.logging.RedactionProcessor.Builder
-
Sets the replacement text.
- REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.otelcollector.core.HttpTransport
-
Response headers that carry a vendor request id, in lookup order.
- requestId() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
requestIdrecord component. - requestId() - Method in exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Returns the vendor request id header of the failed response.
- requestId() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the vendor request id header.
- RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Creates an instance of a
RequestInforecord class. - requestTimeout() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the per-attempt timeout.
- requestTimeout() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the per-attempt timeout of health, ping and version calls.
- requestTimeout(Duration) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the per-attempt timeout of health, ping and version calls (default 30 s).
- requires() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
requiresrecord component. - requires() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns the value of the
requiresrecord component. - reset() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Forgets stored records and statistics (scripted outcomes stay).
- reset() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
-
Forgets exported spans.
- resolve(TracingConfig, OtelCollectorConfig) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
Merges an explicit tracing config over collector defaults.
- resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Resolves a request path and query against the base URL.
- resolveTracesEndpoint(TracingConfig.Protocol, String) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
The traces exporter URL: for
http/protobufan endpoint without a path (a base such ashttp://collector:4318) gets/v1/traces; anything else is used as is. - resource() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
-
Resource attributes added to every record.
- resource() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Resource attributes (
service.name,service.version, …). - resource() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the shared resource (SDK defaults plus detected, configured and service attributes).
- resource(TracingConfig) - Static method in class codes.grow.packages.otelcollector.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(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient.Builder
-
Sets the resource attributes (
service.name,service.version,deployment.environment,host.name, …). - resource(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Replaces all resource attributes.
- RESOURCE_DETECTORS - Static variable in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Every resource detector, in a fixed order (the default).
- resourceAttribute(String, Object) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Adds one resource attribute.
- resourceAttributes() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the resource attributes.
- resourceAttributes() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the resource attributes added to the SDK defaults (detected < configured < service fields).
- resourceAttributes() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Extra resource attributes.
- resourceAttributes(OtelCollectorConfig, ResourceDetector) - Static method in class codes.grow.packages.otelcollector.OtelCollectorTelemetry
-
Resource attributes for a config: detected < configured attributes < service fields (
service.name,service.version,deployment.environment.nameand the olderdeployment.environment). - resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Adds resource attributes (explicit keys win over environment keys).
- resourceAttributes(Map<String, ?>) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Replaces the extra resource attributes.
- resourceDetector(ResourceDetector) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Replaces the resource detector (tests).
- ResourceDetector - Class in codes.grow.packages.otelcollector
-
Best-effort client-side resource detection:
host(host.name,host.arch,os.type,os.version),process(process.pid,process.executable.path,process.runtime.*,process.owner),container(container.idfrom cgroups) andk8s(k8s.pod.name,k8s.namespace.name, … from the downward-API variablesK8S_*/POD_*,HOSTNAMEand the service-account namespace file). - resourceDetectors() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the resource detectors run by
initTelemetry. - resourceDetectors(List<String>) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the resource detectors (
host,process,container,k8s); an empty list disables detection. - ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Creates an instance of a
ResponseInforecord class. - retries() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns the value of the
retriesrecord component. - retry() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the retry policy.
- retry() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the retry policy (health, ping, version; exporter retries derive from it).
- retry(RetryPolicy) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the retry policy (default
RetryPolicy.defaults()). - retryable() - Method in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Returns whether errors with this code are retryable by default.
- retryable() - Method in exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Returns whether retrying the same call may succeed.
- retryAfter() - Method in exception class codes.grow.packages.otelcollector.core.OtelCollectorException
-
Returns the wait the server asked for (
Retry-After). - retryAfterHeaders() - Method in class codes.grow.packages.otelcollector.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.otelcollector.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). - retryBackoff() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Base delay before a repeated export, doubled per attempt (default 200 ms).
- retryBackoff(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchOptions.Builder
-
Sets the base retry delay (doubled per attempt).
- RetryPolicy - Class in codes.grow.packages.otelcollector.core
-
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
- RetryPolicy.Builder - Class in codes.grow.packages.otelcollector.core
-
Builder for
RetryPolicy. - reveal() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Returns the credential as a string.
- revealChars() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Returns a copy of the credential characters.
- root() - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
The first root span (no parent, or a parent outside the trace).
- rootName() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
rootNamerecord component. - rootServiceName() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
rootServiceNamerecord component. - RpcStatus(int, String) - Constructor for record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Creates an instance of a
RpcStatusrecord class. - run() - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Runs every selected scenario.
- run() - Method in interface codes.grow.packages.otelcollector.tracing.ThrowingRunnable
-
Runs.
- run(StepContext) - Method in interface codes.grow.packages.otelcollector.testing.OpHandler
-
Runs the step.
- run(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.otelcollector.tracing.Traced
-
Runs
fnin a new span. - run(String, Callable<T>) - Static method in class codes.grow.packages.otelcollector.tracing.Traced
-
Runs
fnin a new span (seeSpans.withSpan(String, ThrowingSupplier)). - runScenario(Scenario) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Runs one scenario.
- RUNTIME_METER_NAME - Static variable in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Meter name of the JVM runtime metrics.
- runtimeMetrics() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns whether JVM runtime metrics are reported.
- runtimeMetrics(boolean) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Turns JVM runtime metrics on or off (default off).
- runtimeMetrics(boolean) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Overrides the runtime metrics switch.
- RuntimeMetrics - Class in codes.grow.packages.otelcollector
-
JVM runtime metrics (semantic-convention names) observed on every collection:
jvm.memory.usedandjvm.memory.committed(By,jvm.memory.typeheap / non_heap),jvm.thread.count,jvm.class.count,jvm.cpu.time(s),jvm.cpu.recent_utilizationandprocess.uptime(s). - runWithNativeIds(boolean, Runnable) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceIds
-
TraceIds.withNativeIds(boolean, Supplier)for code without a result.
S
- sameValue(Secret) - Method in class codes.grow.packages.otelcollector.core.Secret
-
Compares the values in constant time.
- sampler() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the trace sampler.
- sampler() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Sampler.
- sampler(TracingConfig) - Static method in class codes.grow.packages.otelcollector.tracing.Tracing
-
Builds the sampler.
- sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the trace sampler (default
parentbased_always_on). - sampler(TracingConfig.SamplerType) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the sampler.
- samplerExplicit() - Method in class codes.grow.packages.otelcollector.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.otelcollector.OtelCollectorConfig
-
Returns the ratio of the
*traceidratiosamplers. - samplerRatio() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Ratio of the ratio samplers.
- samplerRatio(double) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the ratio of the
*traceidratiosamplers (default 1). - samplerRatio(double) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the ratio of the ratio samplers.
- samplerRatioExplicit() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Returns whether
TracingConfig.samplerRatio()was set explicitly on the builder (rather than left at the SDK default), so a service package can apply its own default or theOTEL_*environment only when the caller did not choose. - save() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns the value of the
saverecord component. - scenario() - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns the running scenario.
- Scenario - Record Class in codes.grow.packages.otelcollector.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.otelcollector.testing.Scenario
-
Creates a scenario; lists are copied.
- Scenario.Step - Record Class in codes.grow.packages.otelcollector.testing
-
One step of a scenario.
- scenarioDir(Path) - Method in class codes.grow.packages.otelcollector.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.otelcollector.testing.ConformanceReport.ScenarioResult
-
Creates a result; the list is copied.
- scenarios() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns the value of the
scenariosrecord component. - scenarios() - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Returns the scenarios of the categories that have a target, sorted by id.
- scheduledDelay() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns the value of the
scheduledDelayrecord component. - SCOPE - Static variable in class codes.grow.packages.otelcollector.OtlpLogExporter
-
Instrumentation scope of records exported by this class.
- SCOPE - Static variable in class codes.grow.packages.otelcollector.testing.tracing.TracingOps
-
Instrumentation scope of the spans the
spanop creates. - SdkInfo - Class in codes.grow.packages.otelcollector.core
-
Package identity used in the
User-Agentheader. - search() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the value of the
searchrecord component. - search(String) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Searches with default options (limit 100, newest first).
- search(String, SearchOptions) - Method in class codes.grow.packages.otelcollector.CollectorLogQueryClient
-
Always throws.
- search(String, SearchOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Searches records matching a service query (full text or the service's query language).
- search(String, SearchOptions) - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
- searchAsync(String, SearchOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Asynchronous
LogQueryClient.search(String, SearchOptions). - SearchOptions - Class in codes.grow.packages.otelcollector.logging
-
Options of
LogQueryClient.search(java.lang.String, codes.grow.packages.otelcollector.logging.SearchOptions): time range, limit (default 100), order, cursor. - SearchOptions.Builder - Class in codes.grow.packages.otelcollector.logging
-
Builder for
SearchOptions. - searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- searchTraces(TraceSearchQuery) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemoryTraceQueryClient
- searchTraces(TraceSearchQuery) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Searches traces.
- searchTracesAsync(TraceSearchQuery) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.searchTraces(codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - Secret - Class in codes.grow.packages.otelcollector.core
-
A credential held in a
char[]that never prints itself. - send(TransportRequest) - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Executes a request with retries and returns a 2xx (or accepted) response.
- send(LogEntry) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- send(LogEntry) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Enqueues one record or input.
- send(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.otelcollector.tracing.TracedHttpClient
-
Sends synchronously in a client span.
- sendAsync(TransportRequest) - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Executes a request with retries asynchronously.
- sendAsync(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class codes.grow.packages.otelcollector.tracing.TracedHttpClient
-
Sends asynchronously in a client span that ends when the response arrives.
- sendBatch(Collection<? extends LogEntry>) - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- sendBatch(Collection<? extends LogEntry>) - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Enqueues several records or inputs.
- sendJson(TransportRequest) - Method in class codes.grow.packages.otelcollector.core.HttpTransport
-
Convenience: sends a request and decodes the JSON body.
- sent() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns the value of the
sentrecord component. - SERVER - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"server". - serverVersion() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Collector version: the zpages
/debug/servicez"Version" row (works on stock stacks), elseservice_versionoftarget_infoatOtelCollectorConfig.telemetryUrl(). - serverVersion() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Collector version from zpages
/debug/servicez(works on stock stacks), elsetarget_infoattelemetryUrl. - serverVersion() - Method in interface codes.grow.packages.otelcollector.testing.CoreTarget
-
Returns the server version.
- serverVersionAsync() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Asynchronous
CollectorHealthClient.serverVersion(). - serverVersionAsync() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Asynchronous
OtelCollectorClient.serverVersion(). - service() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Service filter.
- service(String) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the service filter.
- serviceName() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns
service.name. - serviceName() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
serviceNamerecord component. - serviceName() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
service.name. - serviceName(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets
service.name. - serviceName(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets
service.name. - serviceName(String) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Sets
${serviceName}(the tracing service name the factory configured). - serviceName(String) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets the service name.
- serviceName(String) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets
service.name. - serviceResource() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Resource attributes of the service:
OtelCollectorConfig.resourceAttributes()plusservice.name,service.versionanddeployment.environment.name. - serviceVersion() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns
service.version. - serviceVersion() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
service.version. - serviceVersion(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets
service.version. - serviceVersion(String) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets
service.version. - setDefaultClient(LogClient) - Static method in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
-
Sets the client used by appenders created from configuration files.
- setError(Span, Throwable) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Records the exception and sets status ERROR on
span. - setError(String) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Sets status ERROR with a message on the current span.
- setError(Throwable) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Records the exception and sets status ERROR on the current span.
- setFailExports(boolean) - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
-
Makes every following export fail (or succeed again).
- setGlobal() - Method in class codes.grow.packages.otelcollector.TelemetryOptions
-
Returns whether the providers are registered as the global OpenTelemetry.
- setGlobal() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Whether
Tracing.initWith(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.tracing.SpanExporterFactory)registers the SDK as the global OpenTelemetry. - setGlobal(boolean) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Registers the providers as the global OpenTelemetry (default true; only one registration per JVM is possible).
- setGlobal(boolean) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Whether to register the SDK globally (default true).
- setLogClient(LogClient) - Method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Sets the destination.
- severity() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Severity (default INFO).
- severity() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Severity.
- severity(Severity) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Sets the severity.
- severity(Severity) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the severity; the severity text follows unless set explicitly.
- Severity - Enum Class in codes.grow.packages.otelcollector.logging
-
Log severity with the OpenTelemetry severity numbers.
- severityOf(Level) - Static method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
-
Maps a Logback level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.otelcollector.logging.GrowJulHandler
-
Maps a JUL level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.otelcollector.logging.GrowLog4j2Appender
-
Maps a Log4j level to a severity.
- severityText() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Severity text (
"TRACE"…"FATAL"or the vendor text). - severityText(String) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets a vendor severity text (defaults to the severity name).
- shutdown() - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker, waiting at most the export timeout.
- shutdown() - Method in interface codes.grow.packages.otelcollector.logging.LogExporter
-
Releases resources.
- shutdown() - Method in class codes.grow.packages.otelcollector.OtlpLogExporter
-
Waits for in-flight exports and releases connections.
- shutdown() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Flushes and shuts every provider down (log client, logger, meter and tracer providers).
- shutdown() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
- shutdown() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
- shutdown() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Flushes and shuts the tracer provider down; idempotent.
- shutdown(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker.
- SHUTDOWN - Enum constant in enum class codes.grow.packages.otelcollector.logging.DropReason
-
The processor was shut down (
"shutdown"). - shutdownAsync() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Asynchronous
TelemetryHandle.shutdown(). - shutdownAsync() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Asynchronous
TracingHandle.shutdown(). - shutdownAsync(Duration) - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Asynchronous
BatchProcessor.shutdown(Duration). - shutdownCount() - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Number of
InMemoryLogExporter.shutdown()calls. - Signal - Enum Class in codes.grow.packages.otelcollector
-
The three OpenTelemetry signals the collector receives.
- signalHeader(Signal, String, String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Adds a header sent only with exports of one signal (merged over
OtelCollectorConfig.Builder.header(java.lang.String, java.lang.String)). - signalHeaders(Signal) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the headers sent only with exports of one signal.
- signalUrl(Signal) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
The OTLP/HTTP URL of a signal: the explicit per-signal URL, else
url + /v1/<signal>. - signalUrl(Signal, String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the full OTLP endpoint of one signal, used as is (no path appended).
- SKIPPED - Enum constant in enum class codes.grow.packages.otelcollector.testing.ConformanceReport.Status
-
A required capability was not declared.
- SortOrder - Enum Class in codes.grow.packages.otelcollector.logging
- sortSpans(List<Span>) - Static method in class codes.grow.packages.otelcollector.tracing.query.Traces
-
Sorts spans by
startMicros, thenspanId. - source(String, String...) - Method in class codes.grow.packages.otelcollector.core.EnvReader
-
Returns the name of the first variable that is set, for error messages.
- span() - Method in record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Returns the value of the
spanrecord component. - Span - Record Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.query.Span
-
Normalises ids, copies collections and checks the times.
- Span.Builder - Class in codes.grow.packages.otelcollector.tracing.query
- Span.Event - Record Class in codes.grow.packages.otelcollector.tracing.query
-
Span event.
- Span.Kind - Enum Class in codes.grow.packages.otelcollector.tracing.query
-
Span kind (wire values are lower case).
- Span.Link - Record Class in codes.grow.packages.otelcollector.tracing.query
-
Span link.
- Span.Status - Record Class in codes.grow.packages.otelcollector.tracing.query
-
Span status.
- Span.StatusCode - Enum Class in codes.grow.packages.otelcollector.tracing.query
-
Status code (wire values are lower case).
- spanCount() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
spanCountrecord component. - SpanDataConverter - Class in codes.grow.packages.otelcollector.testing.tracing
-
Converts OpenTelemetry SDK
SpanDatainto the normalized querySpan. - spanExporterFactory() - Static method in class codes.grow.packages.otelcollector.OtelCollectorTracing
-
The span exporter factory of this preset (see
OtelCollectorTracing.createSpanExporter(codes.grow.packages.otelcollector.tracing.TracingConfig)). - spanExporterFactory(SpanExporterFactory) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Replaces the OTLP span exporter factory.
- SpanExporterFactory - Interface in codes.grow.packages.otelcollector.tracing
-
Creates the span exporter for a
TracingConfig(seeOtlpExporters.factory()). - spanFromJson(JsonNode) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Parses a span from a Jackson tree.
- spanFromJson(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Parses a span.
- spanId() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Span id.
- spanId() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Span id (16 lower-hex).
- spanId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Returns the value of the
spanIdrecord component. - spanId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
spanIdrecord component. - spanId(String) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Sets the span id.
- spanId(String) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the span id (16 hex).
- spanId(String) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.query
-
A span with its children (see
Traces.buildTree(java.util.List<codes.grow.packages.otelcollector.tracing.query.Span>)). - SpanNode(Span, List<SpanNode>) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Copies the children.
- SpanOptions - Class in codes.grow.packages.otelcollector.tracing
-
Options of
Spans.withSpan(java.lang.String, codes.grow.packages.otelcollector.tracing.ThrowingSupplier<T, E>): attributes, kind, links, tracer, parent context. - SpanOptions.Builder - Class in codes.grow.packages.otelcollector.tracing
-
Builder for
SpanOptions. - spans() - Method in class codes.grow.packages.otelcollector.testing.tracing.InMemorySpanExporter
-
Exported spans in export order.
- spans() - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Returns the value of the
spansrecord component. - Spans - Class in codes.grow.packages.otelcollector.tracing
-
Span helpers on top of the OpenTelemetry API.
- spansNamed(String) - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Spans with a given name.
- sslContext() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Builds the SSL context for these options.
- start() - Method in class codes.grow.packages.otelcollector.logging.GrowLogbackAppender
- start() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Range start (inclusive).
- start() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns the value of the
startrecord component. - start() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Range start.
- start(String, SpanOptions) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Starts (but does not end or activate) a span with options.
- start(Instant) - Method in class codes.grow.packages.otelcollector.logging.SearchOptions.Builder
-
Sets the range start.
- start(Instant) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Sets the range start.
- startMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
startMicrosrecord component. - startMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
startMicrosrecord component. - stats() - Method in class codes.grow.packages.otelcollector.logging.BatchingLogClient
- stats() - Method in class codes.grow.packages.otelcollector.logging.BatchProcessor
-
Current counters.
- stats() - Method in interface codes.grow.packages.otelcollector.logging.LogClient
-
Current counters.
- status() - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
statusrecord component. - status() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the HTTP status.
- status() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
statusrecord component. - status(Span.StatusCode, String) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets the status.
- Status(Span.StatusCode, Optional<String>) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Validates the status.
- step() - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns the current step.
- Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Creates a step; the list is copied.
- StepContext - Class in codes.grow.packages.otelcollector.testing
-
Everything an
OpHandlerneeds for one step. - StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Creates an instance of a
StepResultrecord class. - steps() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
stepsrecord component. - steps() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns the value of the
stepsrecord component. - stop() - Method in interface codes.grow.packages.otelcollector.logging.TailHandle
-
Stops the subscription; idempotent.
- store(List<LogRecord>) - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogExporter
-
Stores records as if exported (for outcomes that accept part of a batch).
- string(String, String...) - Method in class codes.grow.packages.otelcollector.core.EnvReader
-
Reads a string.
- stringify(Object) - Static method in class codes.grow.packages.otelcollector.core.Json
-
Encodes a value as a JSON string.
- substitute(String) - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Substitutes
${name}variables in a string. - substitute(String, Map<String, String>) - Static method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Replaces
${name}placeholders; unknown names are kept as they are. - substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.otelcollector.testing.ConformanceRunner
-
Substitutes placeholders in every string (and object key) of a JSON tree.
- success(int) - Static method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
All records accepted.
- summarize(Trace) - Static method in class codes.grow.packages.otelcollector.tracing.query.Traces
-
Summarises a trace.
- summary() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns a multi-line summary listing every scenario.
- system() - Static method in class codes.grow.packages.otelcollector.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover the process environment. - system() - Static method in class codes.grow.packages.otelcollector.ResourceDetector
-
A detector over the process environment and file system.
T
- tag(String, String) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Adds a tag filter.
- tags() - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Tag (attribute) filters.
- tags(Map<String, String>) - Method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery.Builder
-
Adds tag filters.
- tail(String, Consumer<LogRecord>, TailOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Streams new matching records to
onRecorduntil the handle is stopped. - tail(String, Consumer<LogRecord>, TailOptions) - Method in class codes.grow.packages.otelcollector.testing.logging.InMemoryLogQueryClient
- TailHandle - Interface in codes.grow.packages.otelcollector.logging
- TailOptions - Record Class in codes.grow.packages.otelcollector.logging
- TailOptions(Optional<Instant>, Duration, Consumer<Throwable>) - Constructor for record class codes.grow.packages.otelcollector.logging.TailOptions
-
Fills defaults for
nullvalues. - target() - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns the scenario target.
- target(Class<T>) - Method in class codes.grow.packages.otelcollector.testing.StepContext
-
Returns the target cast to a type.
- target(String, TargetFactory) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Sets the target factory of a category; categories without a target do not run.
- TargetFactory - Interface in codes.grow.packages.otelcollector.testing
-
Creates the object a scenario runs against (client, provider, log client, tracing handle).
- TelemetryHandle - Class in codes.grow.packages.otelcollector
-
A running telemetry setup (all three signals) created by
OtelCollectorTelemetry.initTelemetry(). - TelemetryOptions - Class in codes.grow.packages.otelcollector
-
Options of
OtelCollectorTelemetry.initTelemetry(OtelCollectorConfig, TelemetryOptions): per-signal switches over the config, global registration, metric settings and exporter replacements (tests). - TelemetryOptions.Builder - Class in codes.grow.packages.otelcollector
-
Builder of
TelemetryOptions. - telemetryUrl() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the internal telemetry (Prometheus) URL, such as
http://collector:8888/metrics. - telemetryUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the internal telemetry URL.
- telemetryUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the internal telemetry (Prometheus) URL used by
serverVersionas fallback. - text() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
-
Returns the body decoded as UTF-8.
- text() - Method in enum class codes.grow.packages.otelcollector.logging.Severity
-
Returns the canonical severity text (
"TRACE"…"FATAL"). - ThrowingRunnable<E> - Interface in codes.grow.packages.otelcollector.tracing
-
A runnable that may throw.
- ThrowingSupplier<T,
E> - Interface in codes.grow.packages.otelcollector.tracing -
A supplier that may throw.
- timeMicros() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Returns the value of the
timeMicrosrecord component. - timeout() - Method in class codes.grow.packages.otelcollector.core.TransportRequest
-
Returns the per-attempt timeout override.
- timeout() - Method in record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Returns the value of the
timeoutrecord component. - timeout() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns the value of the
timeoutrecord component. - timeout() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns the value of the
timeoutrecord component. - timeout(Duration) - Method in class codes.grow.packages.otelcollector.core.TransportRequest.Builder
-
Overrides the per-attempt timeout for this call.
- TIMEOUT - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Connect, request or total deadline exceeded, HTTP 408 or 504.
- TimeoutException - Exception Class in codes.grow.packages.otelcollector.core
-
A connect, request or total deadline was exceeded (or HTTP 408, 504).
- TimeoutException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.TimeoutException
-
Creates the exception.
- TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.TimeoutException
-
Creates the exception with response details.
- TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.TimeoutException
-
Creates the exception with a cause.
- times(long, long) - Method in class codes.grow.packages.otelcollector.tracing.query.Span.Builder
-
Sets start and end.
- timestamp() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Event time.
- timestamp() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Event time.
- timestamp(long) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Formats epoch microseconds as RFC 3339 UTC.
- timestamp(Instant) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Sets the event time.
- timestamp(Instant) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the event time.
- tls() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
TLS settings of the exporter.
- tls(TlsOptions) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the TLS options; environment TLS variables are then ignored.
- tls(TlsOptions) - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig.Builder
-
Sets the exporter TLS options.
- TlsOptions - Class in codes.grow.packages.otelcollector.core
-
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify. - TlsOptions.Builder - Class in codes.grow.packages.otelcollector.core
-
Builder for
TlsOptions. - toAttrValue(JsonNode) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Converts a JSON tree into attribute values (
AttrValues). - toBuilder() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
-
Returns a builder initialised from this policy.
- toBuilder() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Returns a builder initialised from these options.
- toBuilder() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
-
Returns a builder initialised with these options.
- toBuilder() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Returns a builder initialised with this record's values.
- toBuilder() - Method in class codes.grow.packages.otelcollector.logging.SearchOptions
-
Returns a builder with these values.
- toBuilder() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns a builder with these values (every field counts as explicit).
- toBuilder() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Returns a builder with these values.
- toJson(LogRecord) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Serialises a record to compact JSON.
- toJson(Span) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Serialises a span.
- toJson(Trace) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Serialises a trace.
- toMap(LogRecord) - Static method in class codes.grow.packages.otelcollector.logging.LogRecordJson
-
Returns the wire form as an ordered map of plain JSON values.
- toMap(Span) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Wire form of a span.
- toMap(Trace) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Wire form of a trace.
- toMicros(Instant) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery
-
Converts an instant to epoch microseconds.
- toSpan(SpanData) - Static method in class codes.grow.packages.otelcollector.testing.tracing.SpanDataConverter
-
Converts one span.
- toString() - Method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.otelcollector.core.RetryPolicy
- toString() - Method in class codes.grow.packages.otelcollector.core.Secret
-
Always "[REDACTED]".
- toString() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
- toString() - Method in class codes.grow.packages.otelcollector.core.TransportResponse
- toString() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.otelcollector.logging.BatchOptions
- toString() - Method in record class codes.grow.packages.otelcollector.logging.BatchStats
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.logging.ExportOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.logging.ExportResult
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.otelcollector.logging.LogInput
- toString() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Returns the normalized JSON form (see
LogRecordJson). - toString() - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
- toString() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
- toString() - Method in record class codes.grow.packages.otelcollector.Otlp.PartialSuccess
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.Otlp.RpcStatus
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.ScenarioResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport.StepResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.logging.LoggingTarget
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.Scenario.Step
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.Scenario
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.DependencyLink
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Event
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.SpanNode
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.otelcollector.tracing.TracingConfig.BatchSettings
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.otelcollector.tracing.TracingConfig
-
Header values are redacted when the header name is sensitive.
- total() - Method in record class codes.grow.packages.otelcollector.logging.LogSearchResult
-
Returns the value of the
totalrecord component. - totalTimeout() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the budget of a whole call including retries and backoff.
- totalTimeout() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the total timeout per call including retries.
- totalTimeout(Duration) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the total budget per call.
- totalTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the total timeout.
- totalTimeout(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the total timeout per call including retries (default 120 s).
- toTracingConfig() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
The tracing settings of the traces signal: service fields, resource, endpoint, protocol, headers, sampler, propagators, batch, TLS and compression.
- toTransportConfig() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Translates the common fields into settings of the shared HTTP transport (OTLP base URL, export headers, TLS, retries).
- trace(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at TRACE.
- trace(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at TRACE.
- Trace - Record Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.query.Trace
-
Normalises the id and sorts the spans.
- TRACE - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 1.
- Traced - Class in codes.grow.packages.otelcollector.tracing
-
Tracing of plain functions:
Traced.run(String, Callable)and theTraced.Methodannotation honoured byTracedProxy. - Traced.Method - Annotation Interface in codes.grow.packages.otelcollector.tracing
-
Marks an interface method (or its implementation) to run in a span when called through a
TracedProxy. - TracedHttpClient - Class in codes.grow.packages.otelcollector.tracing
-
Wraps a
HttpClient: every request runs in a client span and carries the propagation headers. - TracedProxy - Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.Spans
-
Log correlation fields of the current span (
trace_id,span_id; snake_case on purpose, the log field convention). - traceFlags() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
W3C trace flags.
- traceFlags(Integer) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the W3C trace flags (0–255).
- traceFromJson(String) - Static method in class codes.grow.packages.otelcollector.tracing.query.TraceJson
-
Parses a trace.
- traceId() - Method in class codes.grow.packages.otelcollector.logging.LogInput
-
Trace id.
- traceId() - Method in class codes.grow.packages.otelcollector.logging.LogRecord
-
Trace id (32 lower-hex).
- traceId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span.Link
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Span
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.otelcollector.tracing.query.Trace
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class codes.grow.packages.otelcollector.tracing.query.TraceSummary
-
Returns the value of the
traceIdrecord component. - traceId(String) - Method in class codes.grow.packages.otelcollector.logging.LogInput.Builder
-
Sets the trace id.
- traceId(String) - Method in class codes.grow.packages.otelcollector.logging.LogRecord.Builder
-
Sets the trace id (32 hex; upper case is accepted, 16 hex is left-padded).
- traceId(String) - Static method in class codes.grow.packages.otelcollector.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.otelcollector.tracing.TracingConfig.SamplerType
-
Sample a ratio of trace ids.
- TraceIds - Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.query
- traceQuery() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Trace query client: the collector has none, every method throws
UnsupportedException. - TraceQueryClient - Interface in codes.grow.packages.otelcollector.tracing.query
-
Reads traces back from the service.
- tracer() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A tracer named after the service.
- tracer() - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions
-
Tracer to use.
- tracer() - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
The tracer the helpers use by default.
- tracer(Tracer) - Method in class codes.grow.packages.otelcollector.tracing.SpanOptions.Builder
-
Sets the tracer.
- tracer(String) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A tracer.
- tracer(String) - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Returns a tracer.
- tracer(String, String) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
A tracer with a scope version.
- tracer(String, String) - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Returns a tracer with a scope version.
- tracerProvider() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the tracer provider (no-op when traces are disabled).
- tracerProvider() - Method in class codes.grow.packages.otelcollector.tracing.TracingHandle
-
The tracer provider.
- traces(boolean) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Turns trace export on or off (default on).
- traces(boolean) - Method in class codes.grow.packages.otelcollector.TelemetryOptions.Builder
-
Turns traces on or off (default: config
tracesEnabled). - Traces - Class in codes.grow.packages.otelcollector.tracing.query
-
Span ordering and tree helpers.
- TRACES - Enum constant in enum class codes.grow.packages.otelcollector.Signal
-
Spans (
/v1/traces,TraceService/Export). - tracesBatch() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the batch span processor settings.
- tracesBatch(TracingConfig.BatchSettings) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the batch span processor settings (
OTEL_BSP_*are then ignored). - TraceSearchQuery - Class in codes.grow.packages.otelcollector.tracing.query
-
Filter of
TraceQueryClient.searchTraces(codes.grow.packages.otelcollector.tracing.query.TraceSearchQuery)(limit defaults to 20). - TraceSearchQuery.Builder - Class in codes.grow.packages.otelcollector.tracing.query
-
Builder for
TraceSearchQuery. - tracesEnabled() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns whether traces are exported.
- TraceSummary - Record Class in codes.grow.packages.otelcollector.tracing.query
-
Search result entry.
- TraceSummary(String, String, String, long, long, int) - Constructor for record class codes.grow.packages.otelcollector.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.otelcollector.tracing.query.TraceSummary
-
Normalises the id and optionals.
- tracing() - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Returns the tracing handle.
- Tracing - Class in codes.grow.packages.otelcollector.tracing
-
Sets up the OpenTelemetry SDK from a
TracingConfig. - TracingConfig - Class in codes.grow.packages.otelcollector.tracing
- TracingConfig.BatchSettings - Record Class in codes.grow.packages.otelcollector.tracing
-
Span batch processor settings.
- TracingConfig.Builder - Class in codes.grow.packages.otelcollector.tracing
-
Builder for
TracingConfig. - TracingConfig.Compression - Enum Class in codes.grow.packages.otelcollector.tracing
-
Export body compression.
- TracingConfig.Protocol - Enum Class in codes.grow.packages.otelcollector.tracing
-
Export protocol.
- TracingConfig.SamplerType - Enum Class in codes.grow.packages.otelcollector.tracing
-
Sampler (OpenTelemetry
OTEL_TRACES_SAMPLERnames). - TracingFilter - Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.TracingFilter
-
Uses the helpers' tracer and propagators (
Tracing.openTelemetry()). - TracingFilter(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.otelcollector.tracing.TracingFilter
-
Uses an explicit tracer and propagators.
- TracingHandle - Class in codes.grow.packages.otelcollector.tracing
-
Running tracing setup returned by
Tracing.initWith(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.tracing.SpanExporterFactory). - TracingHandle(OpenTelemetrySdk, TracingConfig) - Constructor for class codes.grow.packages.otelcollector.tracing.TracingHandle
-
Wraps an OpenTelemetry SDK a service package built itself.
- TracingInterceptor - Class in codes.grow.packages.otelcollector.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.otelcollector.tracing.TracingInterceptor
-
Uses the helpers' tracer and propagators.
- TracingInterceptor(Tracer, ContextPropagators) - Constructor for class codes.grow.packages.otelcollector.tracing.TracingInterceptor
-
Uses an explicit tracer and propagators.
- TracingOps - Class in codes.grow.packages.otelcollector.testing.tracing
-
Conformance operations of the
tracingcategory:span,flush,getTraceUntil,listServices. - TracingOps() - Constructor for class codes.grow.packages.otelcollector.testing.tracing.TracingOps
-
Creates the operations.
- TracingTarget - Record Class in codes.grow.packages.otelcollector.testing.tracing
-
Target of the
tracingconformance scenarios. - TracingTarget(TracingHandle, Optional<TraceQueryClient>) - Constructor for record class codes.grow.packages.otelcollector.testing.tracing.TracingTarget
-
Validates the target.
- transport() - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Returns the HTTP transport (OTLP base URL, export headers), for service modules.
- TransportConfig - Class in codes.grow.packages.otelcollector.core
-
Settings of one
HttpTransport. - TransportConfig.Builder - Class in codes.grow.packages.otelcollector.core
-
Builder for
TransportConfig. - TransportRequest - Class in codes.grow.packages.otelcollector.core
-
One logical HTTP call executed by
HttpTransport(with retries). - TransportRequest.Builder - Class in codes.grow.packages.otelcollector.core
-
Builder for
TransportRequest. - TransportResponse - Class in codes.grow.packages.otelcollector.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.otelcollector.core.TransportResponse
-
Creates a response (used by the transport and by tests).
- tree() - Method in class codes.grow.packages.otelcollector.testing.OpResult
-
Returns the tree view.
- tree(byte[]) - Static method in class codes.grow.packages.otelcollector.core.Json
-
Parses JSON bytes into a tree.
- truncate(String, int) - Static method in class codes.grow.packages.otelcollector.core.Redaction
-
Truncates text to
maxcharacters, appending an ellipsis when cut. - trustManager(TlsOptions) - Static method in class codes.grow.packages.otelcollector.Otlp
-
The trust manager matching
TlsOptions: trust-all forinsecureSkipVerify, the configured CA bundle, else the system default.
U
- UNAVAILABLE - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Network error or HTTP 500, 502, 503.
- UnavailableException - Exception Class in codes.grow.packages.otelcollector.core
-
Network error or HTTP 500, 502, 503.
- UnavailableException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.UnavailableException
-
Creates the exception.
- UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.UnavailableException
-
Creates the exception with response details.
- UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.UnavailableException
-
Creates the exception with a cause.
- unit() - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns the value of the
unitrecord component. - unit(String) - Static method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Options with a unit only.
- unreachable(String) - Static method in record class codes.grow.packages.otelcollector.core.HealthStatus
-
The status for a service that could not be reached.
- UNSET - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.StatusCode
-
"unset". - UNSET - Static variable in record class codes.grow.packages.otelcollector.tracing.query.Span.Status
-
Unset status.
- UNSPECIFIED - Enum constant in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
"unspecified". - UNSUPPORTED - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
A capability the service or deployment does not offer (HTTP 501).
- UnsupportedException - Exception Class in codes.grow.packages.otelcollector.core
-
The service or deployment does not offer this capability (HTTP 501).
- UnsupportedException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.UnsupportedException
-
Creates the exception.
- UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.UnsupportedException
-
Creates the exception with response details.
- UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.UnsupportedException
-
Creates the exception with a cause.
- until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.otelcollector.core.Poll
-
Calls
attempteveryintervaluntil it returns a value ortimeoutpasses. - untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.otelcollector.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. - upDownCounter(String, InstrumentOptions) - Static method in class codes.grow.packages.otelcollector.OtelCollectorMetrics
-
Up/down counter (OTLP non-monotonic
sum) on the global provider. - upDownCounter(String, InstrumentOptions) - Method in class codes.grow.packages.otelcollector.TelemetryHandle
-
Up/down counter (OTLP non-monotonic
sum). - url() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.otelcollector.core.Hooks.RequestInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ResponseInfo
-
Returns the value of the
urlrecord component. - url() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the OTLP/HTTP base URL.
- url(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the OTLP/HTTP base URL.
- url(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the OTLP/HTTP base URL (default
http://127.0.0.1:4318); signal paths are appended. - userAgent() - Static method in class codes.grow.packages.otelcollector.core.SdkInfo
-
Returns the standard user agent:
grow-codes-<key>/<version> (java). - userAgent() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the full
User-Agentheader value. - userAgentSuffix() - Method in class codes.grow.packages.otelcollector.core.TransportConfig
-
Returns the user agent suffix.
- userAgentSuffix() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.otelcollector.core.TransportConfig.Builder
-
Sets the text appended to the standard user agent.
- userAgentSuffix(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the text appended to the
User-Agent.
V
- validate() - Method in class codes.grow.packages.otelcollector.core.TlsOptions
-
Checks that certificate and key come together.
- validate() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Checks URLs, timeouts, protocol, sampler, batch settings, resource detectors and TLS pairs.
- VALIDATION - Enum constant in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
HTTP 400, 413, 422, other 4xx or bad input caught client side.
- ValidationException - Exception Class in codes.grow.packages.otelcollector.core
-
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
- ValidationException(String) - Constructor for exception class codes.grow.packages.otelcollector.core.ValidationException
-
Creates the exception.
- ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.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.otelcollector.core.ValidationException
-
Creates the exception with response details.
- ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.otelcollector.core.ValidationException
-
Creates the exception with a cause.
- value() - Method in class codes.grow.packages.otelcollector.testing.OpResult
-
Returns the wrapped value.
- value() - Element in annotation interface codes.grow.packages.otelcollector.tracing.Traced.Method
-
Span name; empty means
<SimpleInterfaceName>.<method>. - value(Object) - Static method in class codes.grow.packages.otelcollector.OtelValues
-
Converts one normalized value to an OpenTelemetry
AnyValue. - valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.logging.DropPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.logging.DropReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.logging.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.logging.SortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.Signal
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.testing.ConformanceReport.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.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.otelcollector.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.otelcollector.tracing.TracingConfig.Compression
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Protocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class codes.grow.packages.otelcollector.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.otelcollector.logging.DropPolicy
-
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.otelcollector.logging.DropReason
-
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.otelcollector.logging.Severity
-
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.otelcollector.logging.SortOrder
-
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.otelcollector.Signal
-
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.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.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.otelcollector.testing.StepContext
-
Returns a variable (
run,prefix,serviceNameor a saved name). - variable(String, String) - Method in class codes.grow.packages.otelcollector.testing.ConformanceRunner.Builder
-
Sets an extra variable, e.g.
- VERSION - Static variable in class codes.grow.packages.otelcollector.core.SdkInfo
-
Package version (from the Maven build).
- view(Object) - Static method in class codes.grow.packages.otelcollector.testing.Expectations
-
Returns the JSON view of a value used by
equals,contains,typeandsorted.
W
- waitForLog(String) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
LogQueryClient.waitForLog(String, WaitForLogOptions)with defaults. - waitForLog(String, WaitForLogOptions) - Method in class codes.grow.packages.otelcollector.CollectorLogQueryClient
-
Always throws.
- waitForLog(String, WaitForLogOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Polls
LogQueryClient.search(java.lang.String, codes.grow.packages.otelcollector.logging.SearchOptions)until a record matches the query and the predicate. - waitForLogAsync(String, WaitForLogOptions) - Method in interface codes.grow.packages.otelcollector.logging.LogQueryClient
-
Asynchronous
LogQueryClient.waitForLog(String, WaitForLogOptions). - WaitForLogOptions - Record Class in codes.grow.packages.otelcollector.logging
- WaitForLogOptions(Duration, Duration, Predicate<LogRecord>, SearchOptions) - Constructor for record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Fills defaults for
nullvalues. - waitForTrace(String) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
TraceQueryClient.waitForTrace(String, WaitForTraceOptions)with defaults. - waitForTrace(String, WaitForTraceOptions) - Method in class codes.grow.packages.otelcollector.CollectorTraceQueryClient
-
Always throws.
- waitForTrace(String, WaitForTraceOptions) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Polls
TraceQueryClient.getTrace(java.lang.String)until the trace has at leastminSpansspans. - waitForTraceAsync(String, WaitForTraceOptions) - Method in interface codes.grow.packages.otelcollector.tracing.query.TraceQueryClient
-
Asynchronous
TraceQueryClient.waitForTrace(String, WaitForTraceOptions); runs with the caller's id policy (TraceQueryClient.acceptsNativeIds()). - WaitForTraceOptions - Record Class in codes.grow.packages.otelcollector.tracing.query
- WaitForTraceOptions(Duration, Duration, int) - Constructor for record class codes.grow.packages.otelcollector.tracing.query.WaitForTraceOptions
-
Fills defaults for
nulldurations. - waitUntilReady() - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Polls
CollectorHealthClient.health()until the collector is healthy, for at mostCollectorHealthClient.DEFAULT_READY_TIMEOUT. - waitUntilReady(Duration) - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Polls
CollectorHealthClient.health()until the collector is healthy. - waitUntilReady(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Polls
OtelCollectorClient.health()until healthy. - waitUntilReadyAsync(Duration) - Method in class codes.grow.packages.otelcollector.CollectorHealthClient
-
Asynchronous
CollectorHealthClient.waitUntilReady(Duration): no thread blocks between probes. - waitUntilReadyAsync(Duration) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient
-
Asynchronous
OtelCollectorClient.waitUntilReady(Duration). - warn(String) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at warn level without fields.
- warn(String) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, ?>) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, Object>) - Method in interface codes.grow.packages.otelcollector.core.Logger
-
Logs at warn level.
- WARN - Enum constant in enum class codes.grow.packages.otelcollector.logging.Severity
-
OTel severity 13.
- willRetry() - Method in record class codes.grow.packages.otelcollector.core.Hooks.ErrorInfo
-
Returns the value of the
willRetryrecord component. - wireValue() - Method in enum class codes.grow.packages.otelcollector.core.ErrorCode
-
Returns the wire value used in conformance scenarios and JSON.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.logging.DropPolicy
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.logging.DropReason
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.logging.SortOrder
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.tracing.query.Span.Kind
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.tracing.query.Span.StatusCode
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Compression
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.Protocol
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.otelcollector.tracing.TracingConfig.SamplerType
-
Wire value.
- with(ConformanceReport.Status) - Method in record class codes.grow.packages.otelcollector.testing.ConformanceReport
-
Returns the scenarios with a status.
- withBoundaries(List<Double>) - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a copy with histogram bucket boundaries.
- withCount(int) - Method in class codes.grow.packages.otelcollector.testing.OpResult
-
Returns a copy with an explicit count (e.g. the number of spans of a trace).
- withDescription(String) - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a copy with a description.
- withMeter(String) - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a copy that creates the instrument on another meter.
- withMinSeverity(Severity) - Method in class codes.grow.packages.otelcollector.logging.Logger
-
Returns a copy with another minimum severity.
- withNativeIds(boolean, Supplier<T>) - Static method in class codes.grow.packages.otelcollector.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. - withOnError(Consumer<Throwable>) - Method in record class codes.grow.packages.otelcollector.logging.TailOptions
-
Copy with an error callback.
- withPredicate(Predicate<LogRecord>) - Method in record class codes.grow.packages.otelcollector.logging.WaitForLogOptions
-
Copy with a predicate.
- withSpan(String, SpanOptions, ThrowingRunnable<E>) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Runs
fnin a new span with options. - withSpan(String, SpanOptions, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Runs
fnin a new span with options. - withSpan(String, ThrowingRunnable<E>) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Runs
fnin a new internal span. - withSpan(String, ThrowingSupplier<T, E>) - Static method in class codes.grow.packages.otelcollector.tracing.Spans
-
Runs
fnin a new internal span that is current while it runs. - withTree(Map<String, List<String>>) - Method in class codes.grow.packages.otelcollector.testing.OpResult
-
Returns a copy with a parent-name to child-names view (span trees).
- withUnit(String) - Method in record class codes.grow.packages.otelcollector.InstrumentOptions
-
Returns a copy with a unit.
- wrap(HttpClient) - Static method in class codes.grow.packages.otelcollector.tracing.TracedHttpClient
-
Wraps a client using the helpers' tracer and propagators.
- wrap(HttpClient, Tracer, ContextPropagators) - Static method in class codes.grow.packages.otelcollector.tracing.TracedHttpClient
-
Wraps a client with an explicit tracer and propagators.
Z
- zpagesUrl() - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig
-
Returns the zpages base URL (default: host of
OtelCollectorConfig.url(), port 55679). - zpagesUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorClient.Builder
-
Sets the zpages base URL.
- zpagesUrl(String) - Method in class codes.grow.packages.otelcollector.OtelCollectorConfig.Builder
-
Sets the zpages base URL.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form