fix(deps): update dependency @google-cloud/trace-agent to v4 #316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0
->^4.0.0
Release Notes
googleapis/cloud-trace-nodejs
v4.0.0
Compare Source
This major release makes the following changes to the package:
BREAKING CHANGES
contextHeaderBehavior
andignoreContextHeader
now act independently of one another, andignoreContextHeader
is no longer deprecated. The former controls how a sampling decision is made based on incoming context header, and the latter controls whether trace context is propagated to the current request. (#1027)clsMechanism: 'none'
, callingTracer#createChildSpan
will potentially result in a warning, as these spans are considered to be uncorrelated. To ensure that warnings do not occur during automatic tracing, disable any plugins that patch modules that create outgoing RPCs. (Use of the custom span APITracer#createChildSpan
is not recommended in this configuration -- useRootSpan#createChildSpan
instead.) (#1033)Tracer#getResponseTraceContext
(input/output has changed from string to TraceContext)Tracer#createRootSpan
(input RootSpanOptions now accepts a TraceContext instead of a string in the traceContext field)Span#getTraceContext
(output has changed from string to TraceContext)If you do not use the custom span API or any of the config options above, there should be no breaking changes.
New Features
tracePolicy
allows users to write their own filters for traces, instead of using the built-insamplingRate
,contextHeaderBehavior
,ignoreMethods
, andignoreUrls
. (#1027)propagation
takes in an OpenCensusPropagation
object. It defaults to the Stackdriver Trace v1 header format exported by the package@opencensus/propagation-stackdriver
; other OpenCensus propagation packages should work as drop-in replacements. (#1029)Bug Fixes
Commits
6b427ab
fix!: always assign a trace ID to each request (#1033)23a990a
fix(deps): update dependency @google-cloud/common to v2 (#1038)1e5278b
chore(deps): update dependency teeny-request to v4 (#1042)f6c080d
chore(deps): update dependency grpc to v1.21.1 (#1037)9c38663
chore(deps): update dependency typescript to ~3.5.0 (#1039)1b18254
chore(deps): update dependency js-green-licenses to v1 (#1041)8a7588c
chore(deps): update dependency axios to ^0.19.0 (#1040)8383ae2
chore: add node 12 ci job (#1002)6838cf7
refactor: drop usage of pify (#1034)2b0a15a
chore: drop dependency on jshint (#1035)d3d0ed9
chore: remove bump and changelog commands (#1036)87e4d26
refactor: upgrade to gts@1 (#1031)4c79b4f
fix(deps): update dependency @opencensus/propagation-stackdriver to v0.0.13 (#1030)28ecb16
feat!: support user-specified context header propagation (#1029)c63bb14
fix(deps): update dependency @google-cloud/datastore to v4 (#1028)b37aa3d
feat!: allow users to specify a trace policy impl (#1027)e956d45
doc: fix grammar (#1026)e672b98
refactor: explicitly assign every internal config field (#1021)244633e
fix(deps): update dependency @google-cloud/common to v1 (#1023)9d3b9e5
fix(deps): update dependency gcp-metadata to v2 (#1022)1e5c9be
chore: stop testing on node 6 in ci (#1024)42a18a5
test: stop querying google.com (#1020)9de51ea
chore(deps): update dependency standard-version to v6 (#1019)1832473
fix: Prevent filtered traces from biasing the sample rate (#1018)2cbf1c2
test: test source map support for stack traces (#1016)c558455
feat: use source-map-support wrapCallSite to apply source maps to call stacks (#1015)b06a5bb
chore(deps): update dependency grpc to v1.20.3 (#1014)6b7f923
chore: fix code coverage, drop ncp (#1013)b6abf76
chore(deps): update dependency retry-axios to v1 (#1003)98f95e3
build!: upgrade engines field to >=8.10.0 (#1011)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.