Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

initTracer should pass options.traceId128bit#397

Merged
yurishkuro merged 2 commits intojaegertracing:masterfrom
doochik:options-traceId128bit
Sep 16, 2019
Merged

initTracer should pass options.traceId128bit#397
yurishkuro merged 2 commits intojaegertracing:masterfrom
doochik:options-traceId128bit

Conversation

@doochik
Copy link
Copy Markdown
Contributor

@doochik doochik commented Sep 16, 2019

Which problem is this PR solving?

128 bit traceid was added at #361
But I can't do like this
const tracer = require('jaeger-client').initTracer(config, { traceId128bit: true });.

Short description of the changes

  • pass options.traceId128bit to new Tracer

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 16, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@4a35dd1). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #397   +/-   ##
=========================================
  Coverage          ?   98.65%           
=========================================
  Files             ?       50           
  Lines             ?     2010           
  Branches          ?      377           
=========================================
  Hits              ?     1983           
  Misses            ?       27           
  Partials          ?        0
Impacted Files Coverage Δ
src/configuration.js 98.97% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a35dd1...e35fd99. Read the comment docs.

Copy link
Copy Markdown
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

* @param {Object} [options.tags] - set of key-value pairs which will be set
* as process-level tags on the Tracer itself.
* @param {boolean} [options.traceId128bit] - generate root span with a 128bit traceId.
* BaggageRestrictionManager API from ./baggage.js.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this line?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops )
Remove this line

@doochik doochik force-pushed the options-traceId128bit branch from 1ea07ae to ad6ce57 Compare September 16, 2019 17:10
@yurishkuro yurishkuro merged commit c9db520 into jaegertracing:master Sep 16, 2019
@doochik doochik deleted the options-traceId128bit branch April 13, 2021 15:37
Iuriy-Budnikov pushed a commit to agile-pm/jaeger-client-node that referenced this pull request Sep 25, 2021
* fix(plugin-http): ensure no leaks

closes jaegertracing#397

Signed-off-by: Olivier Albertini <[email protected]>

* fix: add @Flarna recommandations

Signed-off-by: Olivier Albertini <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants