@google-cloud/trace-agent
Advanced tools
Changelog
8.0.0 (2024-02-07)
Changelog
7.0.0 (2022-08-10)
clsMechanism: 'none'
, calling Tracer#createChildSpan
will potentially result in a warning, as these spans are considered to be uncorrelated. To ensure that warnings do not occur, disable any plugins that patch modules that create outgoing RPCs (gRPC, HTTP client and database calls). (Use of the custom span API Tracer#createChildSpan
is not recommended in this configuration -- use RootSpan#createChildSpan
instead.)getResponseTraceContext
(input/output has changed from string to TraceContext), createRootSpan
(input RootSpanOptions now accepts a TraceContext instead of a string in the traceContext field), and Span#getTraceContext
(output has changed from string to TraceContext).TraceAgent
has been renamed to Tracer
. In plugins, Patch
has been renamed Monkeypatch
, and Patch
is now Monkeypatch|Intercept
(this is a rename of Instrumentation
). There are no user-visible JS changes.'noPluginName'
in trace-api log messages where pluginName is undefined (#958) (6793b09)