Uses of Interface
codes.grow.packages.otelcollector.tracing.SpanExporterFactory
Packages that use SpanExporterFactory
Package
Description
Grow Codes SDK for OpenTelemetry Collector.
-
Uses of SpanExporterFactory in codes.grow.packages.otelcollector
Methods in codes.grow.packages.otelcollector that return SpanExporterFactoryModifier and TypeMethodDescriptionstatic SpanExporterFactoryOtelCollectorTracing.spanExporterFactory()The span exporter factory of this preset (seeOtelCollectorTracing.createSpanExporter(codes.grow.packages.otelcollector.tracing.TracingConfig)).Methods in codes.grow.packages.otelcollector with parameters of type SpanExporterFactoryModifier and TypeMethodDescriptionTelemetryOptions.Builder.spanExporterFactory(SpanExporterFactory factory) Replaces the OTLP span exporter factory. -
Uses of SpanExporterFactory in codes.grow.packages.otelcollector.tracing
Methods in codes.grow.packages.otelcollector.tracing that return SpanExporterFactoryModifier and TypeMethodDescriptionstatic SpanExporterFactoryOtlpExporters.factory()Returns a factory that creates an OTLP exporter for the config's protocol.Methods in codes.grow.packages.otelcollector.tracing with parameters of type SpanExporterFactoryModifier 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.