Repository navigation
com.futureagi:traceai-java-parent 1.3.0
Features
- java-core, javaagent: honor
OTEL_TRACES_SAMPLER/OTEL_TRACES_SAMPLER_ARGin core-owned and auto-agent providers when no explicitFI_SAMPLE_RATE/sample_rateis set; explicit rates use parent-based trace-id sampling. AddTraceConfig.Builder.sampler(Sampler)for manual initialization without changing application-owned providers. Invalid standard settings warn once and use the parent-based rate-one default; parent-based choices now respect unsampled application parents (#711). - java-core, javaagent: on TraceAI-owned providers, sampled spans carry the double attribute
fi.sampling.ratiofor a known partial keep probability (0 < r < 1), and partial ratio decisions writefi=r:<ratio>in W3C tracestate, replacing an existingfientry even in a full tracestate. Parent-based children copy a valid ratio from a sampled local or remote parent'sfientry, at any root rate. An absent attribute means1.0. Roots at rate1, dropped or record-only spans, unknown custom samplers and application-owned providers are not stamped (#713).
Install: Maven com.futureagi:traceai-java-core:1.3.0