Uses of Class
codes.grow.packages.otelcollector.tracing.TracingHandle
Packages that use TracingHandle
Package
Description
Grow Codes SDK for OpenTelemetry Collector.
-
Uses of TracingHandle in codes.grow.packages.otelcollector
Methods in codes.grow.packages.otelcollector that return TracingHandleModifier and TypeMethodDescriptionOtelCollectorClient.initTracing()Tracing with every setting from this client's config;OtelCollectorClient.close()shuts it down.OtelCollectorClient.initTracing(TracingConfig tracing) Tracing with an explicit config over this client's config (seeOtelCollectorTracing.resolve(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.OtelCollectorConfig));OtelCollectorClient.close()shuts it down.static TracingHandleOtelCollectorTracing.initTracing()Sets up tracing from the environment (GROW_OPENTELEMETRY_COLLECTOR_*,GROW_OTEL_*,OTEL_*).static TracingHandleOtelCollectorTracing.initTracing(OtelCollectorConfig config) Sets up tracing with every setting taken from a collector config.static TracingHandleOtelCollectorTracing.initTracing(TracingConfig config) Sets up tracing with an explicit config over collector defaults from the environment.static TracingHandleOtelCollectorTracing.initTracing(TracingConfig config, OtelCollectorConfig defaults) Sets up tracing with an explicit config over collector defaults (seeOtelCollectorTracing.resolve(codes.grow.packages.otelcollector.tracing.TracingConfig, codes.grow.packages.otelcollector.OtelCollectorConfig)).Methods in codes.grow.packages.otelcollector that return types with arguments of type TracingHandle -
Uses of TracingHandle in codes.grow.packages.otelcollector.testing.tracing
Methods in codes.grow.packages.otelcollector.testing.tracing that return TracingHandleModifier and TypeMethodDescriptionTracingTarget.handle()Returns the value of thehandlerecord component.Methods in codes.grow.packages.otelcollector.testing.tracing with parameters of type TracingHandleModifier and TypeMethodDescriptionstatic TracingTargetTracingTarget.of(TracingHandle handle, TraceQueryClient query) Creates a target.Constructors in codes.grow.packages.otelcollector.testing.tracing with parameters of type TracingHandleModifierConstructorDescriptionTracingTarget(TracingHandle handle, Optional<TraceQueryClient> query) Validates the target. -
Uses of TracingHandle in codes.grow.packages.otelcollector.tracing
Methods in codes.grow.packages.otelcollector.tracing that return TracingHandleModifier and TypeMethodDescriptionstatic TracingHandleTracing.initWith(TracingConfig config, SpanExporterFactory exporterFactory) Builds and starts the tracer provider: resource from the config, sampler, batch span processor and propagators; registers it globally whensetGlobalis true.static TracingHandleTracing.initWith(TracingConfig config, SpanExporterFactory exporterFactory, Map<String, io.opentelemetry.context.propagation.TextMapPropagator> extraPropagators) LikeTracing.initWith(TracingConfig, SpanExporterFactory)with propagators the service package provides (for example"datadog"or"sw8").static TracingHandleTracing.initWith(TracingConfig config, SpanExporterFactory exporterFactory, Map<String, io.opentelemetry.context.propagation.TextMapPropagator> extraPropagators, io.opentelemetry.sdk.trace.samplers.Sampler sampler, List<? extends io.opentelemetry.sdk.trace.SpanProcessor> extraProcessors) LikeTracing.initWith(TracingConfig, SpanExporterFactory, Map)with a sampler override (for example a remote sampler) and extra span processors.