Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @google-cloud/trace-agent to the latest version 馃殌 #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 5, 2019

The dependency @google-cloud/trace-agent was updated from 3.6.1 to 4.0.0.

This version is not covered by your current version range.

If you don鈥檛 accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v4.0.0

This major release makes the following changes to the package:

BREAKING CHANGES

  • Node 6 is no longer supported.
  • Changes in config options: Users that use the following config options may see changes:
    • Config options contextHeaderBehavior and ignoreContextHeader now act independently of one another, and ignoreContextHeader 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)
    • When initialized with 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 during automatic tracing, disable any plugins that patch modules that create outgoing RPCs. (Use of the custom span API Tracer#createChildSpan is not recommended in this configuration -- use RootSpan#createChildSpan instead.) (#1033)
  • Changes in the custom span API: APIs that assume a particular format for trace context headers have been modified or removed; in other words, any place where the user would deal with a stringified trace context, they would now deal with a TraceContext object instead. (#1029) This affects three APIs:
    • 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

  • Call stacks on traces now show pre-transpiled file/line numbers based on source maps. (#1015)
  • Arbitrary tracing policy is now supported: the new config option tracePolicy allows users to write their own filters for traces, instead of using the built-in samplingRate, contextHeaderBehavior, ignoreMethods, and ignoreUrls. (#1027)
  • Arbitrary HTTP trace header propagation is now supported: the new config option propagation takes in an OpenCensus Propagation 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)
  • Every trace object now contains a trace and span ID, even if they were not sampled. (#1033)

Bug Fixes

  • Requests to ignored URLs / with ignored methods no longer affect the frequency of sampled requests (they used to be factored in when sampling, causing un-filtered requests to potentially get sampled out erroneously). (#1018)

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)

Commits

The new version differs by 31 commits.

  • 230e21e chore: 4.0.0 release proposal (#1043)
  • 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)

There are 31 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don鈥檛 help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 馃尨

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2019

Update to this version instead 馃殌

Release Notes for v4.0.1

This release fixes a bug introduced in v4.0.0 where authentication credentials from the user configuration object wouldn't be read (#1048).

Commits

e3f763c refactor: use the shared prettier config (#1055)
0d954a1 chore: add github issue templates (#1054)
8930df3 fix: copy credentials in internal config (#1052)

Commits

The new version differs by 9 commits.

  • 6396d1c chore: 4.0.1 release proposal (#1053)
  • e3f763c refactor: use the shared prettier config (#1055)
  • 0d954a1 chore: add github issue templates (#1054)
  • 8930df3 fix: copy credentials in internal config (#1052)
  • 178c2a9 chore(deps): update dependency @compodoc/compodoc to v1.1.9 (#1051)
  • 3815d7c docs: add doc generation and testing (#1050)
  • 08a1dd6 fix(deps): update dependency @opencensus/propagation-stackdriver to v0.0.14 (#1045)
  • 0f0c916 chore(deps): update dependency @google-cloud/trace-agent to v4 (#1047)
  • a64907c doc: remove references to old versions of Node in README.md (#1046)

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 18, 2019

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Aug 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 5, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 10, 2019

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Oct 3, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 3, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 14, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 11, 2019

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Dec 6, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 6, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 6, 2020

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants