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

ddtrace/tracer: add WithUniversalVersion option #1272

Merged
merged 4 commits into from May 3, 2022

Conversation

dianashevchenko
Copy link
Contributor

Removed limitation of having service name match the name defined when starting the tracer for version tracking.

Closes #1161

Removed limitation of having service name match the name defined when starting the tracer for version tracking.
@dianashevchenko dianashevchenko requested a review from a team May 2, 2022 20:39
@dianashevchenko dianashevchenko added this to the 1.39.0 milestone May 2, 2022
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

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

Just some naming and documentation suggestions.
The rest looks good.

ddtrace/tracer/option.go Outdated Show resolved Hide resolved
ddtrace/tracer/option.go Outdated Show resolved Hide resolved
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

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

Looks great.

@dianashevchenko dianashevchenko merged commit 0b70675 into v1 May 3, 2022
@dianashevchenko dianashevchenko deleted the shevchenko/service-name-match branch May 3, 2022 19:37
@xrn
Copy link

xrn commented May 9, 2022

I do not get this PR - title is saying that work is on WithServiceNameMatch and then code is changing WithUniversalVersion - can someone explain?

@dianashevchenko dianashevchenko changed the title ddtrace/tracer: add WithServiceNameMatch option ddtrace/tracer: add WithUniversalVersion option May 9, 2022
@dianashevchenko
Copy link
Contributor Author

@xrn sorry for confusion, I updated the PR name. Since the change concerned setting version tag on the span, it was resolved to rename the option to WithUniversalVersion, which makes more sense. With this option, version span tag will be set on all the spans. Hope that helps 🙌

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.

None yet

3 participants