Minor Changes
- f35755b:
register()acceptssamplerandspanLimits, andAlwaysOnSampler,AlwaysOffSampler,ParentBasedSampler, andTraceIdRatioBasedSamplerare re-exported. WhenOTEL_TRACES_SAMPLER,OTEL_TRACES_SAMPLER_ARG,OTEL_SPAN_*,OTEL_ATTRIBUTE_*, orOTEL_BSP_*is set and the matching setting is not configured in code,register()(or, forOTEL_BSP_*with custom processors, the re-exportedBatchSpanProcessor) logs one warning per variable, since OpenTelemetry JS 3 ignores them. The re-exportedBatchSpanProcessorandSimpleSpanProcessorthrow aTypeErrorwhen given an exporter positionally instead of{ exporter }, rather than dropping every span.