Skip to content

Release v1.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Sep 17:58
c9ca848

🛑 [BREAKING] The set of builtin, automatic metrics instrumentation libraries configured by the Launcher is new and improved in this release. To configure the behavior in Launcher versions 1.10.x and prior, use WithMetricsBuiltinLibraries("all:prestable") or set LS_METRICS_BUILTIN_LIBRARIES=all:prestable.

Added

  • Add WithMetricsBuiltinsEnabled() option and environment variable LS_METRICS_BUILTINS_ENABLED, which defaults to true. #265
  • New replacement for go-contrib instrumentation/runtime added as lightstep/instrumentation/runtime. #267
  • New "cputime" instrumentation package combines several related timing metrics, process.cpu.time, process.uptime, and process.runtime.go.gc.cpu.time #269
  • New replacement for go-contrib instrumentation/host added as lightstep/instrumentation/host; same code but removes process metrics #268
  • When metrics builtin libraries are enabled, the WithMetricsBuiltinLibraries() option and environment variable LS_METRICS_BUILTIN_LIBRARIES control which libraries are enabled. By default, the libraries in ./lightstep/instrumentation are selected as stable builtin instrumentation. To configure the former-default builtin libraries (i.e., runtime and host) use WithMetricsBuiltinLibraries("all:prestable") or set LS_METRICS_BUILTIN_LIBRARIES=all:prestable. #274

Changed

  • Update to OTel-Go 1.10.0. #284
  • Avoid repetitive calls to otel.Handle() with error conditions caused by out-of-range metrics input values, including NaN, Inf, and in some cases negative values. These will be handled no more than once per 30 seconds per condition. #272