yarn newrelic 13.7.0
v13.7.0

3 hours ago

v13.7.0 (2025-12-08)

Features

  • Updated koa instrumentation to properly wrap Router when using @koa/router@15.0.0+ (#3550) (f1e08ad)
  • Added ability to configure a ratio based sampler (#3501) (f300bd5)
    • To assign a ratio based sampler, set config.distributed_tracing.sampler.root, config.distributed_tracing.sampler.remote_parent_sampled, or config.distributed_tracing.sampler.remote_parent_not_sampled to { trace_id_ratio_based: { ratio: <float between 0 and 1> }}
    • To assign via environment variables set NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>='trace_id_ratio_based' and NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>_RATIO=<float between 0 and 1> where <TYPE> is one of ROOT, REMOTE_PARENT_SAMPLED, or REMOTE_PARENT_NOT_SAMPLED
  • Updated configuration to allow adaptive.sampling_target to be set for config.distributed_tracing.sampler.root, config.distributed_tracing.sampler.remote_parent_sampled, and config.distributed_tracing.sampler.remote_parent_not_sampled (#3532) (44f51dd)
  • Added support for OTEL span links (#3528) (e840690)
  • Replaced default with adaptive as the default for samplers (#3543) (3f03162)
  • Preliminary support for partial granularity traces (Not available for production use)
    • Added essential type for partial granularity traces (#3547) (3d85fb5)
    • Added reduced type for partial granularity traces. (#3540) (cfa8f41)
    • Added partial granularity samplers and assign transactions with isPartialTrace when partial granularity sampling decisions have been made (#3544) (1535a82)
    • Refactored samplers into classes and store them on agent.sampler.* (#3527) (ad63441)
    • Updated Samplers class to normalize logger messages, short circuit when applicable and remove optional chaining checks (#3546) (4f7684c)
    • Updated samplers to assign priority between 0-1 when DT is disabled or both full and partial granularity are disabled (#3559) (7a1c37e)
    • Updated transaction to store partial granularity indicator as .partialType (#3561) (a7f20d8)
    • Updated when partial granularity rules are applied (#3553) (a4bdf4f)
    • Added toString and get [Symbol.toStringTag]() to default Sampler class (#3562) (771168d)

Bug fixes

Documentation

Miscellaneous chores

  • Improved logging around preconnect payload
    • Added more logging around assigning hostname during preconnect (#3568) (3ee4d38)
    • Improved GCP utilization logging (#3552) (e6c4141)
  • Utilization resolution is now done concurrently (#3556) (8386360)
  • Collected OTEL instrumentation scope metadata on all OTEL spans. (#3554) (75703c4)
  • Improved OTEL hrtime processing (#3557) (8f187b1)
  • Renamed config opentelemetry_bridge to opentelemetry (#3565) (c9d156f)

Don't miss a new newrelic release

NewReleases is sending notifications on new releases.