Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

feat(span): make tracer available on span#629

Merged
mayurkale22 merged 3 commits into
census-instrumentation:masterfrom
hekike:feat/tracer-on-span
Jul 17, 2019
Merged

feat(span): make tracer available on span#629
mayurkale22 merged 3 commits into
census-instrumentation:masterfrom
hekike:feat/tracer-on-span

Conversation

@hekike

@hekike hekike commented Jul 13, 2019

Copy link
Copy Markdown
Contributor

Making tracer always available on spans would make it easier to create child spans from existing span instances when you pass your span around.

Further explanation:
open-telemetry/opentelemetry-specification#21

@hekike hekike force-pushed the feat/tracer-on-span branch from b2b19b9 to 5bca0ab Compare July 13, 2019 14:57
*/
private parentSpanIdLocal: string;
/** A tracer object */
tracer: types.TracerBase;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could this be readonly? (Applies to other uses below too)

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.

I changed it

@mayurkale22

Copy link
Copy Markdown
Member

Please update the CHANGELOG with new feat.

@hekike

hekike commented Jul 16, 2019

Copy link
Copy Markdown
Contributor Author

@mayurkale22 I added.

@mayurkale22 mayurkale22 merged commit ad6c0d4 into census-instrumentation:master Jul 17, 2019
@mayurkale22 mayurkale22 added this to the Release 0.0.16 milestone Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants