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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core Tracing] Add plugin type to tracer interface #4668

Merged
merged 3 commits into from
Aug 5, 2019

Conversation

ramya-rao-a
Copy link
Contributor

This PR adds a property to the Tracer interface to identify the plugin type being used.

This is useful when trying to decide whether or not tracer context should be added to the headers for a request

@ramya-rao-a ramya-rao-a requested review from bterlson and chradek August 5, 2019 19:47

export class TracerNoOpImpl implements Tracer {
public get pluginType() : SupportedPlugins {
Copy link
Member

Choose a reason for hiding this comment

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

Why is this a getter?

Copy link
Member

Choose a reason for hiding this comment

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

readonly field would probably be more appropriate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed with 66e6792

@ramya-rao-a ramya-rao-a dismissed bterlson’s stale review August 5, 2019 20:02

Comment has been addressed

@ramya-rao-a ramya-rao-a merged commit 3ee869f into Azure:master Aug 5, 2019
@ramya-rao-a ramya-rao-a deleted the tracer-type branch August 5, 2019 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants