You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
f35755b: register() accepts sampler and spanLimits, and AlwaysOnSampler, AlwaysOffSampler, ParentBasedSampler, and TraceIdRatioBasedSampler are re-exported. When OTEL_TRACES_SAMPLER, OTEL_TRACES_SAMPLER_ARG, OTEL_SPAN_*, OTEL_ATTRIBUTE_*, or OTEL_BSP_* is set and the matching setting is not configured in code, register() (or, for OTEL_BSP_* with custom processors, the re-exported BatchSpanProcessor) logs one warning per variable, since OpenTelemetry JS 3 ignores them. The re-exported BatchSpanProcessor and SimpleSpanProcessor throw a TypeError when given an exporter positionally instead of { exporter }, rather than dropping every span.