Release v1.11.0
🛑 [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 variableLS_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 variableLS_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) useWithMetricsBuiltinLibraries("all:prestable")
or setLS_METRICS_BUILTIN_LIBRARIES=all:prestable
. #274