Uses of Class
codes.grow.packages.datadogapm.tracing.TracingConfig
Packages that use TracingConfig
Package
Description
Grow Codes SDK for Datadog APM.
-
Uses of TracingConfig in codes.grow.packages.datadogapm
Methods in codes.grow.packages.datadogapm that return TracingConfigModifier and TypeMethodDescriptionDatadogTracingHandle.config()The effective tracing config (endpoint, propagators and resource attributes resolved).Methods in codes.grow.packages.datadogapm with parameters of type TracingConfigModifier and TypeMethodDescriptionstatic io.opentelemetry.sdk.trace.export.SpanExporterDatadogTracing.createExporter(TracingConfig config) Creates the span exporter: OTLPhttp/protobuforgrpcto the config's endpoint (default: the local Agent,http://127.0.0.1:4318/v1/tracesorhttp://127.0.0.1:4317), wrapped in aDatadogSpanExporter.DatadogApmClient.initTracing(TracingConfig tracing) DatadogTracing.initTracing(TracingConfig, DatadogApmConfig)with this client's configuration as the defaults (Agent host, OTLP endpoint, service version, env, tags, TLS).static DatadogTracingHandleDatadogTracing.initTracing(TracingConfig config) Sets up OpenTelemetry tracing that exports to the Datadog Agent (SPEC section 5), with the environment (DatadogApmConfig) as defaults for the fieldsconfigleaves unset.static DatadogTracingHandleDatadogTracing.initTracing(TracingConfig config, DatadogApmConfig apm) DatadogTracing.initTracing(TracingConfig)with explicit Agent/service settings instead of the environment. -
Uses of TracingConfig in codes.grow.packages.datadogapm.tracing
Methods in codes.grow.packages.datadogapm.tracing that return TracingConfigModifier and TypeMethodDescriptionTracingConfig.Builder.build()Validates and builds.TracingHandle.config()The config this handle was created from.Methods in codes.grow.packages.datadogapm.tracing with parameters of type TracingConfigModifier and TypeMethodDescriptionstatic io.opentelemetry.sdk.trace.export.SpanExporterOtlpExporters.create(TracingConfig config) Creates an OTLP exporter for the config's protocol.io.opentelemetry.sdk.trace.export.SpanExporterSpanExporterFactory.create(TracingConfig config) Creates the exporter.static StringOtlpExporters.httpEndpoint(TracingConfig config) The HTTP endpoint: the configured URL, with/v1/tracesappended when it has no path.static 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.static io.opentelemetry.sdk.resources.ResourceTracing.resource(TracingConfig config) Builds the resource: SDK defaults plusservice.name,service.version,deployment.environment.name(current semantic conventions) together with the legacydeployment.environment, and the extra resource attributes.static io.opentelemetry.sdk.trace.samplers.SamplerTracing.sampler(TracingConfig config) Builds the sampler.Constructors in codes.grow.packages.datadogapm.tracing with parameters of type TracingConfigModifierConstructorDescriptionTracingHandle(io.opentelemetry.sdk.OpenTelemetrySdk sdk, TracingConfig config) Wraps an OpenTelemetry SDK a service package built itself.